Open rabindrachhachan opened 2 years ago
ld: library not found for -lCTNotificationService clang: error: linker command failed with exit code 1 (use -v to see invocation)
I followed the installation guideline.
Platform: React Native OS: iOS
Pod file.
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'
target 'SampleApp' do config = use_native_modules! use_react_native!( :path => config[:reactNativePath],
false
true
:hermes_enabled => true
)
pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen' pod 'GoogleTagManager'
target 'SampleAppTests' do inherit! :complete
end
post_install do |installer| react_native_post_install(installer) __apply_Xcode_12_5_M1_post_install_workaround(installer) end end
target 'NotificationService' do pod "CTNotificationService" end
I tried adding libCTNotificationService.a in buildPhase->Link binary with libraries. I hope Xcode not able to find the Path to CTNotificationService.
Can someone help me here?
I'm still facing this issue. Any idea how can we fix this?
@Aditi3
ld: library not found for -lCTNotificationService clang: error: linker command failed with exit code 1 (use -v to see invocation)
I followed the installation guideline.
Platform: React Native OS: iOS
Pod file.
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'
target 'SampleApp' do config = use_native_modules! use_react_native!( :path => config[:reactNativePath],
to enable hermes on iOS, change
false
totrue
and then install pods)
pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen' pod 'GoogleTagManager'
target 'SampleAppTests' do inherit! :complete
Pods for testing
end
post_install do |installer| react_native_post_install(installer) __apply_Xcode_12_5_M1_post_install_workaround(installer) end end
target 'NotificationService' do pod "CTNotificationService" end
I tried adding libCTNotificationService.a in buildPhase->Link binary with libraries. I hope Xcode not able to find the Path to CTNotificationService.
Can someone help me here?