1

I make universal frame only in iOS but I am getting above error while run in Simulator. building for ios simulator, but the linked and embedded framework .framework' was built for ios.

Kannan
  • 11
  • 1
  • 3
  • Does this answer your question? [Xcode 12.3: Building for iOS Simulator, but the linked and embedded framework was built for iOS + iOS Simulator](https://stackoverflow.com/questions/65303304/xcode-12-3-building-for-ios-simulator-but-the-linked-and-embedded-framework-wa) – vincent Mar 02 '21 at 07:31

3 Answers3

0

Please check if your framework's target contains the Supported platforms of both iphonesimulator (for Simulator) and iphoneos (for devices), in Build Settings > Architecture

Here's an example: Example

vincent
  • 227
  • 2
  • 13
0

Please try to set VALID_ARCHS

Add new user defined variable in:

Build Phase > User defined

And add different Arc in Debug and Release.

Pankaj bhalala
  • 163
  • 1
  • 11
0

You can also try with set Debug and Release value:

Build Active Architecture only

Pankaj bhalala
  • 163
  • 1
  • 11