Skip to content

Library not found for -lCTNotificationService #25

Description

@rabindrachhachan

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 to true and then install pods
:hermes_enabled => true
)

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions