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

fix: broken code signing #208

Closed
wants to merge 1 commit into from

Conversation

okwasniewski
Copy link
Contributor

@okwasniewski okwasniewski commented Jul 18, 2024

I've integrated ios-cmake from the latest commit into https://github.com/BabylonJS/BabylonNative Playground app generation and after this commit: b65d894 code signing stoped working on real devices. Unsettling this makes the app work as expected again.

This is the error I was getting: BabylonJS/BabylonNative#1404

I couldn't find any reason this change was introduced (it was just pushed to main) maybe I'm missing something but I think it shouldn't be the default option as it breaks the builds.

@kambala-decapitator
Copy link

this change is needed to build libs / frameworks or e.g. to build app without signing

in your case you should set the same property on your app target to YES

@leetal
Copy link
Owner

leetal commented Jul 18, 2024

As @kambala-decapitator said, the reason for adding this to the toolchain was that it fixes more issues than it creates. If you need code signing, just add it to your own CMakeLists.txt or as an argument -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=YES to your build.

@leetal leetal closed this Jul 18, 2024
@okwasniewski
Copy link
Contributor Author

Thanks for the explanation! I think it might be worth mentioning in the release notes (once you release the next version).

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

Successfully merging this pull request may close these issues.

3 participants