リモートで働くプログラマーの検索結果

リモ太がググったことの覚書

「Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2.4 」というエラーが出てコンパイルが失敗する

note.com

ググってみると

carthage update --platform iOS

を実行すれば良いとのこと

zsh: command not found: carthage

carthageがないと言われたので homebrewでインストール

brew install carthage

インストール後に再度以下を実行

carthage update --platform iOS

コマンドは実装できたが

xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH

上記のようなエラーがでた

Xcodeを起動して Preferences > Locationsを開くと Command Line Toolsが空白だったのでXcode 11.5を選択 f:id:remoter:20200615103647p:plain

設定した後に再度以下を実行

carthage update --platform iOS

少し時間はかかったが無事実行

Xcodeで Product > Clean をした後に実行したら無事起動した