[ad_1]
Trying to put in pod in IOS for a React Native software.
I’ve added the goal to my undertaking.
That is the file construction of the undertaking:

I’m within the ios listing for the React Native undertaking, and I am operating:
pod set up
After I run pod set up, I obtain this error:
[!] Unable to discover a goal named `OneSignalNotificationServiceExtension` in undertaking `PodApp.xcodeproj`, did discover `PodApp` and `PodAppTests`.
That is what my Podfile seems like:
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '11.0'
goal 'PodApp' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
# to allow hermes on iOS, change `false` to `true` after which set up pods
:hermes_enabled => false
)
pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-async-storage/async-storage'
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
goal 'PodAppTests' do
inherit! :full
# Pods for testing
finish
goal 'OneSignalNotificationServiceExtension' do
pod 'OneSignalXCFramework', '>= 3.0', '< 4.0'
finish
finish
[ad_2]
