iOS App to MacOS App - (build failed using custom framework)

Viewed 981

Trying to run my iOS app as MacOS App, Unfortunately i'm getting following error:

“.xcodeproj Building for Mac Catalyst, but the linked and embedded framework 'EasyContact.framework' was built for iOS + iOS Simulator. You may need to restrict the platforms for which this framework should be linked and embedded in the target editor, or replace it with an XCFramework that supports both platforms.“

My Steps:

  1. Building EasyContact.framework:
    • (Generic iOS device)
    • Architectures: armv7s, armv7, arm64, arm64e, x86_64, x86_64h.
    • Mac target is checked.
    • Build successfully.

enter image description here

enter image description here

  1. My iOS App: (Build Error)
    • Architectures: armv7s, armv7, arm64, arm64e, x86_64, x86_64h.
    • Mac target is checked.
    • Build Error. enter image description here

SYSTEM:

  • MacOS Catalina 10.15.3v
  • xCode 11

Am I missing something?

0 Answers
Related