Skip to content

Commit 7bae2d1

Browse files
author
uerceg
committed
Changing linker flag to -ObjC to prevent XCode build errors
1 parent 77823bd commit 7bae2d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Editor/PostprocessBuildPlayer_AdjustPostBuildiOS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def edit_unity_xcode_project(Log, unity_xcode_project_path, framework_path):
8989
# build_file.add_compiler_flag('-fobjc-arc')
9090
# Log("added ARC flag to file {0}", name)
9191

92-
unity_XcodeProject.add_other_ldflags('-all_load')
92+
unity_XcodeProject.add_other_ldflags('-ObjC')
9393

9494
# save changes
9595
unity_XcodeProject.saveFormat3_2()

0 commit comments

Comments
 (0)