flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
163.73k stars 26.93k forks source link

iOS run doesn't work for second time #57832

Closed apgapg closed 4 years ago

apgapg commented 4 years ago

Steps to Reproduce

First time running ios app in debug mode on ios simulator works fine but on stopping and running it second time it gives error.

Logs ``` Launching lib/main_prod.dart on iPhone 8 Plus 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. 120.8s Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED ** Xcode's output: ↳ 1 warning generated. /Users/ayushpgupta/development/flutter/.pub-cache/git/flutter_qrcode_reader-ff0a26bd0ec6ef1ddfc5a6122e536f592e884077/ios/Classes/QRCodeReaderPlugin.m:138:42: warning: 'defaultDeviceWithDeviceType:mediaType:position:' is only available on iOS 10.0 or newer [-Wunguarded-availability] captureDevice = [AVCaptureDevice defaultDeviceWithDeviceType: AVCaptureDeviceTypeBuiltInWideAngleCamera ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In module 'AVFoundation' imported from /Users/ayushpgupta/development/flutter/.pub-cache/git/flutter_qrcode_reader-ff0a26bd0ec6ef1ddfc5a6122e536f592e884077/ios/Classes/QRCodeReaderPlugin.h:6: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:558:1: note: 'defaultDeviceWithDeviceType:mediaType:position:' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0 + (nullable AVCaptureDevice *)defaultDeviceWithDeviceType:(AVCaptureDeviceType)deviceType mediaType:(nullable AVMediaType)mediaType position:(AVCaptureDevicePosition)position API_AVAILABLE(macos(10.15), ios(10.0)); ^ /Users/ayushpgupta/development/flutter/.pub-cache/git/flutter_qrcode_reader-ff0a26bd0ec6ef1ddfc5a6122e536f592e884077/ios/Classes/QRCodeReaderPlugin.m:138:42: note: enclose 'defaultDeviceWithDeviceType:mediaType:position:' in an @available check to silence this warning captureDevice = [AVCaptureDevice defaultDeviceWithDeviceType: AVCaptureDeviceTypeBuiltInWideAngleCamera ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ayushpgupta/development/flutter/.pub-cache/git/flutter_qrcode_reader-ff0a26bd0ec6ef1ddfc5a6122e536f592e884077/ios/Classes/QRCodeReaderPlugin.m:138:71: warning: 'AVCaptureDeviceTypeBuiltInWideAngleCamera' is only available on iOS 10.0 or newer [-Wunguarded-availability] captureDevice = [AVCaptureDevice defaultDeviceWithDeviceType: AVCaptureDeviceTypeBuiltInWideAngleCamera ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In module 'AVFoundation' imported from /Users/ayushpgupta/development/flutter/.pub-cache/git/flutter_qrcode_reader-ff0a26bd0ec6ef1ddfc5a6122e536f592e884077/ios/Classes/QRCodeReaderPlugin.h:6: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:447:38: note: 'AVCaptureDeviceTypeBuiltInWideAngleCamera' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0 AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInWideAngleCamera API_AVAILABLE(macos(10.15), ios(10.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED; ^ /Users/ayushpgupta/development/flutter/.pub-cache/git/flutter_qrcode_reader-ff0a26bd0ec6ef1ddfc5a6122e536f592e884077/ios/Classes/QRCodeReaderPlugin.m:138:71: note: enclose 'AVCaptureDeviceTypeBuiltInWideAngleCamera' in an @available check to silence this warning captureDevice = [AVCaptureDevice defaultDeviceWithDeviceType: AVCaptureDeviceTypeBuiltInWideAngleCamera ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. 1 warning generated. In file included from /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:2: /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '@param' command [-Wdocumentation] @param sharedStyle ~~~~~~~~~~~~~~~~~^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '@param' command [-Wdocumentation] @param allowTapToDismiss ~~~~~~~~~~~~~~~~~~~~~~~^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function declaration [-Wdocumentation] @param allowTapToDismiss ^~~~~~~~~~~~~~~~~ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'? @param allowTapToDismiss ^~~~~~~~~~~~~~~~~ tapToDismissEnabled /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '@param' command [-Wdocumentation] @param queueEnabled ~~~~~~~~~~~~~~~~~~^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:19:23: warning: unused variable 'viewController' [-Wunused-variable] UIViewController *viewController = ^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:70:21: warning: unused variable 'topPadding' [-Wunused-variable] CGFloat topPadding = window.safeAreaInsets.top; ^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:71:21: warning: unused variable 'bottomPadding' [-Wunused-variable] CGFloat bottomPadding = window.safeAreaInsets.bottom; ^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:48:19: warning: unused variable 'size' [-Wunused-variable] NSNumber *size = call.arguments[@"size"]; ^ 8 warnings generated. 9 warnings generated. /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:257:26: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer [-Wunguarded-availability] _capturePhotoOutput = [AVCapturePhotoOutput new]; ^~~~~~~~~~~~~~~~~~~~ In module 'AVFoundation' imported from /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:48:12: note: 'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0 @interface AVCapturePhotoOutput : AVCaptureOutput ^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:257:26: note: enclose 'AVCapturePhotoOutput' in an @available check to silence this warning _capturePhotoOutput = [AVCapturePhotoOutput new]; ^~~~~~~~~~~~~~~~~~~~ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:3: warning: 'AVCapturePhotoSettings' is only available on iOS 10.0 or newer [-Wunguarded-availability] AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings]; ^~~~~~~~~~~~~~~~~~~~~~ In module 'AVFoundation' imported from /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:777:12: note: 'AVCapturePhotoSettings' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0 @interface AVCapturePhotoSettings : NSObject ^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:3: note: enclose 'AVCapturePhotoSettings' in an @available check to silence this warning AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings]; ^~~~~~~~~~~~~~~~~~~~~~ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:39: warning: 'AVCapturePhotoSettings' is only available on iOS 10.0 or newer [-Wunguarded-availability] AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings]; ^~~~~~~~~~~~~~~~~~~~~~ In module 'AVFoundation' imported from /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:777:12: note: 'AVCapturePhotoSettings' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0 @interface AVCapturePhotoSettings : NSObject ^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:39: note: enclose 'AVCapturePhotoSettings' in an @available check to silence this warning AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings]; ^~~~~~~~~~~~~~~~~~~~~~ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:299:48: warning: 'AVCaptureSessionPreset3840x2160' is only available on iOS 9.0 or newer [-Wunguarded-availability] if ([_captureSession canSetSessionPreset:AVCaptureSessionPreset3840x2160]) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In module 'AVFoundation' imported from /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:130:41: note: 'AVCaptureSessionPreset3840x2160' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0 AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160 API_AVAILABLE(macos(10.15), ios(9.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED; ^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:299:48: note: enclose 'AVCaptureSessionPreset3840x2160' in an @available check to silence this warning if ([_captureSession canSetSessionPreset:AVCaptureSessionPreset3840x2160]) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:300:41: warning: 'AVCaptureSessionPreset3840x2160' is only available on iOS 9.0 or newer [-Wunguarded-availability] _captureSession.sessionPreset = AVCaptureSessionPreset3840x2160; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In module 'AVFoundation' imported from /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:130:41: note: 'AVCaptureSessionPreset3840x2160' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0 AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160 API_AVAILABLE(macos(10.15), ios(9.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED; ^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:300:41: note: enclose 'AVCaptureSessionPreset3840x2160' in an @available check to silence this warning _captureSession.sessionPreset = AVCaptureSessionPreset3840x2160; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:850:10: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self] [_registry textureFrameAvailable:textureId]; ^ self-> /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:5: warning: 'AVCaptureDeviceDiscoverySession' is only available on iOS 10.0 or newer [-Wunguarded-availability] AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In module 'AVFoundation' imported from /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1876:12: note: 'AVCaptureDeviceDiscoverySession' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0 @interface AVCaptureDeviceDiscoverySession : NSObject ^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:5: note: enclose 'AVCaptureDeviceDiscoverySession' in an @available check to silence this warning AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:58: warning: 'AVCaptureDeviceDiscoverySession' is only available on iOS 10.0 or newer [-Wunguarded-availability] AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In module 'AVFoundation' imported from /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1876:12: note: 'AVCaptureDeviceDiscoverySession' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0 @interface AVCaptureDeviceDiscoverySession : NSObject ^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:58: note: enclose 'AVCaptureDeviceDiscoverySession' in an @available check to silence this warning AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:805:44: warning: 'AVCaptureDeviceTypeBuiltInWideAngleCamera' is only available on iOS 10.0 or newer [-Wunguarded-availability] discoverySessionWithDeviceTypes:@[ AVCaptureDeviceTypeBuiltInWideAngleCamera ] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In module 'AVFoundation' imported from /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:447:38: note: 'AVCaptureDeviceTypeBuiltInWideAngleCamera' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0 AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInWideAngleCamera API_AVAILABLE(macos(10.15), ios(10.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED; ^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:805:44: note: enclose 'AVCaptureDeviceTypeBuiltInWideAngleCamera' in an @available check to silence this warning discoverySessionWithDeviceTypes:@[ AVCaptureDeviceTypeBuiltInWideAngleCamera ] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_config-0.3.0+3/ios/Classes/FirebaseRemoteConfigPlugin.m:52:65: warning: 'isDeveloperModeEnabled' is deprecated: This no longer needs to be set during development. Refer to documentation for additional details. [-Wdeprecated-declarations] [[NSNumber alloc] initWithBool:[firRemoteConfigSettings isDeveloperModeEnabled]]; ^ In module 'FirebaseRemoteConfig' imported from /Users/ayushpgupta/StudioProjects/workozy_app/ios/Pods/Headers/Public/Firebase/Firebase.h:146: /Users/ayushpgupta/StudioProjects/workozy_app/ios/Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Sources/Public/FIRRemoteConfig.h:141:37: note: property 'isDeveloperModeEnabled' is declared deprecated here @property(nonatomic, readonly) BOOL isDeveloperModeEnabled DEPRECATED_MSG_ATTRIBUTE( ^ /Users/ayushpgupta/StudioProjects/workozy_app/ios/Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Sources/Public/FIRRemoteConfig.h:141:60: note: 'isDeveloperModeEnabled' has been explicitly marked deprecated here @property(nonatomic, readonly) BOOL isDeveloperModeEnabled DEPRECATED_MSG_ATTRIBUTE( ^ In module 'UIKit' imported from /Users/ayushpgupta/StudioProjects/workozy_app/ios/Pods/Target Support Files/firebase_remote_config/firebase_remote_config-prefix.pch:2: In module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8: In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6: In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h:182:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE' #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s))) ^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_config-0.3.0+3/ios/Classes/FirebaseRemoteConfigPlugin.m:61:42: warning: 'initWithDeveloperModeEnabled:' is deprecated: This no longer needs to be set during development. Refer to documentation for additional details. [-Wdeprecated-declarations] [[FIRRemoteConfigSettings alloc] initWithDeveloperModeEnabled:debugMode]; ^ In module 'FirebaseRemoteConfig' imported from /Users/ayushpgupta/StudioProjects/workozy_app/ios/Pods/Headers/Public/Firebase/Firebase.h:146: /Users/ayushpgupta/StudioProjects/workozy_app/ios/Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Sources/Public/FIRRemoteConfig.h:148:5: note: 'initWithDeveloperModeEnabled:' has been explicitly marked deprecated here DEPRECATED_MSG_ATTRIBUTE("This no longer needs to be set during development. Refer to " ^ In module 'UIKit' imported from /Users/ayushpgupta/StudioProjects/workozy_app/ios/Pods/Target Support Files/firebase_remote_config/firebase_remote_config-prefix.pch:2: In module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8: In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6: In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h:182:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE' #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s))) ^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_config-0.3.0+3/ios/Classes/FirebaseRemoteConfigPlugin.m:108:54: warning: 'activateFetched' is deprecated: Use -[FIRRemoteConfig activate] instead. [-Wdeprecated-declarations] BOOL newConfig = [[FIRRemoteConfig remoteConfig] activateFetched]; ^ In module 'FirebaseRemoteConfig' imported from /Users/ayushpgupta/StudioProjects/workozy_app/ios/Pods/Headers/Public/Firebase/Firebase.h:146: /Users/ayushpgupta/StudioProjects/workozy_app/ios/Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Sources/Public/FIRRemoteConfig.h:245:25: note: 'activateFetched' has been explicitly marked deprecated here - (BOOL)activateFetched DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig activate] " ^ In module 'UIKit' imported from /Users/ayushpgupta/StudioProjects/workozy_app/ios/Pods/Target Support Files/firebase_remote_config/firebase_remote_config-prefix.pch:2: In module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8: In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6: In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h:182:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE' #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s))) ^ /Users/ayushpgupta/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_config-0.3.0+3/ios/Classes/FirebaseRemoteConfigPlugin.m:139:40: warning: 'allKeysFromSource:namespace:' is deprecated: Use -[FIRRemoteConfig allKeysFromSource:] instead. [-Wdeprecated-declarations] NSArray *defaultKeys = [remoteConfig allKeysFromSource:FIRRemoteConfigSourceDefault ^ In module 'FirebaseRemoteConfig' imported from /Users/ayushpgupta/StudioProjects/workozy_app/ios/Pods/Headers/Public/Firebase/Firebase.h:146: /Users/ayushpgupta/StudioProjects/workozy_app/ios/Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Sources/Public/FIRRemoteConfig.h:300:5: note: 'allKeysFromSource:namespace:' has been explicitly marked deprecated here DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig allKeysFromSource:] instead."); ^ In module 'UIKit' imported from /Users/ayushpgupta/StudioProjects/workozy_app/ios/Pods/Target Support Files/firebase_remote_config/firebase_remote_config-prefix.pch:2: In module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8: In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6: In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h:182:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE' #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s))) ^ 4 warnings generated. 6 warnings generated. building file list ... done deleting App.framework/_CodeSignature/CodeResources deleting App.framework/_CodeSignature/ App.framework/ App.framework/App App.framework/flutter_assets/AssetManifest.json App.framework/flutter_assets/FontManifest.json App.framework/flutter_assets/LICENSE App.framework/flutter_assets/kernel_blob.bin App.framework/flutter_assets/ios/ App.framework/flutter_assets/ios/Flutter/ App.framework/flutter_assets/ios/Flutter/App.framework/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/android_intent/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/android_intent/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/camera/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/camera/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/connectivity/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/connectivity/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/connectivity_macos/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/connectivity_macos/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/contact_picker/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/contact_picker/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/device_info/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/device_info/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/file_picker/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/file_picker/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/firebase_analytics/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/firebase_analytics/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/firebase_messaging/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/firebase_messaging/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/firebase_remote_config/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/firebase_remote_config/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/flutter_keyboard_visibility/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/flutter_keyboard_visibility/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/flutter_plugin_android_lifecycle/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/flutter_plugin_android_lifecycle/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/flutter_webview_plugin/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/flutter_webview_plugin/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/fluttertoast/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/fluttertoast/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/geocoder/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/geocoder/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/geolocator/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/geolocator/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/google_api_availability/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/google_api_availability/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/google_maps_flutter/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/google_maps_flutter/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/image_picker/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/image_picker/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/local_auth/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/local_auth/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/location/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/location/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/location_background_plugin/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/location_background_plugin/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/location_permissions/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/location_permissions/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/package_info/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/package_info/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/path_provider/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/path_provider/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/path_provider_linux/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/path_provider_linux/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/path_provider_macos/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/path_provider_macos/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/qrcode_reader/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/qrcode_reader/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/shared_preferences/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/shared_preferences/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/shared_preferences_macos/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/shared_preferences_macos/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/shared_preferences_web/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/shared_preferences_web/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/sqflite/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/sqflite/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/url_launcher/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/url_launcher/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/url_launcher_macos/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/url_launcher_macos/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/url_launcher_web/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/url_launcher_web/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/video_player/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/video_player/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/video_player_web/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/video_player_web/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/webview_media/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/.symlinks/plugins/webview_media/CHANGELOG.md App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/Pods/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/Pods/GoogleMaps/ App.framework/flutter_assets/ios/Flutter/App.framework/flutter_assets/ios/Pods/GoogleMaps/CHANGELOG.md sent 50610132 bytes received 1298 bytes 33740953.33 bytes/sec total size is 56317280 speedup is 1.11 building file list ... done Flutter.framework/ Flutter.framework/Flutter Flutter.framework/Info.plist Flutter.framework/icudtl.dat Flutter.framework/_CodeSignature/ Flutter.framework/_CodeSignature/CodeResources sent 97999338 bytes received 120 bytes 65332972.00 bytes/sec total size is 97986963 speedup is 1.00 /Users/ayushpgupta/StudioProjects/workozy_app/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/App: signed bundle with Mach-O universal (x86_64 arm64) [io.flutter.flutter.app] /Users/ayushpgupta/StudioProjects/workozy_app/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/Flutter.framework/Flutter: replacing existing signature /Users/ayushpgupta/StudioProjects/workozy_app/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/Flutter.framework/Flutter: signed bundle with Mach-O universal (armv7 x86_64 arm64) [io.flutter.flutter] 2020-05-23 08:54:53.504 defaults[57863:473741] The domain/default pair of (/Users/ayushpgupta/StudioProjects/workozy_app/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/Info.plist, CFBundleExecutable) does not exist fatal error: lipo: can't map input file: /Users/ayushpgupta/StudioProjects/workozy_app/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/ (Invalid argument) fatal error: lipo: can't map input file: /Users/ayushpgupta/StudioProjects/workozy_app/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/ (Invalid argument) Failed to extract x86_64 for /Users/ayushpgupta/StudioProjects/workozy_app/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/. Running lipo -info: fatal error: lipo: can't map input file: /Users/ayushpgupta/StudioProjects/workozy_app/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/ (Invalid argument) Command PhaseScriptExecution failed with a nonzero exit code note: Using new build system 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 'image_picker' 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 'image_picker' 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 'camera' 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 'camera' 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 'Runner' from project 'Runner') 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 'Runner' from project 'Runner') warning: Mapping architecture armv7s to i386. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'Runner' from project 'Runner') Could not build the application for the simulator. Error launching application on iPhone 8 Plus. ``` ``` Ayushs-MacBook-Air:workozy_app ayushpgupta$ flutter doctor -v [✓] Flutter (Channel dev, 1.19.0-1.0.pre, on Mac OS X 10.15.4 19E287, locale en-GB) • Flutter version 1.19.0-1.0.pre at /Users/ayushpgupta/development/flutter • Framework revision 456d80b9dd (12 days ago), 2020-05-11 11:45:03 -0400 • Engine revision d96f962ca2 • Dart version 2.9.0 (build 2.9.0-7.0.dev 092ed38a87) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/ayushpgupta/Library/Android/sdk • Platform android-29, build-tools 29.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.3.1, Build version 11C505 • CocoaPods version 1.9.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 45.1.1 • Dart plugin version 192.8052 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [✓] VS Code (version 1.45.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.10.2 [✓] Connected device (4 available) • iPhone 8 Plus • 6BCAF6B9-E152-4BA8-87CA-CD4F4C849E50 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator) • macOS • macOS • darwin-x64 • Mac OS X 10.15.4 19E287 • Web Server • web-server • web-javascript • Flutter Tools • Chrome • chrome • web-javascript • Google Chrome 81.0.4044.138 • No issues found! ```

To make it run second time i have to:

  1. Run flutter clean
  2. Delete Flutter.framework in ios folder
  3. Run flutter pub get
  4. Run cd ios> pod update
TahaTesser commented 4 years ago

Hi @apgapg Couldn't reproduce this issue on latest dev

flutter doctor -v ``` [✓] Flutter (Channel dev, 1.19.0-1.0.pre, on Mac OS X 10.15.4 19E287, locale en-GB) • Flutter version 1.19.0-1.0.pre at /Users/tahatesser/Code/flutter_dev • Framework revision 456d80b9dd (2 weeks ago), 2020-05-11 11:45:03 -0400 • Engine revision d96f962ca2 • Dart version 2.9.0 (build 2.9.0-7.0.dev 092ed38a87) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at /Users/tahatesser/Code/SDK • Platform android-29, build-tools 29.0.3 • ANDROID_HOME = /Users/tahatesser/Code/SDK • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.5) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.5, Build version 11E608c • CocoaPods version 1.9.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 45.1.1 • Dart plugin version 192.8052 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [✓] VS Code (version 1.45.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.10.2 [✓] Connected device (5 available) • SM M305F • 32003c30dc19668f • android-arm64 • Android 10 (API 29) • iPhone 11 • F067D2F5-5386-4EBE-8600-326B40C64462 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-5 (simulator) • macOS • macOS • darwin-x64 • Mac OS X 10.15.4 19E287 • Web Server • web-server • web-javascript • Flutter Tools • Chrome • chrome • web-javascript • Google Chrome 81.0.4044.138 • No issues found! ```

can you please provide your flutter doctor -v and flutter run --verbose? Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem Thank you

apgapg commented 4 years ago

Please also see https://github.com/flutter/flutter/issues/57940

TahaTesser commented 4 years ago

Hi @apgapg Given your comment, i feel safe to close the issue if you disagree please write in the comments and I will reopen it T hank you

david201601 commented 3 years ago

same issue. When a new project is create, the ios first run able to run in the simulator. Once it is stopped and run again, then it throws error as following.

[ +4 ms] Error running pod install [ +2 ms] Error launching application on iPhone 11 Pro Max. [ +5 ms] "flutter run" took 13,424ms. [ +10 ms]

0 throwToolExit (package:flutter_tools/src/base/common.dart:14:3)

       #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:607:7)
       <asynchronous suspension>
       #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:977:18)
       #3      _rootRunUnary (dart:async/zone.dart:1198:47)
       #4      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
       #5      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
       #6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
       #7      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
       #8      Future._completeWithValue (dart:async/future_impl.dart:529:5)
       #9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
       #10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
       #11     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
       #12     _rootRunUnary (dart:async/zone.dart:1198:47)
       #13     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
       #14     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
       #15     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
       #16     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
       #17     Future._completeWithValue (dart:async/future_impl.dart:529:5)
       #18     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
       #19     _rootRun (dart:async/zone.dart:1190:13)
       #20     _CustomZone.run (dart:async/zone.dart:1093:19)
       #21     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
       #22     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
       #23     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
       #24     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
       #25     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
       #26     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
TahaTesser commented 3 years ago

@david201601 please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v. All system setups can be slightly different, so it's always better to open new issues and reference related issues.

github-actions[bot] commented 2 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.