uber_clone_with_flutter icon indicating copy to clipboard operation
uber_clone_with_flutter copied to clipboard

Hello I have issue building in ios simulator

Open ghost opened this issue 5 years ago • 0 comments

Roros-Air:ber_clone_with_flutter-master rojak$ flutter run Running "flutter pub get" in ber_clone_with_flutter-master... 25.4s

Launching lib/main.dart on iPhone Xʀ in debug mode...

Running pod install...
267.1s (!)
Running Xcode build...

Xcode build done. 64.1s Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED **

Xcode's output: ↳ /Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/ FMDatabase.m:1486:15: warning: 'sqlite3_wal_checkpoint_v2' is only available on iOS 5.0 or newer [-Wunguarded-availability] int err = sqlite3_wal_checkpoint_v2(_db, dbName, checkpointMode, logFrameCount, checkpointCount); ^~~~~~~~~~~~~~~~~~~~~~~~~ In module 'SQLite3' imported from /Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/ FMDatabase.m:8: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor m/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/include/sqlite3.h:8245:16: note: 'sqlite3_wal_checkpoint_v2' has been marked as being introduced in iOS 5.0 here, but the deployment target is iOS 4.3.0 SQLITE_API int sqlite3_wal_checkpoint_v2( ^ /Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/ FMDatabase.m:1486:15: note: enclose 'sqlite3_wal_checkpoint_v2' in an @available check to silence this warning int err = sqlite3_wal_checkpoint_v2(_db, dbName, checkpointMode, logFrameCount, checkpointCount); ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. /Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/ FMDatabaseQueue.m:101:9: warning: 'dispatch_queue_set_specific' is only available on iOS 5.0 or newer [-Wunguarded-availability] dispatch_queue_set_specific(_queue, kDispatchQueueSpecificKey, (__bridge void *)self, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In module 'Foundation' imported from /Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/ FMDatabaseQueue.h:9: In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor m/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/Foundatio n.framework/Headers/Foundation.h:6: In module 'Dispatch' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor m/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/CoreFound ation.framework/Headers/CFStream.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor m/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/include/dispatch/queue.h:1352:1 : note: 'dispatch_queue_set_specific' has been marked as being introduced in iOS 5.0 here, but the deployment target is iOS 4.3.0 dispatch_queue_set_specific(dispatch_queue_t queue, const void *key, ^ /Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/ FMDatabaseQueue.m:101:9: note: enclose 'dispatch_queue_set_specific' in an @available check to silence this warning dispatch_queue_set_specific(_queue, kDispatchQueueSpecificKey, (__bridge void *)self, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/ FMDatabaseQueue.m:184:54: warning: 'dispatch_get_specific' is only available on iOS 5.0 or newer [-Wunguarded-availability] FMDatabaseQueue *currentSyncQueue = (__bridge id)dispatch_get_specific(kDispatchQueueSpecificKey); ^~~~~~~~~~~~~~~~~~~~~ In module 'Foundation' imported from /Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/ FMDatabaseQueue.h:9: In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor m/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/Foundatio n.framework/Headers/Foundation.h:6: In module 'Dispatch' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor m/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/CoreFound ation.framework/Headers/CFStream.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor m/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/include/dispatch/queue.h:1408:1 : note: 'dispatch_get_specific' has been marked as being introduced in iOS 5.0 here, but the deployment target is iOS 4.3.0 dispatch_get_specific(const void *key); ^ /Users/rojak/Downloads/ber_clone_with_flutter-master/ios/Pods/FMDB/src/fmdb/ FMDatabaseQueue.m:184:54: note: enclose 'dispatch_get_specific' in an @available check to silence this warning FMDatabaseQueue *currentSyncQueue = (__bridge id)dispatch_get_specific(kDispatchQueueSpecificKey); ^~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. /Users/rojak/developer/flutter/.pub-cache/hosted/pub.dartlang.org/geoflutter fire-2.0.3+3/ios/Classes/GeoflutterfirePlugin.m:2:9: fatal error: 'geoflutterfire/geoflutterfire-Swift.h' file not found #import <geoflutterfire/geoflutterfire-Swift.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.

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

ghost avatar Sep 22 '19 03:09 ghost