Moya
Moya copied to clipboard
Could not find module 'Moya' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64
How to fixed error Could not find module 'Moya' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64 on simulator ios 14 ?
This issue has been marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Same issue on Xcode 12
This issue has been marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Same issue on Xcode 12.4
I solve the problem by adding 'x86_64' to VALID_ARCHS (Project > Build Settings)
This issue has been marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Same issue on M1 when using SPM, none of the known solutions except Rosetta simulation work. Apple provides documentation on the issue here: https://developer.apple.com/documentation/technotes/tn3117-resolving-build-errors-for-apple-silicon#Update-pre-compiled-libraries-from-vendors Please have a look, this can only be fixed by the package owner. Thanks in advance.
I have this issue with M2 Pro MacBook. Error message reads: "Could not find module 'Moya' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator"
Running through Rosetta works, but I feel like this should be fixed from the library's side. Any suggestions for a workaround?
I have this issue with M2 Pro MacBook. Error message reads: "Could not find module 'Moya' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator"
Running through Rosetta works, but I feel like this should be fixed from the library's side. Any suggestions for a workaround?
Yes, the same issue on latest M2 Pro macbook
We use Moya as SPM dependency. All of us are on M1 Pro macbooks. Moya ver. 15.0.0. No issues. No Rosseta. Everything is running natively.
Yes, the same issue on latest M1 Pro macbook
Same issue on M1 Macbook Air
Considering that Moya is delivered in source form, compilation to whatever architecture depends only on your project setup. In the project build settings, check if you have standard architectures in architectures, and in exclude architectures you have nothing. Certainly not arm64 in exclude. Each of your dependency should be like that.
Only problem you can have is when you are using already compiled framework and that framework is missing arm64 chunk.