[ad_1]
I’m able to construct and run the app in a simulator. Nevertheless, each time I need to archive it (deciding on any ios units) to launch the app into the AppStore, I get this error.
ld: warning: listing not discovered for possibility '-L/Customers/bigyankarki/Library/Developer/Xcode/DerivedData/Neex-dnesybikpygafkfxhimxsgrjawis/Construct/Intermediates.noindex/ArchiveIntermediates/Neex/BuildProductsPath/Launch-iphoneos/React-RCTVibration'
ld: warning: listing not discovered for possibility '-L/Customers/bigyankarki/Library/Developer/Xcode/DerivedData/Neex-dnesybikpygafkfxhimxsgrjawis/Construct/Intermediates.noindex/ArchiveIntermediates/Neex/BuildProductsPath/Launch-iphoneos/react-native-safe-area-context'
ld: library not discovered for -lReact-RCTVibration
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I’ve adopted this, and different a number of options with the identical library not discovered error, however to no avail. I even included it to 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, '12.4'
goal 'Neex' 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 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-async-storage/async-storage'
pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'
pod 'RNSVG', :path => '../node_modules/react-native-svg'
goal 'NeexTests' do
inherit! :full
# Pods for testing
finish
# Permits Flipper.
#
# Notice that when you have use_frameworks! enabled, Flipper won't work and
# it is best to disable the subsequent line.
use_flipper!()
post_install do |installer|
react_native_post_install(installer)
finish
finish
[ad_2]

