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.
Asked
Active
Viewed 4,457 times
1
-
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 Answers
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

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