My App runs fine in the editor, and compiles fine in Xcode. When starting the app however, it consistently fails with a SIGABRT, and doesn’t get past the splash screen. Device log attached, if that helps.
I’ve seen suggestions this is a known bug in 3.1, is this the case? It would be really nice to see a list of outstanding bugs so I can stop bashing my head on the desk…
No memory warning and nothing else in there and the thread that actually crashed does not imply that it ever gets into unity at all.
You didn’t by error target unity to build ARMV6 only and on XCode switched to “build active arch” with ARMV7 only right?
Cause in this case you have no valid code to execute at all from the unity end
I had this problem yesterday. What I ended up doing was blowing the project’s Player and Temp directories away then I switched to the new version of XCode (though the same 4.2 SDK) and the problem went away after a few tries of deleting the project on the device, closing all the applications like Unity/XCode/etc, and restarting the device. Then for some magical reason - everything worked in all the versions of XCode again.
Something weird going on. I started getting messages about bad message being sent inside of XCode (its an XCode error), but the application would install and run just fine.
I have an even worse problem: have a project which is set to build for arm6+arm7 in Unity, with Xcode4.2.1 Build 4D502. If I build and run my program, I get this error in Xcode:
CompileC /Users/alonzomachiraju/Library/Developer/Xcode/DerivedData/Unity-iPhone-eijjuenppqdcssevjbllrrkmoeld/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Assembly-UnityScript.dll.o Libraries/Assembly-UnityScript.dll.s normal armv7 assembler-with-cpp com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/alonzomachiraju/Development/Unity/PoodleBounce/PoodleBounce
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -x assembler-with-cpp -arch armv7 -fmessage-length=0 -fdiagnostics-print-source-range-info -fdiagnostics-show-category=id -fdiagnostics-parseable-fixits -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-shorten-64-to-32 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -gdwarf-2 -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=3.1.3 -iquote /Users/alonzomachiraju/Library/Developer/Xcode/DerivedData/Unity-iPhone-eijjuenppqdcssevjbllrrkmoeld/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/poodlebounce-generated-files.hmap -I/Users/alonzomachiraju/Library/Developer/Xcode/DerivedData/Unity-iPhone-eijjuenppqdcssevjbllrrkmoeld/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/poodlebounce-own-target-headers.hmap -I/Users/alonzomachiraju/Library/Developer/Xcode/DerivedData/Unity-iPhone-eijjuenppqdcssevjbllrrkmoeld/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/poodlebounce-all-target-headers.hmap -iquote /Users/alonzomachiraju/Library/Developer/Xcode/DerivedData/Unity-iPhone-eijjuenppqdcssevjbllrrkmoeld/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/poodlebounce-project-headers.hmap -I/Users/alonzomachiraju/Library/Developer/Xcode/DerivedData/Unity-iPhone-eijjuenppqdcssevjbllrrkmoeld/Build/Products/include -I/Users/alonzomachiraju/Library/Developer/Xcode/DerivedData/Unity-iPhone-eijjuenppqdcssevjbllrrkmoeld/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/DerivedSources/armv7 -I/Users/alonzomachiraju/Library/Developer/Xcode/DerivedData/Unity-iPhone-eijjuenppqdcssevjbllrrkmoeld/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/DerivedSources -F/Users/alonzomachiraju/Library/Developer/Xcode/DerivedData/Unity-iPhone-eijjuenppqdcssevjbllrrkmoeld/Build/Products -mno-thumb -MMD -MT dependencies -MF /Users/alonzomachiraju/Library/Developer/Xcode/DerivedData/Unity-iPhone-eijjuenppqdcssevjbllrrkmoeld/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Assembly-UnityScript.dll.d -c /Users/alonzomachiraju/Development/Unity/PoodleBounce/PoodleBounce/Libraries/Assembly-UnityScript.dll.s -o /Users/alonzomachiraju/Library/Developer/Xcode/DerivedData/Unity-iPhone-eijjuenppqdcssevjbllrrkmoeld/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Assembly-UnityScript.dll.o
/Users/alonzomachiraju/Development/Unity/PoodleBounce/PoodleBounce/Libraries/Assembly-UnityScript.dll.s:609:Junk character 50 (2).
/Users/alonzomachiraju/Development/Unity/PoodleBounce/PoodleBounce/Libraries/Assembly-UnityScript.dll.s:609:Rest of line ignored. 1st junk character valued 68 (D).
/Users/alonzomachiraju/Development/Unity/PoodleBounce/PoodleBounce/Libraries/Assembly-UnityScript.dll.s:638:Junk character 50 (2).
/Users/alonzomachiraju/Development/Unity/PoodleBounce/PoodleBounce/Libraries/Assembly-UnityScript.dll.s:638:Rest of line ignored. 1st junk character valued 68 (D).
/Users/alonzomachiraju/Development/Unity/PoodleBounce/PoodleBounce/Libraries/Assembly-UnityScript.dll.s:793:Junk character 50 (2).
/Users/alonzomachiraju/Development/Unity/PoodleBounce/PoodleBounce/Libraries/Assembly-UnityScript.dll.s:793:Rest of line ignored. 1st junk character valued 68 (D).
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1
This is despite having a valid provisioning profile. I’m using Unity 3.4.2 f3 on Mac OS X 10.7.2.