Search Issue Tracker
Fixed
Fixed in 2021.3.31f1, 2022.3.10f1, 2023.1.15f1, 2023.2.0b12, 7000.0.0a1
Votes
60
Found in
2022.3.7f1
2023.1.9f1
2023.2.0b5
Issue ID
UUM-46899
Regression
No
Building projects with IL2CPP scripting backend for Apple platforms fails with Xcode 15.0b6 or newer
Xcode >= 15.0b6 contains a change to the "ProductName" in the "version.plist", which Unity will fail to parse. Because of that, Unity is not able to use this or newer version of Xcode to compile code for IL2CPP for macOS and iOS.
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
- Asset Bundles retain their previous hash and CRC values when an object within a bundle is changed and rebuilt
- APV Reflection Probe Normalization breaks when SSGI is enabled
- Default Custom Components in project have Library counterparts
- [iOS]"The destination host has an erroneous SSL certificate" error is thrown when using UnityWebRequest to connect to the server with a self-signed certificate
- Freeze/crash on DynamicHeapAllocator::Allocate when opening a specific project
nnoom1986
Oct 22, 2023 05:46
I don't believe this issue is resolved, as I'm still experiencing it in Xcode 15.0.1 and Unity 2022.3.11f1.
waldgeist
Oct 02, 2023 15:58
I have updated Unity to 2022.3.10f1 and am still getting this error?
Assertion failed: (false && "compact unwind compressed function offset doesn't fit in 24 bits"), function operator(), file Layout.cpp, line 5758.
elliselkins
Sep 27, 2023 14:16
I was having this issue when I built to iOS with Unity 2023.1.14. I installed 2023.1.15f1 and built to iOS and I don't see this issue now.
Masashi-Wada
Sep 27, 2023 13:25
Same problem, cannot build to iOS. Unity 2022.3.10 on Intel MacMini(2020)
It's a different error when using 2022.3.9.
Uink UnityFramework(arm64)
ld: Assertion failed: (false && "compact unwind compressed function offset doesn't fit in 24 bits"), function operator(), file Layout.cpp, line 5758.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Assertion failed: (false && "compact unwind compressed function offset doesn't fit in 24 bits"), function operator(), file Layout.cpp, line 5758.
Linker command failed with exit code 1 (use -v to see invocation)
NickMcLaren
Sep 25, 2023 18:38
I do hope that this will actually be implemented in 2023.1.15f1, as it currently shows a status of "Fix in Review". With 2023.1.15f1 due this week, it would be nice to have this behind us.
danilo_unity17
Sep 25, 2023 16:18
So My good people, here is how to solve for now
1) DOwnload Xcode 14.3.1 from apple
https://developer.apple.com/download/all/?q=xcode%2014
put it ALONGSIDE xcode 15
2) change the postprocess script to add this
var pbxProject = new PBXProject();
pbxProject.ReadFromFile(projectPath);
//Unity Framework
target = pbxProject.GetUnityFrameworkTargetGuid();
pbxProject.AddBuildProperty(target, "OTHER_LDFLAGS", "-ld_classic");
I have no idea why xcode 14 (or maybe even 15 beta) need to be there, but it only works when its there
justindpnt
Sep 23, 2023 07:26
It would be great if this was fixed, it completely blocks development. If you are trying to build on the new iphone 15, none of the work arounds worked for me.
FriendlyBulletGamesOfficial
Sep 22, 2023 21:09
Dropping XCode 15 beta 5 into the /Applications folder and using the regular XCode work fine as a fix
drewjosh
Sep 22, 2023 16:12
I just found a workaround in the previously linked forum thread, I summarized it here: https://forum.unity.com/threads/project-wont-build-using-xode15-release-candidate.1491761/#post-9355667
Hope it works for your problems
drewjosh
Sep 22, 2023 15:43
Same problem here, cannot build to iOS anymore. Unity 2022.3.10 on Mac Book M1 Max
I get two errors:
-Linker command failed with exit code 1 (use -v to see invocation)
-Assertion failed: (false && "compact unwind compressed function offset doesn't fit in 24 bits"), function operator(), file Layout.cpp, line 5758.