CTNotificationService
CTNotificationService copied to clipboard
No such module 'CTNotificationService'
@Aditi3
facing the same issue
any update on this ?
@nateshmbhat put this in podfile and run pod install again
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
@Dezann this solution is not working, I'm using XCode: 14.3.1, MacOS: Ventura, M1 Chip.
Please update if anyone has got the fix.
@Satish24sp Could you please share your podfile? Your Podfile should look something like this:
platform :ios, '10.0'
use_frameworks!
target 'YOUR_NOTIFICATION_SERVICE_TARGET_NAME' do
pod 'CTNotificationService'
end
Hello @akashvercetti,
I'm trying to integrate it into the Flutter project, so could I share that with you?
@Satish24sp sure that works.
@akashvercetti I'm using the below dependency in my Flutter project to get the CleverTap services but it's not working
dependencies:
flutter:
sdk: flutter
webview_flutter: 2.8.0
clevertap_plugin: ^1.7.0
@Satish24sp could you please share the exact error/screenshot of the error and your integration code.
@Satish24sp could you please share the exact error/screenshot of the error and your integration code.
@Satish24sp have you added the pod CTNotificationService
in your Podfile of your flutter ios app? You need to add the following to your Podfile:
target 'NotificationService' do
pod "CTNotificationService"
pod "CleverTap-iOS-SDK"
end
More instructions here: https://github.com/CleverTap/CTNotificationService#-installation
The Flutter Podfile is different from the native iOS Podfile, automatically created by the main Flutter project. Also, I tried to add pods manually in the NotificationService but that didn't work as well.
@Satish24sp we do not have a flutter plugin for CTNotificationService
so you will need to install it via pod install
. Could you please provide us with a sample flutter project repository with CTNotificationService
installed so we can take a look at it?
@Satish24sp make sure your Podfile contains use_frameworks
like so:
platform :ios, '12.0' #your ios target
use_frameworks!
target 'NotificationService' do
pod "CTNotificationService"
pod "CleverTap-iOS-SDK"
end
@maxim-ivanchuk-idf where you able to fix this issue? am getting the same error
@akashvercetti i'm also experiencing the same issue