Skip to content
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

error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: #5

Open
jagrajsingh-betaflux opened this issue Mar 28, 2022 · 0 comments

Comments

@jagrajsingh-betaflux
Copy link

I am trying to integrate the package in one of my applications but I am getting this error.
Could you guys help me out with this?
Thank You

Launching lib/main.dart on iPhone 11 in debug mode...
Running pod install...
Running Xcode build...
Xcode build done.                                           23.7s
Failed to build iOS app
Error output from Xcode build:
↳
    2022-03-28 11:30:16.312 xcodebuild[90014:3297550] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
    2022-03-28 11:30:16.313 xcodebuild[90014:3297550] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
    ** BUILD FAILED **


Xcode's output:
↳
    Writing result bundle at path:
    	/var/folders/1h/b_8b71y52jv74bffq0znb_tm0000gn/T/flutter_tools.xbEIek/flutter_ios_build_temp_dirDOHqDS/temporary_xcresult_bundle

    <unknown>:0: error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework/Modules/MapmyIndiaAPIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
    <unknown>:0: error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework/Modules/MapmyIndiaAPIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
    <unknown>:0: error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework/Modules/MapmyIndiaAPIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
    <unknown>:0: error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework/Modules/MapmyIndiaAPIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
    Command EmitSwiftModule failed with a nonzero exit code
    <unknown>:0: error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework/Modules/MapmyIndiaAPIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
    <unknown>:0: error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework/Modules/MapmyIndiaAPIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
    <unknown>:0: error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework/Modules/MapmyIndiaAPIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
    <unknown>:0: error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework/Modules/MapmyIndiaAPIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
    <unknown>:0: error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework/Modules/MapmyIndiaAPIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
    <unknown>:0: error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework/Modules/MapmyIndiaAPIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
    <unknown>:0: error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework/Modules/MapmyIndiaAPIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
    <unknown>:0: error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework/Modules/MapmyIndiaAPIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
    <unknown>:0: error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework/Modules/MapmyIndiaAPIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
    error: emit-module command failed with exit code 1 (use -v to see invocation)
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:238:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *interactiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:240:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *visibleInteractiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:
    #import "MGLMapViewDelegate.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapViewDelegate.h:25:38: error: expected a type
    - (void)didDetectCovidInfo:(nullable MapmyIndiaCovidInfo *)covidInfo;
                                         ^
    /Users/jagrajsinghji/flutter/.pub-cache/hosted/pub.dartlang.org/mapmyindia_gl-0.2.2/ios/Classes/Constants.swift:1:8: error: could not build Objective-C module 'MapmyIndiaMaps'
    import MapmyIndiaMaps
           ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:238:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *interactiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:240:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *visibleInteractiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:
    #import "MGLMapViewDelegate.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapViewDelegate.h:25:38: error: expected a type
    - (void)didDetectCovidInfo:(nullable MapmyIndiaCovidInfo *)covidInfo;
                                         ^
    /Users/jagrajsinghji/flutter/.pub-cache/hosted/pub.dartlang.org/mapmyindia_gl-0.2.2/ios/Classes/Constants.swift:1:8: error: could not build Objective-C module 'MapmyIndiaMaps'
    import MapmyIndiaMaps
           ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:238:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *interactiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:240:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *visibleInteractiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:
    #import "MGLMapViewDelegate.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapViewDelegate.h:25:38: error: expected a type
    - (void)didDetectCovidInfo:(nullable MapmyIndiaCovidInfo *)covidInfo;
                                         ^
    /Users/jagrajsinghji/flutter/.pub-cache/hosted/pub.dartlang.org/mapmyindia_gl-0.2.2/ios/Classes/Constants.swift:1:8: error: could not build Objective-C module 'MapmyIndiaMaps'
    import MapmyIndiaMaps
           ^
    Command EmitSwiftModule failed with a nonzero exit code
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:238:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *interactiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:240:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *visibleInteractiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:
    #import "MGLMapViewDelegate.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapViewDelegate.h:25:38: error: expected a type
    - (void)didDetectCovidInfo:(nullable MapmyIndiaCovidInfo *)covidInfo;
                                         ^
    /Users/jagrajsinghji/flutter/.pub-cache/hosted/pub.dartlang.org/mapmyindia_gl-0.2.2/ios/Classes/Constants.swift:1:8: error: could not build Objective-C module 'MapmyIndiaMaps'
    import MapmyIndiaMaps
           ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:238:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *interactiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:240:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *visibleInteractiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:
    #import "MGLMapViewDelegate.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapViewDelegate.h:25:38: error: expected a type
    - (void)didDetectCovidInfo:(nullable MapmyIndiaCovidInfo *)covidInfo;
                                         ^
    /Users/jagrajsinghji/flutter/.pub-cache/hosted/pub.dartlang.org/mapmyindia_gl-0.2.2/ios/Classes/Constants.swift:1:8: error: could not build Objective-C module 'MapmyIndiaMaps'
    import MapmyIndiaMaps
           ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:238:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *interactiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:240:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *visibleInteractiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:
    #import "MGLMapViewDelegate.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapViewDelegate.h:25:38: error: expected a type
    - (void)didDetectCovidInfo:(nullable MapmyIndiaCovidInfo *)covidInfo;
                                         ^
    /Users/jagrajsinghji/flutter/.pub-cache/hosted/pub.dartlang.org/mapmyindia_gl-0.2.2/ios/Classes/Constants.swift:1:8: error: could not build Objective-C module 'MapmyIndiaMaps'
    import MapmyIndiaMaps
           ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:238:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *interactiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:240:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *visibleInteractiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:
    #import "MGLMapViewDelegate.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapViewDelegate.h:25:38: error: expected a type
    - (void)didDetectCovidInfo:(nullable MapmyIndiaCovidInfo *)covidInfo;
                                         ^
    /Users/jagrajsinghji/flutter/.pub-cache/hosted/pub.dartlang.org/mapmyindia_gl-0.2.2/ios/Classes/Constants.swift:1:8: error: could not build Objective-C module 'MapmyIndiaMaps'
    import MapmyIndiaMaps
           ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:238:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *interactiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:240:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *visibleInteractiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:
    #import "MGLMapViewDelegate.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapViewDelegate.h:25:38: error: expected a type
    - (void)didDetectCovidInfo:(nullable MapmyIndiaCovidInfo *)covidInfo;
                                         ^
    /Users/jagrajsinghji/flutter/.pub-cache/hosted/pub.dartlang.org/mapmyindia_gl-0.2.2/ios/Classes/Constants.swift:1:8: error: could not build Objective-C module 'MapmyIndiaMaps'
    import MapmyIndiaMaps
           ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:238:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *interactiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:240:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *visibleInteractiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:
    #import "MGLMapViewDelegate.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapViewDelegate.h:25:38: error: expected a type
    - (void)didDetectCovidInfo:(nullable MapmyIndiaCovidInfo *)covidInfo;
                                         ^
    /Users/jagrajsinghji/flutter/.pub-cache/hosted/pub.dartlang.org/mapmyindia_gl-0.2.2/ios/Classes/Constants.swift:1:8: error: could not build Objective-C module 'MapmyIndiaMaps'
    import MapmyIndiaMaps
           ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:238:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *interactiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:240:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *visibleInteractiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:
    #import "MGLMapViewDelegate.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapViewDelegate.h:25:38: error: expected a type
    - (void)didDetectCovidInfo:(nullable MapmyIndiaCovidInfo *)covidInfo;
                                         ^
    /Users/jagrajsinghji/flutter/.pub-cache/hosted/pub.dartlang.org/mapmyindia_gl-0.2.2/ios/Classes/Constants.swift:1:8: error: could not build Objective-C module 'MapmyIndiaMaps'
    import MapmyIndiaMaps
           ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:238:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *interactiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:26:
    #import "MGLMapView.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:240:51: error: unknown type name 'MapmyIndiaInteractiveLayer'
    @property (nonatomic, readonly, nullable) NSArray<MapmyIndiaInteractiveLayer *> *visibleInteractiveLayers;
                                                      ^
    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/MapmyIndiaMaps.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:9: note: in file included from /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MapmyIndiaMaps.h:28:
    #import "MGLMapViewDelegate.h"
            ^
    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapViewDelegate.h:25:38: error: expected a type
    - (void)didDetectCovidInfo:(nullable MapmyIndiaCovidInfo *)covidInfo;
                                         ^
    /Users/jagrajsinghji/flutter/.pub-cache/hosted/pub.dartlang.org/mapmyindia_gl-0.2.2/ios/Classes/Constants.swift:1:8: error: could not build Objective-C module 'MapmyIndiaMaps'
    import MapmyIndiaMaps
           ^
    error: emit-module command failed with exit code 1 (use -v to see invocation)
    note: Using new build system
    note: Planning
    note: Build preparation complete
    note: Building targets in dependency order
    note: Removed stale file '/Users/jagrajsinghji/Library/Developer/Xcode/DerivedData/Runner-bafnspmndgteurhitooxpfyfnglz/Build/Products/Debug-iphonesimulator/MapmyIndiaAnnotationExtension/MapmyIndiaAnnotationExtension.framework.dSYM'

    note: Removed stale file '/Users/jagrajsinghji/Library/Developer/Xcode/DerivedData/Runner-bafnspmndgteurhitooxpfyfnglz/Build/Products/Debug-iphonesimulator/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework.dSYM'

    note: Removed stale file '/Users/jagrajsinghji/Library/Developer/Xcode/DerivedData/Runner-bafnspmndgteurhitooxpfyfnglz/Build/Products/Debug-iphonesimulator/MapmyIndiaDirections/MapmyIndiaDirections.framework.dSYM'

    /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.4.99. (in target 'FMDB' from project 'Pods')
    note: Removed stale file '/Users/jagrajsinghji/Library/Developer/Xcode/DerivedData/Runner-bafnspmndgteurhitooxpfyfnglz/Build/Products/Debug-iphonesimulator/MapmyIndiaMaps/MapmyIndiaMaps.framework.dSYM'

    note: Removed stale file '/Users/jagrajsinghji/Library/Developer/Xcode/DerivedData/Runner-bafnspmndgteurhitooxpfyfnglz/Build/Products/Debug-iphonesimulator/mapmyindia_gl/mapmyindia_gl.framework'


    Result bundle written to path:
    	/var/folders/1h/b_8b71y52jv74bffq0znb_tm0000gn/T/flutter_tools.xbEIek/flutter_ios_build_temp_dirDOHqDS/temporary_xcresult_bundle


Swift Compiler Error (Xcode): Module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler: /Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaAPIKit/MapmyIndiaAPIKit.framework/Modules/MapmyIndiaAPIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule

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

Swift Compiler Error (Xcode): Unknown type name 'MapmyIndiaInteractiveLayer'
/Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:237:50

Swift Compiler Error (Xcode): Unknown type name 'MapmyIndiaInteractiveLayer'
/Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapView.h:239:50

Swift Compiler Error (Xcode): Expected a type
/Users/jagrajsinghji/betaflux_projects/uv/uv_mobile_app/ios/Pods/MapmyIndiaMaps/MapmyIndiaMaps.framework/Headers/MGLMapViewDelegate.h:24:37

Swift Compiler Error (Xcode): Could not build Objective-C module 'MapmyIndiaMaps'
/Users/jagrajsinghji/flutter/.pub-cache/hosted/pub.dartlang.org/mapmyindia_gl-0.2.2/ios/Classes/Constants.swift:0:7

Could not build the application for the simulator.
Error launching application on iPhone 11.

Here's flutter doctor response

[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.61.0)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant