简体   繁体   中英

building for ios simulator, but the linked and embedded framework .framework' was built for ios

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.

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: 例子

Please try to set VALID_ARCHS

Add new user defined variable in:

Build Phase > User defined

And add different Arc in Debug and Release .

You can also try with set Debug and Release value:

Build Active Architecture only

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM