Debugコンフィギュレーションを複製にしたカスタム Build Configuration を作る時、No bundle URL present.
というエラーがでてクラッシュすることがある。
原因は、CocoaPodsのPodfileで下記の記述を入れていないためだった。
project 'Project名',
'Debug' => :debug,
'Release' => :release,
'CustomDebugConfiguration' => :debug # カスタムBuild Configurationを作った時は忘れずに書く
参考
- After upgrading to react-native 0.60.x schemes other than production (default) do not work. · Issue #76 · thekevinbrown/react-native-schemes-manager · GitHub
- CocoaPods Guides - Podfile Syntax Reference
余談
Releaseベースのカスタム Build Configuration だと上記の記述がなくても問題なく動いてしまう模様。Debugベースのモノを追加する時は気をつけましょう。