-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix iOS builds after the unity upgrade (#733)
Set -ld_classic via fastfile Online sources suggest that the following change should also work, but I saw that it wasn't being passed to the link call. So we'll do it this way. diff --git a/Assets/Editor/BuildTiltBrush.cs b/Assets/Editor/BuildTiltBrush.cs index 8e5652fc..314d0eba 100644 --- a/Assets/Editor/BuildTiltBrush.cs +++ b/Assets/Editor/BuildTiltBrush.cs @@ -1824,6 +1824,9 @@ static class BuildTiltBrush // TODO:Mikesky - I've disabled this disable, does bitcode work now? //project.SetBuildProperty(pbxTarget, "ENABLE_BITCODE", "false"); + // Starting with the upgrade to Unity 2023, this seems to be required + project.AddBuildProperty(pbxTarget, "OTHER_LDFLAGS", "-ld_classic"); + File.WriteAllText(pbxPath, project.WriteToString()); string plistPath = path + "/Info.plist";
- Loading branch information
Showing
3 changed files
with
55 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters