我把错误讯息贴一下,其实就是很常出现的错误
昨天不小心用 release模式执行程式在实机,其实也是这个错
找了好久好久好久...一度以为是没有 distributor 的权限
但是我明明是用 auto,加上前半年写的程式也是这么上架的...印象中
没这么麻烦啊
ios我的专案是 10.3以上才能跑
Apple Mach-O Linker (ld) Error Group
ld: can't open output file for writing: /Users/Adonisy/Library/Developer/
Xcode/DerivedData/CarOilMaintain-gjpkinrvaiftvogbqdewdsrvbzzq/Build/
Intermediates/ArchiveIntermediates/CarOilMaintain/IntermediateBuildFilesPath/
CarOilMaintain.build/Release-iphoneos/CarOilMaintain.build/Objects-normal/
arm64/CarOilMaintain, errno=21 for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
后来 architectures 改成只剩 arm64,Build Active Architeure Only是 false
Valid Architectures是 arm64、armv7、armv7s 这样才过
我的 bitcode 关了
害我昨天3:30才睡...唉...