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

Can't run example on iOS #786

Closed
johnpryan opened this issue Dec 4, 2020 · 1 comment · Fixed by #787
Closed

Can't run example on iOS #786

johnpryan opened this issue Dec 4, 2020 · 1 comment · Fixed by #787
Labels
bug This issue reports broken functionality or another error

Comments

@johnpryan
Copy link
Collaborator

 flutter run -d iphone
Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
Warning: Missing build name (CFBundleShortVersionString).
Warning: Missing build number (CFBundleVersion).
Action Required: You must set a build name and number in the pubspec.yaml file version field before submitting to the App Store.
Running pod install...                                              1.4s
Running Xcode build...                                                  
Xcode build done.                                            3.5s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    In file included from /Users/john/code/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.24/ios/Classes/FLTPathProviderPlugin.m:5:
    /Users/john/code/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.24/ios/Classes/FLTPathProviderPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import <Flutter/Flutter.h>
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    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 14.2.99. (in target
    'path_provider' from project 'Pods')
    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 14.2.99. (in target
    'FMDB' from project 'Pods')
    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 14.2.99. (in target
    'location' from project 'Pods')
    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 14.2.99. (in target
    'Flutter' from project 'Pods')
    warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the
    Runner editor. (in target 'Runner' from project 'Runner')
@johnpryan johnpryan added the bug This issue reports broken functionality or another error label Dec 4, 2020
johnpryan added a commit that referenced this issue Dec 4, 2020
* remove mbtiles and sqlflite dependency

* remove mbtiles tile provider + sqflite dependency

fixes #786

* remove example/test/widget_test
@Shub-29
Copy link

Shub-29 commented Dec 14, 2020

Can we show offline tiles map through any other way? I am looking into non-static offline maps

escamoteur pushed a commit to escamoteur/flutter_map that referenced this issue Jan 6, 2021
* remove mbtiles and sqlflite dependency

* remove mbtiles tile provider + sqflite dependency

fixes fleaflet#786

* remove example/test/widget_test
johnpryan added a commit that referenced this issue Jan 8, 2021
* patched version

* V0.10.2

* fix if PolylineOption.borderColor==null

* Fixup build errors for the web example (#782)

* Add new required environment spec

Otherwise flutter throws an error and abort building.

Fixes #774

* Update usage of API for text colors

As suggested by joselbr2099 the API have changed in flutter. Replace
only colors parameter with textColor.

Fixes #774

* remove mbtiles tile provider + sqflite dependency (#787)

* remove mbtiles and sqlflite dependency

* remove mbtiles tile provider + sqflite dependency

fixes #786

* remove example/test/widget_test

* updated to latest master version

* formatting code

Co-authored-by: nickoe <oe.nick@gmail.com>
Co-authored-by: John Ryan <ryjohn@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue reports broken functionality or another error
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants