Closed
Description
- MobileMessaging SDK version: 2.8.1
- Xcode version: 8.3.3
- Your application language: Objective-C
- Cocoapods version: 1.3.1
- How do you integrate MobileMessaging SDK with your code?: "App delegate composition"?
I have old project on Objective c++.
I have this error message when type '@import', file is c++ file .mm what can i do?
AppDelegate.mm: Use of '@import' when C++ modules are disabled, consider using fmodules and fcxx-modules
Activity
stanislavin commentedon Sep 7, 2017
Hi @torodavit, sorry for delayed response.
Can you please try adding
-fcxx-modules
to C++ compiler flags for Debug/Release and let me know if it fixes your issue.torodavit commentedon Sep 11, 2017
Thanks, it's work.
UmeshChaudhari6057 commentedon Oct 21, 2021
Thanks its work
lucasoliveiraw00 commentedon Oct 10, 2022
Hi, I have the same problem, do you have any recommendations?