13
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ビルド設定に応じて特定のファイルを除外する

Posted at
  1. プロジェクト設定の Build Settings 上部にある Levels の右ある + から Add User-Defined Setting を押し、EXCLUDED_SOURCE_FILE_NAMES を定義する
  2. Release に *+Debug を設定

このようにすることでReleaseビルド時に *+Debug をファイル名に含むファイルを除外してビルドしてくれる。

13
12
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
13
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?