You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not find module 'BLTNBoard' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator, at: .../Build/Products/Debug-iphonesimulator/BLTNBoard.swiftmodule
#206
Closed
neobeppe opened this issue
Jan 4, 2022
· 1 comment
Thats not related with this repository. But here is an ultimate guide about that :)
I think you also use CocoaPods and some of your dependencies may exclude arm64 architectures or marks x86_64 as the only valid architecture on simulator.
EXCLUDED_ARCHS[sdk=iphonesimulator*] = arm64
or
VALID_ARCHS[sdk=iphonesimulator*] = x86_64
you can search your dependencies pod specs with: pod spec cat AppLovinSDK
or `pod spec cat TikTokOpenSDK`
If this is valid than xCode does compiles your dependencies with x86_64 arch (which forces your simulator to launch on top of rosetta2), in other words; you're running your simulator apps with rosetta2 support. Unfortunately you can't tell SPM which archs to exclude. You have two options here;
Be sure that all your static cocoapods dependencies support for arm64-sim slices.
just use cocoapods, it will exclude arm64 and compile with x86_64 support.
Problem Description:
BLTNBoard not building on simulator with M1 Mac
Steps to reproduce:
On M1 Mac try to build project importing BLTNBoard via SPM
Environment:
The text was updated successfully, but these errors were encountered: