Skip to content

Instantly share code, notes, and snippets.

@elvisun
Created July 30, 2020 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elvisun/caca2c1de0bf27eb7900a9bf4ffb3137 to your computer and use it in GitHub Desktop.
Save elvisun/caca2c1de0bf27eb7900a9bf4ffb3137 to your computer and use it in GitHub Desktop.
Launching lib/main.dart on iPhone SE (2nd generation) 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 Xcode build...
Xcode build done. 6.9s
Failed to build iOS app
Error output from Xcode build:
** BUILD FAILED **
Xcode's output:
/Users/elvissun/Documents/GitHub/flutterfire/packages/firebase_ml_custom/ios/Classes/FLTModelManager.m:45:39: warning: unused variable 'strongSelf' [-Wunused-variable]
__strong typeof(self) strongSelf = weakSelf;
^
/Users/elvissun/Documents/GitHub/flutterfire/packages/firebase_ml_custom/ios/Classes/FLTModelManager.m:66:39: warning: unused variable 'strongSelf' [-Wunused-variable]
__strong typeof(self) strongSelf = weakSelf;
^
/Users/elvissun/Documents/GitHub/flutterfire/packages/firebase_ml_custom/ios/Classes/FLTModelManager.m:78:7: error: no visible @interface for 'FIRModelManager' declares the selector 'getLatestModelFilePath:completion:'
getLatestModelFilePath:remoteModel
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings and 1 error generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: Mapping architecture armv7 to i386. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'FirebaseMLModelInterpreter' from project 'Pods')
warning: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'FirebaseMLModelInterpreter' from project 'Pods')
warning: Mapping architecture armv7 to i386. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'TensorFlowLiteObjC' from project 'Pods')
warning: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'TensorFlowLiteObjC' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.6.99. (in target 'GTMSessionFetcher' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.6.99. (in target 'Protobuf' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.6.99. (in target 'nanopb' from project 'Pods')
Could not build the application for the simulator.
Error launching application on iPhone SE (2nd generation).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment