Open maxim-ivanchuk-idf opened 2 years ago
this error only when run from xcode running successfully from command line and from android studio
@maxim-ivanchuk-idf , would it be possible for you to create an empty sample mixed language app and link us to it for us to be able to debug the issue better? Thanks
I am experiencing this issue when the project is run using VSCode. But it is okay with Xcode.
Version used: clevertap_plugin: ^2.4.0
Here is debug console output: `Launching lib/main_development.dart on iPhone 15 Pro in debug mode... Xcode build done. 145.0s Failed to build iOS app Swift Compiler Error (Xcode): No such module 'CleverTapSDK' .../ios/Runner/AppDelegate.swift:2:7 AppDelegate.swift:2
Could not build the application for the simulator. Error launching application on iPhone 15 Pro.
Exited (1).`
The clevertapSDK is in folder: /ios/Pods/CleverTap-iOS-SDK-CleverTapSDK
Any idea how to fix this issue?
I am also getting the same error. Please help us with this CleverTap Team! @SarojMaharjan have you found any solution for this>?
Launching lib/main.dart on iPhone 15 Pro in debug mode... Xcode build done. 37.6s Failed to build iOS app Swift Compiler Error (Xcode): No such module 'CleverTapSDK' /Users/gyanprakash/Documents/mobile_main_flutter_v2/ios/NotificationService/NotificationService.swift:9:7 NotificationService.swift:9
Could not build the application for the simulator. Error launching application on iPhone 15 Pro.
Exited (1).
No such module 'ClevertTapSDK'
In my project, I use various libraries (written in Objective-C as well as Swift). To be able to use libraries written in both languages, I have to use use_frameworks! directive in my Podfile. If I use this directive, I am not required to use bridging header for any other library written in Objective-C. I can just use import ModuleName and use it.
But, when I install CleverTap SDK via Podfile and try to do import CleverTapSDK, Xcode is giving me error as "No such module CleverTapSDK"