When I launched my app on iOS on vs code, the build is successfull but the app crashed when you change the screen.
When I open my Xcode the build failed directly with an error
fatal error: module map file '/Users/wendy/Library/Developer/Xcode/DerivedData/Klaaap-feojqlwiozdtgsczazhciamgtbgk/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found
1 error generated.
This is my Podfile
:
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '14.2'
target 'Klaaap' do
config = use_native_modules!
use_react_native!(:path => config["reactNativePath"])
pod 'RNSoundLevel', :path => '../node_modules/react-native-sound-level'
pod 'RNPermissions', :path => '../node_modules/react-native-permissions'
target 'KlaaapTests' do
inherit! :complete
# Pods for testing
end
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable these next few lines.
use_flipper!
post_install do |installer|
flipper_post_install(installer)
end
end
target 'Klaaap-tvOS' do
# Pods for Klaaap-tvOS
target 'Klaaap-tvOSTests' do
inherit! :search_paths
# Pods for testing
end
end
target 'WonderPushNotificationServiceExtension' do
platform :ios, '10.0'
# Pods for WonderPushNotificationServiceExtension
pod 'WonderPushExtension', '~> 3.0'
end
Also my Xcode:
Do you have any idea about that?
The error is telling you that, you have asked cocoapods to do something to a Target called "WonderPushNotificationServiceExtension", but one doesn't exist. From your edits and screenshots above, you never created one.
Out of interest I googled what
WonderPushNotificationServiceExtension
was, and it brought me to the WonderPush iOS documentation. From the looks of it you are trying to incorporate this third party service into your app, but have not followed the second half of their documentation, showing how to create the Target and add the service extension.You need to go back and start again, making sure to follow all of the steps in the below link.
Link to React-Native tutorial:
https://docs.wonderpush.com/docs/mobile-push-notifications-react-native