Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.3.X
Votes
0
Found in
2019.4
2019.4.9f1
2020.2
Issue ID
1276317
Regression
No
[Xcode] [macOS] .bundle plugins are not signed in Xcode projects
How to reproduce:
1. Open the attached 'MacXcode.zip' project
2. Switch to IL2CPP Scripting Backend in Player Settings
3. Go to Build Settings and check Create Xcode Project flag
4. Select Intel 64 - bit architecture
5. Build the project
6. Run the Xcode project
Expected result: .bundle plugins are signed in Xcode project(2019.4.11f1, 2020.1.7f1, 2020.2.0b4) and build succeeds (2019.4.11f1,2020.1.7f1)
Actual result: .bundle plugins are not signed in Xcode project(2019.4.11f1, 2020.1.7f1, 2020.2.0b4),errors are thrown to the console and build fails(2019.4.11f1, 2020.1.7f1)
Reproducible with: 2019.4.11f1, 2020.1.7f1, 2020.2.0b4
Could not test with 2018.4 because Xcode builds for Mac are not supported
Notes:
- Detailed note from the customer is left in the Edit
- Not a duplicate of 1237217
- Reproducible on macOS 10.15.3 Catalina, macOS 10.15.6 Catalina, macOS 11.0 Beta Big Sur
- Screenshots of the issue are attached in Edit
- Error thrown to the Console:
CodeSign /Users/customer/Library/Developer/Xcode/DerivedData/MacXcode-ddporllwmsqitcfnqhidpczffuop/Build/Intermediates.noindex/ArchiveIntermediates/MacXcode/InstallationBuildProductsLocation/Applications/MacXcode.app/Contents/PlugIns
cd /Users/customer/Desktop/bbb/MacXcode/Build
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
Signing Identity: "-"
/usr/bin/codesign --force --sign - --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/jason/Library/Developer/Xcode/DerivedData/MacXcode-ddporllwmsqitcfnqhidpczffuop/Build/Intermediates.noindex/ArchiveIntermediates/MacXcode/InstallationBuildProductsLocation/Applications/MacXcode.app/Contents/PlugIns
Comments (1)
-
jason_yak
Mar 12, 2021 04:03
While this fix correctly adds the missing copy file phase and adds bundles marked to be signed, it has introduced a new compiler error where windows based DLL files are being swept up and incorrectly added to copy phase as well which should not be there and cause the xcode compiler to fail.
It's easily replicated in a new empty project by compiling with 2020.3.0, Rewired plugin added, build target set to Mac and create xcode project ticked in build settings. Trying to compile in the generated xcode project and it will fail to compile.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI becomes unresponsive when using AppUI Navigation and Event System is attached
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.0f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.25f1