我把錯誤訊息貼一下,其實就是很常出現的錯誤
昨天不小心用 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才睡...唉...