Skip to content
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

build.sh in project template for Solar2D Native — iOS fails out of the box #120

Closed
enigmathix opened this issue Oct 31, 2022 · 2 comments

Comments

@enigmathix
Copy link

enigmathix commented Oct 31, 2022

To reproduce:
Follow first instruction from this page: https://docs.coronalabs.com/native/ios/index.html
Within the /Applications/Corona/Native/ folder, double click Setup Corona Native. This will create the symbolic link required for the project templates

Copy that template, and run build.sh. It fails with this error:

fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: /path_to_app/App/ios/build/Release-iphoneos/libplugin_library.a and /path_to_app/App/ios/build/Release-iphonesimulator/libplugin_library.a have the same architectures (arm64) and can't be in the same fat output file

This is Corona version 3677 with Xcode 12.1.

@enigmathix
Copy link
Author

Possible solution: Plugin.xcodeproj Build Settings:
Architectures:
Excluded Architectures:
Debug/Release:
Any iOS Simulator SDK: arm64

@Shchvova
Copy link
Contributor

Shchvova commented Nov 6, 2022

Thanks! It'll be in next build. Here's a script if you want to get it sooner: https://github.com/coronalabs/submodule-native/blob/master/contents/Project%20Template/App/ios/build.sh

@Shchvova Shchvova closed this as completed Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants