LoginSignup
0
0

More than 3 years have passed since last update.

ReactNativeでカスタムBuild Configurationを使うときの注意

Posted at

Debugコンフィギュレーションを複製にしたカスタム Build Configuration を作る時、No bundle URL present.というエラーがでてクラッシュすることがある。

原因は、CocoaPodsのPodfileで下記の記述を入れていないためだった。

project 'Project名',
  'Debug' => :debug,
  'Release' => :release,
  'CustomDebugConfiguration' => :debug # カスタムBuild Configurationを作った時は忘れずに書く

参考

余談

Releaseベースのカスタム Build Configuration だと上記の記述がなくても問題なく動いてしまう模様。Debugベースのモノを追加する時は気をつけましょう。

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