LoginSignup
6
6

More than 5 years have passed since last update.

Xcode7でATSを即座に無効にする方法を更新してみた (1ステップ)

Last updated at Posted at 2016-01-06

Xcode上でATSを無効にするより早いのが判明したので書いてみた
tonkotsuboy_comさんの記事を参考にしました → http://qiita.com/tonkotsuboy_com/items/9c056b4b2b1ffb85615e
※ATS無効はAppleに推奨されていないので適切に使用しましょう。


  1. ターミナルで以下のコマンドを入力します。
$ defaults write {プロジェクトのInfo.plistの絶対パス} NSAppTransportSecurity -dict NSAllowsArbitraryLoads "<true/>"

以上


defaults コマンドを使うときは、Info.plist は絶対パスで指定することと、dict に bool を設定するために "<true/>" と文字列で指定することがポイントです。

絶対パスを指定するのが多少面倒なので、そこに改善の余地がありそうですね。

6
6
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
6
6