How to build for iOS while target includes a Mac-only package?

175 views Asked by At

I am trying to build a multi-platform app and have used the Sparkle framework in the project for the macOS platform. However, Xcode is giving me the error While building for iOS, no library for this platform was found in '.../Sparkle.xcframework', even though I have marked Sparkle as for macOS in the Frameworks, Libraries, and Embedded Content section.

enter image description here

1

There are 1 answers

1
AudioBubble On
  • Targets >> Build phases >> Link Binary with Libraries >> Sparkle
  • You have to change platform like this

You have to try this