我已经被这个错误困扰了好几天了。当我尝试存档失败时,我在模拟器或 iPhone 上运行它没有问题。
致命错误:后端错误:Constant Island pass 无法收敛!命令 /Developer/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang 失败,退出代码为 1
这是卡住的完整编译
CompileC "/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/Objects-normal/armv7/SalaryTaxViewController.o " Classes/SalaryTaxViewController.m normal armv7 Objective-c com.apple.compilers.llvm.clang.1_0.compiler cd "/Users/RE/Desktop/SalaryTax" setenv LANG en_US.US-ASCII setenv PATH "/Developer/Applications/ Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin: /sbin" /Developer/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault。xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -std=c99 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes - Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -W括号 -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-shorten-64-to-32 - Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Developer/Applications/Xcode.app/Contents/Developer/Platforms/ iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0。sdk -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion "-DIBOutlet=属性((iboutlet))" "-DIBOutletCollection(ClassName)=属性((iboutletcollection(ClassName)))" "-DIBAction=void)属性((ibaction)"-miphoneos-version-min=5.0 -iquote"/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos /SalaryTax.build/SalaryTax-generated-files.hmap" "-I/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos /SalaryTax.build/SalaryTax-own-target-headers.hmap" "-I/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release -iphoneos/SalaryTax.build/SalaryTax-all-target-headers.hmap" -iquote"/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/SalaryTax-project-headers.hmap" "-I /Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/BuildProductsPath/Release-iphoneos/include”-I/Developer/Applications/Xcode.app/Contents/Developer/Toolchains/ XcodeDefault.xctoolchain/usr/include -I/Developer/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Developer/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault。 xctoolchain/usr/include "-I/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/DerivedSources/armv7""-I/Users /RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/DerivedSources" "-F/Users/RE/Library/Developer /Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/BuildProductsPath/Release-iphoneos" -DNS_BLOCK_ASSERTIONS=1 -include "/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/PrecompiledHeaders/SalaryTax_Prefix-bbmxcwkvhjetmzddaqqrcvabohqr/SalaryTax_Prefix.pch"-MMD -MT 依赖项-MF"/UsersRE/开发人员/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/Objects-normal/armv7/SalaryTaxViewController.d" --serialize-diagnostics"/Users /RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/Objects-normal/armv7/SalaryTaxViewController.dia" -c "/Users/RE/Desktop/SalaryTax/Classes/SalaryTaxViewController.m" -o "/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release -iphoneos/SalaryTax.build/Objects-normal/armv7/SalaryTaxViewController.o"
致命错误:后端错误:Constant Island pass 无法收敛!命令 /Developer/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang 失败,退出代码为 1