-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Error building on an iPhone 6: missing required architecture arm64 #32
Comments
I think this might be to do with where I'm getting the build framework from. After I've built the project where should I be accessing the framework from? |
Ok so Product => Archive seems to create an xcarchive, but no framework? Using the debug build version works but then I can't build for simulator. I need to make a universal framework so I can test on simulator and device. |
According to https://gkbrown.org/2017/10/11/creating-a-universal-framework-in-xcode-9/, the only way to build a single framework that contains both simulator and device versions is to build the project twice and combine them with a script. I usually have an Xcode workspace that contains my main app's project and also the JotUI project, and then add the JotUI to the main project's linked frameworks. Then Xcode will re-build JotUI depending on the target I needed. |
I have got the code working on the iPhone simulator, but when building for my iPhone it gives the following error:
I'm guessing the framework needs to be built for arm64 but I'm not sure how to do that? Does that require the code to be updated in the framework or can I fix this by doing something else?
Thanks!
The text was updated successfully, but these errors were encountered: