-
Notifications
You must be signed in to change notification settings - Fork 509
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 iOS import statement #64
Comments
I had the same problem and was able to work around it by removing the
After fixing that I encountered more compiler issues. I was able to resolve them by opening the I also updated the Mapbox-iOS-SDK to version 4.9 Using Xcode 10.2 w swift 5.0 |
Managed to fix it, all I did was to add //uses frameworks! On the pod file
… On 14 Apr 2019, at 03:37, James Avyaz ***@***.***> wrote:
I had the same problem and was able to work around it by removing the mapbox_gl/ portion of the import statement.
#import <mapbox_gl-Swift.h>
After fixing that I encountered more compiler issues. I was able to resolve them by opening the Runner.xcworkspace and applying the recommend fixes. I also had to create a dummy .swift file as mentioned here https://stackoverflow.com/questions/50096025/it-gives-errors-when-using-swift-static-library-with-objective-c-project/50495316#50495316 <https://stackoverflow.com/questions/50096025/it-gives-errors-when-using-swift-static-library-with-objective-c-project/50495316#50495316>
I also updated the Mapbox-iOS-SDK to version 4.9
Using Xcode 10.2 w swift 5.0
Managed to get everything working
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#64 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AvLY0XuGke2BsTycA2t0rzCERuE1OpBFks5vgoZEgaJpZM4cmJ5x>.
|
Hi I have the error:
=== BUILD TARGET mapbox_gl OF PROJECT Pods WITH CONFIGURATION Debug ===
/Users/macbookpro/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/mapbox_gl-0.0.3/ios/Classes/MapboxMapsPlugin.m:1:9: fatal error: 'mapbox_gl/mapbox_gl-Swift.h' file not found
#import <mapbox_gl/mapbox_gl-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
I am trying to run the app on the simulator and iPhone 5s I get this type of error, anyone know how to fix this?
Thank you in advance
The text was updated successfully, but these errors were encountered: