-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build for simulator on M1 Mac #77
Comments
Can you add more details please? What installation method are you using, what package manager/Xcode is used etc. I found a bunch of related issues, ReactiveX/RxSwift#2262, apollographql/apollo-ios#1485, but I don't see definitive solution in those. Setting Unfortunately, I also don't have M1 Mac, so cannot test those myself, would love some help from your side, were you able to use some other libraries/frameworks with your setup? |
Sure
I’m using Xcode 12.2 & Installing via SPM. Building for physical devices
works fine however I only receive a build failure when building for
simulator devices.
I use multiple libraries in my project including
https://github.com/bstillitano/Scyther.
I have set the only_active_arch to NO and this, as you said, causes build
failures unfortunately.
…On Tue, 9 Mar 2021 at 10:08 pm, Denys Telezhkin ***@***.***> wrote:
Can you add more details please? What installation method are you using,
what package manager/Xcode is used etc.
I found a bunch of related issues, ReactiveX/RxSwift#2262
<ReactiveX/RxSwift#2262>,
apollographql/apollo-ios#1485
<apollographql/apollo-ios#1485>, but I don't
see definitive solution in those. Setting ONLY_ACTIVE_ARCH to NO leads to
build failures in DTModelStorage, so it does not seem like a proper
solution.
Unfortunately, I also don't have M1 Mac, so cannot test those myself,
would love some help from your side, were you able to use some other
libraries/frameworks with your setup?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#77 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJVMONSBQGW2CSTCT4FOYF3TCX6SDANCNFSM4Y2JIZNA>
.
|
I tested the same settings on MacOS Big Sur (Intel) and Xcode 12.5 Beta 3, and changing I'm going to leave this issue open, as it seems some projects are unaffected by this build failure, but I have no idea how to fix this in If you have any ideas how to work around this build failure, please let me know. |
When trying to build for simulator devices on an M1 mac, I get the following error:
Could not find module 'DTModelStorage' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator
I am able to build and run on real devices as well as archive my project.
The text was updated successfully, but these errors were encountered: