Skip to content

Conversation

@jbattersby-gg
Copy link

Unity provides convenient methods for acquiring the entitlements file in Apple projects. The current version incorrectly appends the product name to the existing entitlements path and can't be found by the resulting Xcode project

Andrew-Grabish-HypGames pushed a commit to HypGamesOrlando/unityplugins that referenced this pull request Sep 17, 2024
To more easily integrate into developer CI systems, deferring code signing until the generated Xcode project is being built is ideal. To support this, I've updated the shell script that embeds libraries to also code sign binaries when embedding. Importantly, this final code sign step will use the same code signing identity that developers configure the generated Xcode project to use. This ensures that the code signing identity used for the rest of the app is also used to sign the native libraries copied into the generated Xcode project by Apple.Core.

So now developers can:

1. Build and sign libraries when they build with build.py, if they choose. This allows down stream consumers of the plug-ins to validate binary origin.
2. Consume plug-in libraries in their projects without having to pay attention to code signing identity; all libraries will automatically be re-signed with the code signing identity used by Xcode when building the generated Xcode project.
@ryzngard ryzngard self-assigned this Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants