GetMetaMap / metamap-flutter-plugin

Flutter plugin for Mati SDK
MIT License
2 stars 8 forks source link

Error compiling in iOS #29

Closed nestorsgarzonc closed 6 months ago

nestorsgarzonc commented 10 months ago

Hi, I'm using the last version of the plugin metamap_plugin_flutter: ^4.2.0 but I get the following error:

Swift Compiler Error (Xcode): No such module 'Sentry'
/Users/X/Desktop/app/build/ios/Debug-X-iphonesimulator/XCFrameworkIntermediates/MetaMapSDK/MetaMapSDK.framework/Modules/MetaMapSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface:25:7

Swift Compiler Error (Xcode): Failed to build module 'MetaMapSDK' for importation due to the errors above; the textual interface may be broken by project issues or a compiler bug
/Users/X/.pub-cache/hosted/pub.dev/metamap_plugin_flutter-4.2.0/ios/Classes/SwiftMetaMapPluginFlutterPlugin.swift:2:7

How I can solve it? I'm using the last version of flutter and xcode.

codeflames commented 9 months ago

same issue here.

AvoSukiasyan commented 9 months ago

please use 4.1.9 stable version until we'll fix the issue.

codeflames commented 9 months ago

Versions 4.1.8 and the latest 4.2.8 worked for me. Thank you @AvoSukiasyan .

nestorsgarzonc commented 9 months ago

@AvoSukiasyan I'm using the last version but I get this error:

Swift Compiler Error (Xcode): Compiling for iOS 12.0, but module 'Sentry' has a minimum deployment target of iOS 13.0: /Users/X/Desktop/app/build/ios/Debug-X-iphonesimulator/Sentry/Sentry.framework/Modules/Sentry.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
/Users/X/Desktop/app/build/ios/Debug-X-iphonesimulator/XCFrameworkIntermediates/MetaMapSDK/MetaMapSDK.framework/Modules/MetaMapSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface:25:7

Swift Compiler Error (Xcode): Failed to build module 'MetaMapSDK' for importation due to the errors above; the textual interface may be broken by project issues or a compiler bug
/Users/X/.pub-cache/hosted/pub.dev/metamap_plugin_flutter-4.2.8/ios/Classes/SwiftMetaMapPluginFlutterPlugin.swift:2:7

Uncategorized (Xcode): Command SwiftCompile failed with a nonzero exit code

I need to use iOS 13.0 as minimum deployment target

AvoSukiasyan commented 9 months ago

hi @nestorsgarzonc . i know about it. working on it . minimum support version needs to be 12. will fix the issue related to Sentry as soon as possible and inform you

AvoSukiasyan commented 9 months ago

I fixed the issue. next week we have release and this fix will be incluede cc: @nestorsgarzonc @codeflames

nestorsgarzonc commented 9 months ago

@AvoSukiasyan do you have any update about the fix?