xcode error

I installed 3.5 beta and converted a game I was making and I got this xcode error about assembly-unitysciprt.dll

But then I reinstalled 3.4 and I’m still getting the same error.

Everything was working perfectly before I installed 3.5

EDIT:

Don’t name your scripts starting with numbers

CompileC DerivedData/Unity-iPhone/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/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode"
    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=4.3 -iquote "/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/DerivedData/Unity-iPhone/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/leapinglemurs-generated-files.hmap" "-I/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/DerivedData/Unity-iPhone/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/leapinglemurs-own-target-headers.hmap" "-I/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/DerivedData/Unity-iPhone/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/leapinglemurs-all-target-headers.hmap" -iquote "/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/DerivedData/Unity-iPhone/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/leapinglemurs-project-headers.hmap" "-I/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/DerivedData/Unity-iPhone/Build/Products/include" "-I/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/DerivedData/Unity-iPhone/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/DerivedSources/armv7" "-I/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/DerivedData/Unity-iPhone/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/DerivedSources" "-F/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/DerivedData/Unity-iPhone/Build/Products" -mno-thumb -MMD -MT dependencies -MF "/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/DerivedData/Unity-iPhone/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Assembly-UnityScript.dll.d" -c "/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s" -o "/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/DerivedData/Unity-iPhone/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Assembly-UnityScript.dll.o"

/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s:8:Junk character 51 (3).
/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s:8:Rest of line ignored. 1st junk character valued 68 (D).
/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s:20:Junk character 51 (3).
/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s:20:Rest of line ignored. 1st junk character valued 68 (D).
/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s:38:Junk character 51 (3).
/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s:38:Rest of line ignored. 1st junk character valued 68 (D).
/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s:46:Junk character 51 (3).
/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s:46:Rest of line ignored. 1st junk character valued 68 (D).
/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s:54:Junk character 51 (3).
/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s:54:Rest of line ignored. 1st junk character valued 68 (D).
/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s:67:Junk character 51 (3).
/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s:67:Rest of line ignored. 1st junk character valued 68 (D).
/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s:76:Junk character 51 (3).
/Users/spinaljack/Desktop/Unity Games/Leaping Lemurs 2/    xcode/Libraries/Assembly-UnityScript.dll.s:76: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

Anyone else get this?

Nope. But…

I also got 3.5, converted the project and it actually worked fine at the first time. Then, I can’t pinpoint what I did but I’ve already tried reverting back and still can’t get around the errors I’m getting.

When I compile in Simulator, it runs, but never gets out of loading screen. When I go back to “iOS latest” the platform comes wrongly assigned to “iphoneos” on xCode, when it should be “iOS5”. Then I manually fix it only to get 4 “_FMOD_OggVorbis” errors: a ReAlloc, Calloc, Malloc and Free. And I’m not even using anything but a MP3 which, by the way, still is running fine in one iOS I’ve compiled few days ago. All that without changing a line of code or config.

So yeah, I got something similar to that, looks like.

Okay it turns out that you on iOS you can’t names your scripts starting with numbers. I had one called 3DText which works on webplayer but not xcode.

Nothing to do with unity 3.5

spinaljack I need thank you so much! 3day I don’t sleep try figure out this problem and now you have perfect solution. I rename my scripts with numbers on the first place and it WORKS!

Awesome! spinaljack, you saved me a lot of debugging! Turns out I had a script called “3dtextbutton” that was causing this exact same error. Renaming the script solved the problem.