CTNotificationService icon indicating copy to clipboard operation
CTNotificationService copied to clipboard

No such module 'CTNotificationService'

Open maxim-ivanchuk-idf opened this issue 2 years ago • 17 comments

Снимок экрана 2022-09-08 в 03 34 40 Снимок экрана 2022-09-08 в 03 35 32 Снимок экрана 2022-09-08 в 03 35 47

maxim-ivanchuk-idf avatar Sep 08 '22 00:09 maxim-ivanchuk-idf

@Aditi3

maxim-ivanchuk-idf avatar Sep 08 '22 10:09 maxim-ivanchuk-idf

facing the same issue

nateshmbhat avatar Feb 25 '23 12:02 nateshmbhat

any update on this ?

nateshmbhat avatar Feb 25 '23 12:02 nateshmbhat

@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 avatar Mar 03 '23 11:03 Dezann

@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 avatar Jun 30 '23 12:06 Satish24sp

@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 

akashvercetti avatar Jul 13 '23 05:07 akashvercetti

Hello @akashvercetti,

I'm trying to integrate it into the Flutter project, so could I share that with you?

Satish24sp avatar Jul 13 '23 12:07 Satish24sp

@Satish24sp sure that works.

akashvercetti avatar Jul 13 '23 13:07 akashvercetti

@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 avatar Jul 14 '23 04:07 Satish24sp

@Satish24sp could you please share the exact error/screenshot of the error and your integration code.

akashvercetti avatar Jul 14 '23 05:07 akashvercetti

@Satish24sp could you please share the exact error/screenshot of the error and your integration code.

Screenshot 2023-07-14 at 11 58 51 AM

Satish24sp avatar Jul 14 '23 06:07 Satish24sp

@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

akashvercetti avatar Jul 14 '23 06:07 akashvercetti

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 avatar Jul 14 '23 07:07 Satish24sp

@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?

akashvercetti avatar Jul 14 '23 10:07 akashvercetti

@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

akashvercetti avatar Jul 14 '23 10:07 akashvercetti

@maxim-ivanchuk-idf where you able to fix this issue? am getting the same error

3KINGZ avatar Aug 24 '23 15:08 3KINGZ

@akashvercetti i'm also experiencing the same issue

3KINGZ avatar Aug 24 '23 15:08 3KINGZ