Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はXcode(およびMac全般)にまったく慣れていません。私は小さな iPhone プロジェクトを開始しました。コマンドはリリースモードでも実行されます。
これは既知の問題ですか?どうすれば適切に解決できますか?
ありがとう!
Xcode は、リリース モードの -DNDEBUG を自動的に追加しません。
追加するには、[プロジェクト] | [プロジェクト] に移動します。プロジェクト設定を編集します。[ビルド] タブで [構成のリリース] を選択する必要があります。NDEBUG の新しい前処理マクロを追加します。