I added a new build configuration, Dev.Debug to my react-native project in xcode, duplicating the existing Debug configuration, and also added a corresponding scheme for the new configuration.
Now when I attempt to run the project with the new scheme I get the error:
Undefined symbol: _OBJC_CLASS_$_FlipperClient
Running the scheme that I duplicated works fine - the app installs, launches, and functions normally.
Is there any more configuration required after adding a new debug scheme?
I found that I needed to modify my podfile as follows:
...
target 'MyApp' do
config = use_native_modules!
# Add the project and build configurations
project 'MyApp',
'Dev.Debug' => :debug, # '{Build Configuration name}' => :{debug or release}
'Debug' => :debug,
'Dev.Release' => :release,
'Release' => :release
...
use_flipper!({'Flipper' => '0.126.0', configurations: ['Debug', 'Dev.Debug']}) # Add the Build Configuration name (not scheme name)
...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With