CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compilercd "/Users/user/documents/Music Kit A"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -target x86_64-apple-macosx10.10 -module-name Music_Kit_A -Onone -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -g -module-cache-path /Users/user/library/Developer/Xcode/DerivedData/ModuleCache -I /Users/user/library/Developer/Xcode/DerivedData/Music_Kit_A-cimwnaollginmxefzprqiioyrhfl/Build/Products/DeBUG -F /Users/user/library/Developer/Xcode/DerivedData/Music_Kit_A-cimwnaollginmxefzprqiioyrhfl/Build/Products/DeBUG -c -j4 /Users/user/documents/Music\ Kit\ A/Music\ Kit\ A/AppDelegate.swift /Users/user/documents/Music\ Kit\ A/Music\ Kit\ A/main.swift -output-@R_502_6852@-map /Users/user/library/Developer/Xcode/DerivedData/Music_Kit_A-cimwnaollginmxefzprqiioyrhfl/Build/Intermediates/Music\ Kit\ A.build/DeBUG/Music\ Kit\ A.build/Objects-normal/x86_64/Music\ Kit\ A-Output@R_502_6852@Map.Json -parseable-output -serialize-diagnostics -emit-dependencIEs -emit-module -emit-module-path /Users/user/library/Developer/Xcode/DerivedData/Music_Kit_A-cimwnaollginmxefzprqiioyrhfl/Build/Intermediates/Music\ Kit\ A.build/DeBUG/Music\ Kit\ A.build/Objects-normal/x86_64/Music_Kit_A.swiftmodule -Xcc -I/Users/user/library/Developer/Xcode/DerivedData/Music_Kit_A-cimwnaollginmxefzprqiioyrhfl/Build/Intermediates/Music\ Kit\ A.build/DeBUG/Music\ Kit\ A.build/swift-overrIDes.hmap -Xcc -iquote -Xcc /Users/user/library/Developer/Xcode/DerivedData/Music_Kit_A-cimwnaollginmxefzprqiioyrhfl/Build/Intermediates/Music\ Kit\ A.build/DeBUG/Music\ Kit\ A.build/Music\ Kit\ A-generated-@R_502_6852@s.hmap -Xcc -I/Users/user/library/Developer/Xcode/DerivedData/Music_Kit_A-cimwnaollginmxefzprqiioyrhfl/Build/Intermediates/Music\ Kit\ A.build/DeBUG/Music\ Kit\ A.build/Music\ Kit\ A-own-target-headers.hmap -Xcc -I/Users/user/library/Developer/Xcode/DerivedData/Music_Kit_A-cimwnaollginmxefzprqiioyrhfl/Build/Intermediates/Music\ Kit\ A.build/DeBUG/Music\ Kit\ A.build/Music\ Kit\ A-all-target-headers.hmap -Xcc -iquote -Xcc /Users/user/library/Developer/Xcode/DerivedData/Music_Kit_A-cimwnaollginmxefzprqiioyrhfl/Build/Intermediates/Music\ Kit\ A.build/DeBUG/Music\ Kit\ A.build/Music\ Kit\ A-project-headers.hmap -Xcc -I/Users/user/library/Developer/Xcode/DerivedData/Music_Kit_A-cimwnaollginmxefzprqiioyrhfl/Build/Products/DeBUG/include -Xcc -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Xcc -I/Users/user/library/Developer/Xcode/DerivedData/Music_Kit_A-cimwnaollginmxefzprqiioyrhfl/Build/Intermediates/Music\ Kit\ A.build/DeBUG/Music\ Kit\ A.build/DerivedSources/x86_64 -Xcc -I/Users/user/library/Developer/Xcode/DerivedData/Music_Kit_A-cimwnaollginmxefzprqiioyrhfl/Build/Intermediates/Music\ Kit\ A.build/DeBUG/Music\ Kit\ A.build/DerivedSources -Xcc -DDEBUG=1 -emit-objc-header -emit-objc-header-path /Users/user/library/Developer/Xcode/DerivedData/Music_Kit_A-cimwnaollginmxefzprqiioyrhfl/Build/Intermediates/Music\ Kit\ A.build/DeBUG/Music\ Kit\ A.build/Objects-normal/x86_64/Music_Kit_A-Swift.hCommand /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc Failed with exit code 1
我尝试过的:
>清理项目
>评论我的最后更改
>创建一个新项目并传输代码
当我创建一个新项目时,这个错误就会消失,但是另一个错误就是说有一个隐含的主要入口点.搜索整个项目的主要功能,但没有任何显示.我的整个代码是here,如果有任何用处的话.
解决方法 尝试使用xcodebuild -project ***.xcodeproj -scheme ***,它会为您提供有关错误的更多详细信息.对我来说,将[uNowned self]添加到块内的块中.
总结以上是内存溢出为你收集整理的xcode – 命令… swiftc失败,退出代码为1全部内容,希望文章能够帮你解决xcode – 命令… swiftc失败,退出代码为1所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)