More than 5 years have passed since last update.
Project > Info > Configuration
- アプリ環境の使い分けを書く
- 例) DebugとかReleaseとかQA(Quality Assurance)

Project > Build Settings > Apple LLVM 5.0 - Preprocessing
- Preprocessor MacrosにそれぞれのConfigurationごとに定数を設定できる
- 例) Debugの項目にDEBUG=1、QAの項目にQA=1を入れる
- アプリの中では以下のように使う。(例でTestFlightをQAのときのみ読み込む)
#ifdef QA
#import "TestFlight.h"
#endif

Target > Build Settings > User-Defined

Supporting Files > Info.plist

Why not register and get more from Qiita?
- We will deliver articles that match you
By following users and tags, you can catch up information on technical fields that you are interested in as a whole
- you can read useful information later efficiently
By "stocking" the articles you like, you can search right away
Sign upLogin