Re: [問題] arm64、armv7、armv7s
我把錯誤訊息貼一下,其實就是很常出現的錯誤
昨天不小心用 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才睡...唉...
--
昔日所為 今日所受
今日所為 明日所受
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.219.70.169
※ 文章網址: https://www.ptt.cc/bbs/MacDev/M.1500704286.A.B48.html
→
07/22 23:18, , 1F
07/22 23:18, 1F
→
07/22 23:28, , 2F
07/22 23:28, 2F
→
07/23 00:25, , 3F
07/23 00:25, 3F
→
07/23 00:26, , 4F
07/23 00:26, 4F
→
07/23 00:39, , 5F
07/23 00:39, 5F
→
07/23 00:40, , 6F
07/23 00:40, 6F
→
10/25 18:04, , 7F
10/25 18:04, 7F
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):
MacDev 近期熱門文章
PTT數位生活區 即時熱門文章