私はスウィフト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は基本的にファイルを変更するときにエラーを強調表示していません。左パネルにはビルドタイムの問題がいくつか見えますが。私は彼らと一緒に働いて、最後のものに行きます。変更を加えたり、コードを削除してもsegエラーになります。 – KexAri
これは確かに非常に面倒な調査になります。ブリッジファイルは影響を受けるため、変更を行うたびにプロジェクト全体を再構築して問題を切り分ける必要があります。また、ブリッジファイル内の削除された行は他の多くのコードに影響するため、すべてのエラーを調べ、コンパイラがクラッシュしたかどうかを確認するのは非常に難しいです。 – Codo
何が悪夢ですか?アドバイスありがとうございます。 – KexAri