You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem description:
When trying to create the iOS app, I get the following error:
Failed to build iOS app
Could not build the precompiled application for the device.
Lexical or Preprocessor Issue (Xcode): Include of non-modular header inside framework module 'clevertap_plugin.CleverTapPluginAppFunctionPresenter': '/Users/alloyal-dev/Documents/Projects/lecupon-flutter/build/ios/Debug-iphoneos/CleverTap-iOS-SDK/CleverTapSDK.framework/Headers/CTTemplatePresenter.h'
/Users/alloyal-dev/.pub-cache/hosted/pub.dev/clevertap_plugin-3.0.0/ios/Classes/CleverTapPluginAppFunctionPresenter.h:2:8
Lexical or Preprocessor Issue (Xcode): Include of non-modular header inside framework module 'clevertap_plugin.CleverTapPluginTemplatePresenter': '/Users/alloyal-dev/Documents/Projects/lecupon-flutter/build/ios/Debug-iphoneos/CleverTap-iOS-SDK/CleverTapSDK.framework/Headers/CTTemplatePresenter.h'
/Users/alloyal-dev/.pub-cache/hosted/pub.dev/clevertap_plugin-3.0.0/ios/Classes/CleverTapPluginTemplatePresenter.h:8:8
Expected behavior:
The application must be run on a physical device.
The text was updated successfully, but these errors were encountered:
Hello @heitor598
Thanks for reporting this out. Just wanted to update about this, we have a fix but the update is still not released, should be fixed in upcoming release.
Xcode setting has been changed with the latest version of xcode, maybe apple is moving away from supporting the include of non-modular header inside framework modules. For now at least, referencing the xcode docs, if you add CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES set to YES as a User-Defined Build Setting you will be able to continue debugging.
Steps to solve
select the runner
go to build settings
scroll down to Apple Clang - Language - Modules
change the Allow Non-modular includes in Framework Modules to "Yes" (by default this is set to "No" now)
Problem description:
When trying to create the iOS app, I get the following error:
Expected behavior:
The application must be run on a physical device.
The text was updated successfully, but these errors were encountered: