Apple LLVM 6.0 Error Unity 4.6.4p1 IL2CPP ARM64 iOS8.0

Hi everyone! So I am trying to build my game out for testing and things were working fine. All of a sudden this error below has popped up. I literally just set an object inactive and saved my scene. The next build I got this error. I have very little experience with Xcode. I’m also a beginer when it comes to writing code. Any help will be much appreciated. Thank you for you time.

OSX 10.9.5
Unity 4.6.4p
Apple LLVM 6.0 Error 1 IL2CPP ARM64 for iOS8.0

CompileC /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/arm64/DisplayManager.o Classes/Unity/DisplayManager.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler

cd “/Users/user/Desktop/Game/Game_v001”

export LANG=en_US.US-ASCII

export PATH=“/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin”

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -stdlib=libstdc++ -Wno-trigraphs -fno-rtti -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fno-objc-exceptions -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -miphoneos-version-min=8.0 -iquote /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/theGame-generated-files.hmap -I/Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/theGame-own-target-headers.hmap -I/Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/theGame-all-target-headers.hmap -iquote /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/theGame-project-headers.hmap -I/Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Products/include -I/Users/user/Desktop/iOSGame\ System/Game_v001/Classes -I/Users/user/Desktop/iOSGame\ System/Game_v001 -I/Users/user/Desktop/iOSGame\ System/Game_v001/Classes/Native -I/Users/user/Desktop/iOSGame\ System/Game_v001/Libraries/bdwgc/include -I/Users/user/Desktop/iOSGame\ System/Game_v001/Libraries/libil2cpp/include -I/Users/user/New\ iOSGame/iOSGame/Assets/Facebook/Editor/iOS -I/Users/user/New\ iOSGame/iOSGame/Assets/Facebook/Scripts -I/Users/user/Desktop/iOSGame\ System/Game_v001/UnityAds -I/Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/DerivedSources/arm64 -I/Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/DerivedSources -F/Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Products -F/Users/user/Desktop/iOSGame\ System/Game_v001/UnityAds -mno-thumb -DINIT_SCRIPTING_BACKEND=1 -include /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/PrecompiledHeaders/iPhone_target_Prefix-etjfkewvgklzhyevrpdmaczggmcz/iPhone_target_Prefix.pch -MMD -MT dependencies -MF /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/arm64/DisplayManager.d --serialize-diagnostics /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/arm64/DisplayManager.dia -c /Users/user/Desktop/iOSGame\ System/Game_v001/Classes/Unity/DisplayManager.mm -o /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/arm64/DisplayManager.o

clang: warning: argument unused during compilation: ‘-mno-thumb’

Stack dump:

0.Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -triple arm64-apple-ios8.0.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name DisplayManager.mm -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -target-cpu cyclone -target-abi darwinpcs -target-cpu cyclone -target-linker-version 241.9 -gdwarf-2 -coverage-file /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/arm64/DisplayManager.o -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/lib/clang/6.0 -dependency-file /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/arm64/DisplayManager.d -MT dependencies -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -iquote /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/theGame-generated-files.hmap -iquote /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/theGame-project-headers.hmap -include-pch /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/PrecompiledHeaders/iPhone_target_Prefix-etjfkewvgklzhyevrpdmaczggmcz/iPhone_target_Prefix.pch.pch -D INIT_SCRIPTING_BACKEND=1 -I /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/theGame-own-target-headers.hmap -I /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/theGame-all-target-headers.hmap -I /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Products/include -I /Users/user/Desktop/Game/Game_v001/Classes -I /Users/user/Desktop/Game/Game_v001 -I /Users/user/Desktop/Game/Game_v001/Classes/Native -I /Users/user/Desktop/Game/Game_v001/Libraries/bdwgc/include -I /Users/user/Desktop/Game/Game_v001/Libraries/libil2cpp/include -I /Users/user/New iOSGame/iOSGame/Assets/Facebook/Editor/iOS -I /Users/user/New iOSGame/iOSGame/Assets/Facebook/Scripts -I /Users/user/Desktop/Game/Game_v001/UnityAds -I /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/DerivedSources/arm64 -I /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/DerivedSources -F/Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Products -F/Users/user/Desktop/Game/Game_v001/UnityAds -stdlib=libstdc++ -O0 -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-c++11-extensions -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -fdeprecated-macro -fdebug-compilation-dir /Users/user/Desktop/Game/Game_v001 -ferror-limit 19 -fmacro-backtrace-limit 0 -fmessage-length 0 -fvisibility hidden -fvisibility-inlines-hidden -stack-protector 1 -mstackrealign -fblocks -fno-rtti -fobjc-runtime=ios-8.0.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fpascal-strings -fdiagnostics-show-option -fdiagnostics-show-note-include-stack -vectorize-slp -serialize-diagnostic-file /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/arm64/DisplayManager.dia -o /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-gltnheqygfzdnmhfkpioapyuhwqp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/arm64/DisplayManager.o -x objective-c++ /Users/user/Desktop/Game/Game_v001/Classes/Unity/DisplayManager.mm

1./Users/user/Desktop/Game/Game_v001/Classes/Unity/DisplayManager.mm:288:10: current parser token ‘registerScreen’

2./Users/user/Desktop/Game/Game_v001/Classes/Unity/DisplayManager.mm:271:1: parsing function body ‘init’

3./Users/user/Desktop/Game/Game_v001/Classes/Unity/DisplayManager.mm:271:1: in compound statement (‘{}’)

4./Users/user/Desktop/Game/Game_v001/Classes/Unity/DisplayManager.mm:273:2: in compound statement (‘{}’)

5./Users/user/Desktop/Game/Game_v001/Classes/Unity/DisplayManager.mm:287:50: block literal parsing

6./Users/user/Desktop/Game/Game_v001/Classes/Unity/DisplayManager.mm:287:91: in compound statement (‘{}’)

clang: error: unable to execute command: Segmentation fault: 11

clang: error: clang frontend command failed due to signal (use -v to see invocation)

Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)

Target: arm64-apple-darwin13.4.0

Thread model: posix

clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.

clang: note: diagnostic msg:


PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:

clang: note: diagnostic msg: /var/folders/hs/v9skrwbd64g70r28h1zxqh180000gn/T/DisplayManager-2abb46.mm

clang: note: diagnostic msg: /var/folders/hs/v9skrwbd64g70r28h1zxqh180000gn/T/DisplayManager-2abb46.sh

clang: note: diagnostic msg:


Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 254

I too am having this error trying to build my Unity xcode project with IL2CPP and the “Universal” architecture. (This is with Unity 4.6.5p2)

Interestingly, this error only happens when “archiving” my app via XCode; pressing the play button to build the app and put it directly on the device works fine.

Any help with debugging this would be greatly appreciated! Thank you!


CompileC /Users/taylorhaley/Library/Developer/Xcode/DerivedData/Unity-iPhone-csbtmzygfbbewncqjfljtkxrdzpf/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Bulk_2005-jabber-net_4.o Classes/Native/Bulk_2005-jabber-net_4.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/taylorhaley/guardians/publish/BuildProcess/Builds/iOS
export LANG=en_US.US-ASCII
export PATH=“/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin”
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -stdlib=libstdc++ -Wno-trigraphs -fno-rtti -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -miphoneos-version-min=7.0 -iquote /Users/taylorhaley/Library/Developer/Xcode/DerivedData/Unity-iPhone-csbtmzygfbbewncqjfljtkxrdzpf/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/ngdev-generated-files.hmap -I/Users/taylorhaley/Library/Developer/Xcode/DerivedData/Unity-iPhone-csbtmzygfbbewncqjfljtkxrdzpf/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/ngdev-own-target-headers.hmap -I/Users/taylorhaley/Library/Developer/Xcode/DerivedData/Unity-iPhone-csbtmzygfbbewncqjfljtkxrdzpf/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/ngdev-all-target-headers.hmap -iquote /Users/taylorhaley/Library/Developer/Xcode/DerivedData/Unity-iPhone-csbtmzygfbbewncqjfljtkxrdzpf/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/ngdev-project-headers.hmap -I/Users/taylorhaley/Library/Developer/Xcode/DerivedData/Unity-iPhone-csbtmzygfbbewncqjfljtkxrdzpf/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/include -I/Users/taylorhaley/guardians/publish/BuildProcess/Builds/iOS/Classes -I/Users/taylorhaley/guardians/publish/BuildProcess/Builds/iOS -I/Users/taylorhaley/guardians/publish/BuildProcess/Builds/iOS/Classes/Native -I/Users/taylorhaley/guardians/publish/BuildProcess/Builds/iOS/Libraries/bdwgc/include -I/Users/taylorhaley/guardians/publish/BuildProcess/Builds/iOS/Libraries/libil2cpp/include -I/Users/taylorhaley/guardians/clients/unity/Assets/Facebook/Editor/iOS -I/Users/taylorhaley/guardians/clients/unity/Assets/Facebook/Scripts -I/Users/taylorhaley/Library/Developer/Xcode/DerivedData/Unity-iPhone-csbtmzygfbbewncqjfljtkxrdzpf/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/DerivedSources/armv7 -I/Users/taylorhaley/Library/Developer/Xcode/DerivedData/Unity-iPhone-csbtmzygfbbewncqjfljtkxrdzpf/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/DerivedSources -F/Users/taylorhaley/Library/Developer/Xcode/DerivedData/Unity-iPhone-csbtmzygfbbewncqjfljtkxrdzpf/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/BuildProductsPath -F/Users/taylorhaley/guardians/publish/BuildProcess/Builds/iOS -DINIT_SCRIPTING_BACKEND=1 -include /Users/taylorhaley/Library/Developer/Xcode/DerivedData/Unity-iPhone-csbtmzygfbbewncqjfljtkxrdzpf/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/PrecompiledHeaders/iPhone_target_Prefix-bjspoldkjzxzpcbfuaissfycujud/iPhone_target_Prefix.pch -MMD -MT dependencies -MF /Users/taylorhaley/Library/Developer/Xcode/DerivedData/Unity-iPhone-csbtmzygfbbewncqjfljtkxrdzpf/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Bulk_2005-jabber-net_4.d --serialize-diagnostics /Users/taylorhaley/Library/Developer/Xcode/DerivedData/Unity-iPhone-csbtmzygfbbewncqjfljtkxrdzpf/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Bulk_2005-jabber-net_4.dia -c /Users/taylorhaley/guardians/publish/BuildProcess/Builds/iOS/Classes/Native/Bulk_2005-jabber-net_4.cpp -o /Users/taylorhaley/Library/Developer/Xcode/DerivedData/Unity-iPhone-csbtmzygfbbewncqjfljtkxrdzpf/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Bulk_2005-jabber-net_4.o

clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: arm-apple-darwin14.3.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:


PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/w0/ykw28p5s6nq2j9m7c3rzbwpw0000gn/T/Bulk_2005-jabber-net_4-5aa561.cpp
clang: note: diagnostic msg: /var/folders/w0/ykw28p5s6nq2j9m7c3rzbwpw0000gn/T/Bulk_2005-jabber-net_4-5aa561.sh
clang: note: diagnostic msg:


guys you both have clang failing - this has nothing to do with unity per-se. Try updating xcode and bug report to apple

So turning optimization down from “Fastest” to “Fast” seems to fix the issue. (And explains why archiving breaks but hitting the play button works.) I’m not yet sure what practical impact this has on the performance of my game. Will test further.

My XCode is up-to-date. (6.3.2)

Like it or not, you guys use Apple tools and technology to make Unity work, and so bugs in their tools that break Unity still reflect poorly on you. You telling me to “report a bug to apple” is as frustrating, unhelpful, and ridiculous as it would be if I told a player of my game, “that’s not a problem with my game, that’s a problem with Unity, so report the bug to them”. If a player finds a bug in my game that’s really an underlying bug with Unity then the onus is on me to work around that bug and report it to you, just like in this case the onus is on you to work around Apple’s bug and report it to them.

I have, for the record, reported what I can about that bug to Apple. But I have very little expertise in low-level iOS development or any ability to change the IL2CPP output, and so I’m not really well-equipped to help Apple debug this issue or find the particular combination of generated IL2CPP code that is breaking clang.

I’ll try to find a minimal project that reproduces this issue and report it to you guys, so hopefully you can track down what exactly is breaking clang.

1 Like

If you have Apple radar(their bugreporting system) number we would be more than happy to talk them about your case. Submitting some small repro to us works too. Looking forward for your case numbers.
Thanks.