fermoya / SwiftUIPager

Native Pager in SwiftUI
MIT License
1.28k stars 171 forks source link

Could not find module 'SwiftUIPager' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator on macbook m1 #227

Closed carmelogallo closed 3 years ago

carmelogallo commented 3 years ago

Hi there!

Using SPM with a MacBook Pro M1 I'm facing this issue:

Could not find module 'SwiftUIPager' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator

In base of this answer seems that you need to re-release with "build active architecture only" set to "No" for both Debug & Release. https://github.com/airbnb/lottie-ios/issues/1293#issuecomment-855416295

Could you release a new version with that setting?

Thanks

fermoya commented 3 years ago

Hi @cikpis , have you checked the follow-up comment from the same user? Seems like it's a user-side issue:

https://github.com/airbnb/lottie-ios/issues/1293#issuecomment-855423580

fermoya commented 3 years ago

Another workaround seems to be here:

https://developer.apple.com/forums/thread/123614

Just by opening Xcode with Rosetta.