-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No such module 'ClevertTapSDK' #115
Comments
this error only when run from xcode |
@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? |
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: Could not build the application for the simulator. 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! Launching lib/main.dart on iPhone 15 Pro in debug mode... Could not build the application for the simulator. Exited (1). |
@gyan786fyers I have not been able to resolve this issue yet. I am currently using xcode to build the app. |
HI @maxim-ivanchuk-idf @SarojMaharjan @gyan786fyers Can you guys share the podfile and pubspec file which you are using for our SDK? |
@nishant-clevertap podfile Uncomment this line to define a global platform for your projectplatform :ios, '12.0' CocoaPods analytics sends network stats synchronously affecting flutter build latency.ENV['COCOAPODS_DISABLE_STATS'] = 'true' project 'Runner', { def flutter_root File.foreach(generated_xcode_build_settings_path) do |line| require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) flutter_ios_podfile_setup target 'Runner' do pod 'FBSDKCoreKit' flutter_install_all_ios_pods File.dirname(File.realpath(FILE)) post_install do |installer| target 'NotificationService' do Comment the next line if you don't want to use dynamic frameworksuse_frameworks! Pods for ct_integrationpod 'CleverTap-iOS-SDK'#, '~> 3.9.4' |
@nishant-clevertap And here is podfile: Uncomment this line to define a global platform for your projectplatform :ios, '14.0' CocoaPods analytics sends network stats synchronously affecting flutter build latency.ENV['COCOAPODS_DISABLE_STATS'] = 'true' project 'Barberinos-mobile-app', { def flutter_root File.foreach(generated_xcode_build_settings_path) do |line| require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) flutter_ios_podfile_setup target 'Barberinos-mobile-app' do flutter_install_all_ios_pods File.dirname(File.realpath(FILE)) post_install do |installer| |
@nishant-clevertap @akashvercetti any update on the above issue we are not able to build the app on ios? |
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"
The text was updated successfully, but these errors were encountered: