简体   繁体   English

命令/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang失败,退出代码为1

[英]Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1

Every time I try to compile for device (arm7) in Xcode 4, I get this error. 每次我尝试在Xcode 4中为设备(arm7)进行编译时,都会出现此错误。 Due to my inexperience in programming I have no idea how to fix it. 由于我缺乏编程经验,所以我不知道如何解决它。

CompileC /Users/mac/Library/Developer/Xcode/DerivedData/Unity-iPhone-dvjqpowuaruycvahisaknogdkwbr/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/mac/Desktop/Cannon Boy"
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.0 -iquote /Users/mac/Library/Developer/Xcode/DerivedData/Unity-iPhone-dvjqpowuaruycvahisaknogdkwbr/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/cannonboy-generated-files.hmap -I/Users/mac/Library/Developer/Xcode/DerivedData/Unity-iPhone-dvjqpowuaruycvahisaknogdkwbr/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/cannonboy-own-target-headers.hmap -I/Users/mac/Library/Developer/Xcode/DerivedData/Unity-iPhone-dvjqpowuaruycvahisaknogdkwbr/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/cannonboy-all-target-headers.hmap -iquote /Users/mac/Library/Developer/Xcode/DerivedData/Unity-iPhone-dvjqpowuaruycvahisaknogdkwbr/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/cannonboy-project-headers.hmap -I/Users/mac/Library/Developer/Xcode/DerivedData/Unity-iPhone-dvjqpowuaruycvahisaknogdkwbr/Build/Products/include -I/Users/mac/Library/Developer/Xcode/DerivedData/Unity-iPhone-dvjqpowuaruycvahisaknogdkwbr/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/DerivedSources/armv7 -I/Users/mac/Library/Developer/Xcode/DerivedData/Unity-iPhone-dvjqpowuaruycvahisaknogdkwbr/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/DerivedSources -F/Users/mac/Library/Developer/Xcode/DerivedData/Unity-iPhone-dvjqpowuaruycvahisaknogdkwbr/Build/Products -MMD -MT dependencies -MF /Users/mac/Library/Developer/Xcode/DerivedData/Unity-iPhone-dvjqpowuaruycvahisaknogdkwbr/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Assembly-UnityScript.dll.d -c "/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s" -o /Users/mac/Library/Developer/Xcode/DerivedData/Unity-iPhone-dvjqpowuaruycvahisaknogdkwbr/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Assembly-UnityScript.dll.o

/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:8:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:8:Rest of line ignored. 1st junk character valued 48 (0).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:18:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:18:Rest of line ignored. 1st junk character valued 48 (0).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:36:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:36:Rest of line ignored. 1st junk character valued 48 (0).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:44:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:44:Rest of line ignored. 1st junk character valued 48 (0).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:52:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:52:Rest of line ignored. 1st junk character valued 48 (0).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:65:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:65:Rest of line ignored. 1st junk character valued 48 (0).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:73:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:73:Rest of line ignored. 1st junk character valued 48 (0).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:92:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:92:Rest of line ignored. 1st junk character valued 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:102:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:102:Rest of line ignored. 1st junk character valued 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:120:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:120:Rest of line ignored. 1st junk character valued 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:128:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:128:Rest of line ignored. 1st junk character valued 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:136:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:136:Rest of line ignored. 1st junk character valued 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:149:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:149:Rest of line ignored. 1st junk character valued 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:157:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:661:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:661:Rest of line ignored. 1st junk character valued 55 (7).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:680:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:680:Rest of line ignored. 1st junk character valued 56 (8).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:690:Junk character 49 (1).
/Users/mac/Desktop/Cannon Boy/Libraries/Assembly-UnityScript.dll.s:2929:Rest of line ignored. 1st junk character valued 95 (_).
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

I had the same problem. 我有同样的问题。 After hours of debugging I found out one of my scripts in Unity was starting with a number. 经过数小时的调试,我发现Unity中的脚本之一是从数字开始的。 Renaming the script solved the problem! 重命名脚本解决了该问题!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:命令/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang失败,退出代码为1 - error:Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1 为什么显示此错误消息“命令/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang失败,退出代码为1” - Why show this error message “Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1” 找不到库-命令/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2失败,退出代码为1 - library not found - Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 为什么我会收到此错误:“Command / Developer / Platforms / iPhoneSimulator.platform / Developer / usr / bin / gcc-4.2使用退出代码1失败”? - Why do i get this error: “Command/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1”? 无法读取/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1的符号 - Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 Box2D xcode 项目编译器错误“Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1” - Box2D xcode project compiler errors “Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1” 命令 /Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang 失败,退出代码为 1 - Command /Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1 命令/ Developer / usr / bin / dsymutil失败,退出代码为10 - Command /Developer/usr/bin/dsymutil failed with exit code 10 命令 /Developer/usr/bin/ibtool 失败,退出代码为 10 - Command /Developer/usr/bin/ibtool failed with exit code 10 命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang失败,退出代码为1 - Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM