2
我遷移到雨燕3.0,並保持橫過分割故障11來:分段錯誤11與Obj-C-bridge.h有關嗎?
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
cd "/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app"
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk
export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name SA_Dev -Onone -D COCOAPODS -DDEV -DDEBUG -sdk /......./MyApp\ DEV.build/Objects-normal/arm64/SA_Dev-Swift.h -import-objc-header /Users/kekearif/Documents/MyApp/MyApp\ Dev/ios-app/MyApp/Obj-C-bridge.h -Xcc -working-directory/Users/kekearif/Documents/MyApp/MyApp\ Dev/ios-app
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: compile command failed due to signal (use -v to see invocation)
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: compile command failed due to signal (use -v to see invocation)
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: compile command failed due to signal (use -v to see invocation)
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: compile command failed due to signal (use -v to see invocation)
長路徑結尾:
SA_Dev-Swift.h -import-objc-header /Users/kekearif/Documents/MyApp/MyApp\ Dev/ios-app/MyApp/Obj-C-bridge.h -Xcc -working-directory/Users/kekearif/Documents/MyApp/MyApp\ Dev/ios-app
這可能是一個問題與我的任Obj-C-bridge.h
或豆莢?
在我的情況下,XCODE基本上不會在更改文件時進行任何錯誤突出顯示。儘管我可以看到一些Buildtime問題,但在左側面板中。我通過他們工作併到達最後一個。如果我做出任何改變,甚至刪除代碼最終在seg錯誤。 – KexAri
這肯定會是一個非常麻煩的調查。由於網橋文件受到影響,因此每次您進行更改以隔離問題時,基本上都需要重新構建整個項目。由於橋文件中被刪除的行會影響很多其他代碼,因此很難找到切入所有錯誤並檢查編譯器是否崩潰的情況,這是目前唯一的相關錯誤。 – Codo
什麼是惡夢。謝謝你的建議。 – KexAri