Custom library/framework with ARCHS = $(ARCHS_STANDARD) not running in iOS simulator

We have one custom library/framework with ARCHS = $(ARCHS_STANDARD) under build settings. I export the library/framework with "Any iOS device" target and export the library/framework.

But when we try to integrate this custom library/framework in to another project ( M1 with xcode 14.2 with rosetta enabled ) its not running in iOS simulator. Getting error like. :

Unsupported Swift architecture

Note : Its running fine in real device.

M1 with xcode 14.2 with rosetta enabled

What does this mean? Are you running Xcode under Rosetta? Or something else?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hi @eskimo I am using m1 mac with xcode 14.3.1 And i selecting the rosetta enabled simulator from product > destination > destination architecture > show both then i can able to select the rosetta simulator.

the problem is when i run on rosetta simulator the mentioned error is happenig on ios-arm64 slice xcframework header .h file. I am running on rosetta simulator and i added excluded architecture as arm64. then also its fails to compile from my ios-arm64_x86_64-simulator SLICE. its still taking from ios-arm64


CustomFramework.xcframework

- ios-arm64
-  ios-arm64_x86_64-simulator
- Info.plist
Custom library/framework with ARCHS = $(ARCHS_STANDARD) not running in iOS simulator
 
 
Q