Xcode build done. 7.0s
Failed to build iOS app
Error output from Xcode build:
↳
2020-08-31 20:41:41.856 xcodebuild[5124:44695] DTDeviceKit: deviceType from
be947003ab8eb9f9faf0f676f538e779f5d09e96 was NULL
BUILD FAILED
Xcode's output:
↳
/Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/location_permissions-3.0.0+1/io
s/Classes/LocationPermissionsPlugin.m:76:21: error: 'sharedApplication' is unavailable: not available
on iOS (App Extension) - Use view controller based solutions where appropriate instead.
[[UIApplication sharedApplication]
^
In module 'UIKit' imported from /Users/Raymond Tucker/AndroidStudioProjects/pro
Zesti/user/ios/Pods/Target Support Files/location_permissions/location_permissions-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSi
mulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:113:54: note:
property 'sharedApplication' is declared unavailable here
@property(class, nonatomic, readonly) UIApplication *sharedApplication
NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSi
mulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:113:54: note:
'sharedApplication' has been explicitly marked unavailable here
/Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/location_permissions-3.0.0+1/io
s/Classes/LocationPermissionsPlugin.m:77:19: error: 'openURL:options:completionHandler:' is
unavailable: not available on iOS (App Extension)
openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]
^
In module 'UIKit' imported from /Users/Raymond Tucker/AndroidStudioProjects/pro
Zesti/user/ios/Pods/Target Support Files/location_permissions/location_permissions-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSi
mulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:130:1: note:
'openURL:options:completionHandler:' has been explicitly marked unavailable here
(void)openURL:(NSURL)url options:(NSDictionary<UIApplicationOpenExternalURLOptionsKey, id>
)options completionHandler:(void (^ __nullable)(BOOL success))completion API_AVAILABLE(ios(10.0))
NS_EXTENSION_UNAVAILABLE_IOS("");
^
/Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/location_permissions-3.0.0+1/io
s/Classes/LocationPermissionsPlugin.m:83:36: error: 'sharedApplication' is unavailable: not available
on iOS (App Extension) - Use view controller based solutions where appropriate instead.
BOOL success = [[UIApplication sharedApplication]
^
In module 'UIKit' imported from /Users/Raymond Tucker/AndroidStudioProjects/pro
Zesti/user/ios/Pods/Target Support Files/location_permissions/location_permissions-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSi
mulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:113:54: note:
property 'sharedApplication' is declared unavailable here
@property(class, nonatomic, readonly) UIApplication *sharedApplication
NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSi
mulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:113:54: note:
'sharedApplication' has been explicitly marked unavailable here
/Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/location_permissions-3.0.0+1/io
s/Classes/LocationPermissionsPlugin.m:84:9: error: 'openURL:' is unavailable: not available on iOS
(App Extension)
openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
^
In module 'UIKit' imported from /Users/Raymond Tucker/AndroidStudioProjects/pro
Zesti/user/ios/Pods/Target Support Files/location_permissions/location_permissions-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSi
mulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:123:1: note:
'openURL:' has been explicitly marked unavailable here
(BOOL)openURL:(NSURL*)url API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:",
ios(2.0, 10.0)) NS_EXTENSION_UNAVAILABLE_IOS("");
^
4 errors generated.
note: Using new build system
note: Planning build
note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.
Running Xcode build...
Xcode build done. 7.0s Failed to build iOS app Error output from Xcode build: ↳ 2020-08-31 20:41:41.856 xcodebuild[5124:44695] DTDeviceKit: deviceType from be947003ab8eb9f9faf0f676f538e779f5d09e96 was NULL BUILD FAILED
Xcode's output: ↳ /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/location_permissions-3.0.0+1/io s/Classes/LocationPermissionsPlugin.m:76:21: error: 'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead. [[UIApplication sharedApplication] ^ In module 'UIKit' imported from /Users/Raymond Tucker/AndroidStudioProjects/pro Zesti/user/ios/Pods/Target Support Files/location_permissions/location_permissions-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSi mulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:113:54: note: property 'sharedApplication' is declared unavailable here @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead."); ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSi mulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:113:54: note: 'sharedApplication' has been explicitly marked unavailable here /Users/johnsmith/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/location_permissions-3.0.0+1/io s/Classes/LocationPermissionsPlugin.m:77:19: error: 'openURL:options:completionHandler:' is unavailable: not available on iOS (App Extension) openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString] ^ In module 'UIKit' imported from /Users/Raymond Tucker/AndroidStudioProjects/pro Zesti/user/ios/Pods/Target Support Files/location_permissions/location_permissions-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSi mulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:130:1: note: 'openURL:options:completionHandler:' has been explicitly marked unavailable here
Could not build the application for the simulator. Error launching application on iPhone 11 Pro Max.