... <看更多>
「command compileswiftsources failed with a nonzero exit code」的推薦目錄:
- 關於command compileswiftsources failed with a nonzero exit code 在 [問題] Swift 4.0.3 在Xcode 10上編譯錯誤- 看板MacDev - 批踢踢 ... 的評價
- 關於command compileswiftsources failed with a nonzero exit code 在 Build fails with "Command failed with a nonzero exit code" 的評價
- 關於command compileswiftsources failed with a nonzero exit code 在 Command CompileSwiftSources failed with a nonzero exit code 的評價
- 關於command compileswiftsources failed with a nonzero exit code 在 Command CompileSwiftSources failed with a ... - githubmemory 的評價
- 關於command compileswiftsources failed with a nonzero exit code 在 Command CodeSign failed with a nonzero exit code. - YouTube 的評價
command compileswiftsources failed with a nonzero exit code 在 Command CompileSwiftSources failed with a nonzero exit code 的推薦與評價
Describe the bug When I compile the example project with Xcode 10, I get this error. ... <看更多>
command compileswiftsources failed with a nonzero exit code 在 Command CompileSwiftSources failed with a ... - githubmemory 的推薦與評價
Command CompileSwiftSources failed with a nonzero exit code. Unable to load standard library for target 'arm64-apple-ios10.0' ... <看更多>
command compileswiftsources failed with a nonzero exit code 在 Command CodeSign failed with a nonzero exit code. - YouTube 的推薦與評價

Command CodeSign failed with a nonzero exit code. ... Chat Replay is disabled for this Premiere. ... <看更多>
command compileswiftsources failed with a nonzero exit code 在 [問題] Swift 4.0.3 在Xcode 10上編譯錯誤- 看板MacDev - 批踢踢 ... 的推薦與評價
前幾天剛把筆電從Sierra 升級到 Mojave,Xcode也從9.2升級到10.1
今天第一次在新版本的Xcode上執行程式碼,出現的錯誤是
“Module compiled with Swift 4.0.3 cannot be imported by the Swift 4.2.1 compi
le
安裝Swift 4.0.3的toolchains後有解決,
但再次編譯卻出現“Command CompileSwiftSources failed with a nonzero exit code
”?
有試過很多解法,包含:
1. Cmd + Shift + K 清除專案,然後Cmd + B Rebuild -->沒用
2. 刪除 ~/Library/Developer/Xcode/DerivedData -->沒用
3. 在 bulid setting 新增自訂設定SWIFT_ENABLE_BATCH_MODE 並設定成 NO
--> 這個我做了之後並沒有出現更多細部的錯誤資訊
4. pods deintegrate, and then pods install -->沒用
(目前專案的swift版本是4.0.3)
現在已經束手無策... 想請問有沒有什麼其他方法可以解決?
另外也有想過要不要降回原本的Xcode9.2,但有個問題是我記得在實機上測試的話,
Xcode的副版本需要跟iOS的副版本號一樣,否則無法利用USB線連接。
例如Xcode10.1 & iOS 12.1 後面的“1”要是一樣的
想請問目前這個限制是否還存在?
目前iOS版本是12.1,如果要Xcode要降回9.1的話,也不支援swift4.0.3...
懇請大家幫幫忙QAQ
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.43.160.159
※ 文章網址: https://www.ptt.cc/bbs/MacDev/M.1553448730.A.430.html
※ 編輯: lisa090914 (114.43.160.159), 03/25/2019 01:49:50
後也有再build但也沒有解決QQ
※ 編輯: lisa090914 (49.216.128.126), 03/25/2019 12:21:24
該就沒這個問題了~
※ 編輯: lisa090914 (49.216.128.126), 03/25/2019 18:33:18
謝謝前面版友的建議!
※ 編輯: lisa090914 (101.9.146.182), 03/30/2019 17:31:15
... <看更多>