LoginSignup
2
3

More than 5 years have passed since last update.

iOS11にしたので、開発環境を更新したメモ

Last updated at Posted at 2017-09-22

テスト端末iOS11にしたら、XCode8のままデバッグ実行できなくなったので、XCode9に更新したときのメモ。

MacOSを最新に

トラブル防止のため、最新にしました。(2017年9月21日現在)

  • MacOS Sierra 10.12.6
  • Safari 11.0
  • iTunes 12.7

XCode9

iTunesStoreのAppStoreに公開されたので、こちらからダウンロード。

Carthageの更新

carthage updateしようとしたら古いって怒られたので、brewコマンドでcarthage 0.25.0にアップデートしました。

$ brew update
$ brew upgrade carthage

プロジェクトの依存ライブラリたちを更新します。

$ carthage update --platform iOS

SwiftyJSONが対応してない…
/Users/xxxxx/xxxx/Credit.swift:11:8: Module compiled with Swift 3.1 cannot be imported in Swift 3.2: /Users/xxxxx/xxxx/Carthage/Build/iOS/SwiftyJSON.framework/Modules/SwiftyJSON.swiftmodule/arm64.swiftmodule

試行錯誤されてる様子。

作業してたterminalの環境変数更新されてなかっただけだった。XCodeインストール後、terminal入り直してやったらいけた。

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3