Could not build the application for the simulatorError launching application on iPhone 11

128881 단어 flutter
Running the flutter project on the iOS simulator today, the result is the following error:
Launching lib/cn/xinzhili/patient/ui/main.dart on iPhone 11 Pro Max in debug mode...
Running Xcode build...
Xcode build done.                                           24.2s
Failed to build iOS app
Error output from Xcode build:** BUILD FAILED **


Xcode's output:=== BUILD TARGET path_provider OF PROJECT Pods WITH CONFIGURATION Debug ===
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.1/ios/Classes/UrlLauncherPlugin.m:26:31: warning: 'SFSafariViewController' is only available on iOS 9.0 or newer [-Wunguarded-availability]
    - (void)safariViewController:(SFSafariViewController *)controller
                                  ^
    In module 'SafariServices' imported from /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.1/ios/Classes/UrlLauncherPlugin.m:5:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariViewController.h:27:12: note: 'SFSafariViewController' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
    @interface SFSafariViewController : UIViewController
               ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.1/ios/Classes/UrlLauncherPlugin.m:26:1: note: annotate 'safariViewController:didCompleteInitialLoad:' with an availability attribute to silence this warning
    - (void)safariViewController:(SFSafariViewController *)controller
    ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.1/ios/Classes/UrlLauncherPlugin.m:38:40: warning: 'SFSafariViewController' is only available on iOS 9.0 or newer [-Wunguarded-availability]
    - (void)safariViewControllerDidFinish:(SFSafariViewController *)controller {
                                           ^
    In module 'SafariServices' imported from /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.1/ios/Classes/UrlLauncherPlugin.m:5:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariViewController.h:27:12: note: 'SFSafariViewController' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
    @interface SFSafariViewController : UIViewController
               ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.1/ios/Classes/UrlLauncherPlugin.m:38:1: note: annotate 'safariViewControllerDidFinish:' with an availability attribute to silence this warning
    - (void)safariViewControllerDidFinish:(SFSafariViewController *)controller {
    ^
                                                                                API_AVAILABLE(ios(9.0))
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.1/ios/Classes/UrlLauncherPlugin.m:94:18: warning: 'openURL:options:completionHandler:' is only available on iOS 10.0 or newer [-Wunguarded-availability]
        [application openURL:url
                     ^~~~~~~~~~~
    In module 'UIKit' imported from /Users/hello/Desktop/xzlcorp/AndroidStudioProjects/flutter_app/ios/Pods/Target Support Files/url_launcher/url_launcher-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:130:1: note: 'openURL:options:completionHandler:' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
    - (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/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.1/ios/Classes/UrlLauncherPlugin.m:94:18: note: enclose 'openURL:options:completionHandler:' in an @available check to silence this warning
        [application openURL:url
                     ^~~~~~~~~~~
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.1/ios/Classes/UrlLauncherPlugin.m:122:3: warning: 'SFSafariViewController' is only available on iOS 9.0 or newer [-Wunguarded-availability]
      SFSafariViewController *safari = [[SFSafariViewController alloc] initWithURL:url];
      ^~~~~~~~~~~~~~~~~~~~~~
    In module 'SafariServices' imported from /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.1/ios/Classes/UrlLauncherPlugin.m:5:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariViewController.h:27:12: note: 'SFSafariViewController' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
    @interface SFSafariViewController : UIViewController
               ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.1/ios/Classes/UrlLauncherPlugin.m:122:3: note: enclose 'SFSafariViewController' in an @available check to silence this warning
      SFSafariViewController *safari = [[SFSafariViewController alloc] initWithURL:url];
      ^~~~~~~~~~~~~~~~~~~~~~
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.1/ios/Classes/UrlLauncherPlugin.m:122:38: warning: 'SFSafariViewController' is only available on iOS 9.0 or newer [-Wunguarded-availability]
      SFSafariViewController *safari = [[SFSafariViewController alloc] initWithURL:url];
                                         ^~~~~~~~~~~~~~~~~~~~~~
    In module 'SafariServices' imported from /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.1/ios/Classes/UrlLauncherPlugin.m:5:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariViewController.h:27:12: note: 'SFSafariViewController' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
    @interface SFSafariViewController : UIViewController
               ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.1/ios/Classes/UrlLauncherPlugin.m:122:38: note: enclose 'SFSafariViewController' in an @available check to silence this warning
      SFSafariViewController *safari = [[SFSafariViewController alloc] initWithURL:url];
                                         ^~~~~~~~~~~~~~~~~~~~~~
    5 warnings generated.
    === BUILD TARGET video_player OF PROJECT Pods WITH CONFIGURATION Debug ===
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.m:33:52: warning: 'WKWebsiteDataTypeCookies' is only available on iOS 9.0 or newer [-Wunguarded-availability]
      NSSet *websiteDataTypes = [NSSet setWithArray:@[ WKWebsiteDataTypeCookies ]];
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
    In module 'WebKit' imported from /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.h:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h:45:28: note: 'WKWebsiteDataTypeCookies' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
    WK_EXTERN NSString * const WKWebsiteDataTypeCookies API_AVAILABLE(macos(10.11), ios(9.0));
                               ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.m:33:52: note: enclose 'WKWebsiteDataTypeCookies' in an @available check to silence this warning
      NSSet *websiteDataTypes = [NSSet setWithArray:@[ WKWebsiteDataTypeCookies ]];
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.m:34:3: warning: 'WKWebsiteDataStore' is only available on iOS 9.0 or newer [-Wunguarded-availability]
      WKWebsiteDataStore *dataStore = [WKWebsiteDataStore defaultDataStore];
      ^~~~~~~~~~~~~~~~~~
    In module 'WebKit' imported from /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.h:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:39:12: note: 'WKWebsiteDataStore' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
    @interface WKWebsiteDataStore : NSObject <NSSecureCoding>
               ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.m:34:3: note: enclose 'WKWebsiteDataStore' in an @available check to silence this warning
      WKWebsiteDataStore *dataStore = [WKWebsiteDataStore defaultDataStore];
      ^~~~~~~~~~~~~~~~~~
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.m:34:36: warning: 'WKWebsiteDataStore' is only available on iOS 9.0 or newer [-Wunguarded-availability]
      WKWebsiteDataStore *dataStore = [WKWebsiteDataStore defaultDataStore];
                                       ^~~~~~~~~~~~~~~~~~
    In module 'WebKit' imported from /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.h:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:39:12: note: 'WKWebsiteDataStore' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
    @interface WKWebsiteDataStore : NSObject <NSSecureCoding>
               ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.m:34:36: note: enclose 'WKWebsiteDataStore' in an @available check to silence this warning
      WKWebsiteDataStore *dataStore = [WKWebsiteDataStore defaultDataStore];
                                       ^~~~~~~~~~~~~~~~~~
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.m:36:35: warning: 'WKWebsiteDataRecord' is only available on iOS 9.0 or newer [-Wunguarded-availability]
      void (^deleteAndNotify)(NSArray<WKWebsiteDataRecord *> *) =
                                      ^~~~~~~~~~~~~~~~~~~
    In module 'WebKit' imported from /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.h:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h:64:12: note: 'WKWebsiteDataRecord' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
    @interface WKWebsiteDataRecord : NSObject
               ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.m:36:35: note: enclose 'WKWebsiteDataRecord' in an @available check to silence this warning
      void (^deleteAndNotify)(NSArray<WKWebsiteDataRecord *> *) =
                                      ^~~~~~~~~~~~~~~~~~~
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.m:37:17: warning: 'WKWebsiteDataRecord' is only available on iOS 9.0 or newer [-Wunguarded-availability]
          ^(NSArray<WKWebsiteDataRecord *> *cookies) {
                    ^~~~~~~~~~~~~~~~~~~
    In module 'WebKit' imported from /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.h:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h:64:12: note: 'WKWebsiteDataRecord' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
    @interface WKWebsiteDataRecord : NSObject
               ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.3+1/ios/Classes/FLTCookieManager.m:37:17: note: enclose 'WKWebsiteDataRecord' in an @available check to silence this warning
          ^(NSArray<WKWebsiteDataRecord *> *cookies) {
                    ^~~~~~~~~~~~~~~~~~~
    5 warnings generated.
    === BUILD TARGET video_player OF PROJECT Pods WITH CONFIGURATION Debug ===
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.0+2/ios/Classes/FlutterWebviewPlugin.m:243:60: warning: implicit conversion loses integer precision: 'WKNavigationType' (aka 'enum WKNavigationType') to 'int' [-Wshorten-64-to-32]
                    @"navigationType": [NSNumber numberWithInt:navigationAction.navigationType]};
                                       ~                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 warning generated.
    In file included from /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.0.4/ios/Classes/FluttertoastPlugin.m:2:
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.0.4/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '@param' command [-Wdocumentation]
     @param sharedStyle
     ~~~~~~~~~~~~~~~~~^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.0.4/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '@param' command [-Wdocumentation]
     @param allowTapToDismiss
     ~~~~~~~~~~~~~~~~~~~~~~~^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.0.4/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function declaration [-Wdocumentation]
     @param allowTapToDismiss
            ^~~~~~~~~~~~~~~~~
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.0.4/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'?
     @param allowTapToDismiss
            ^~~~~~~~~~~~~~~~~
            tapToDismissEnabled
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.0.4/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '@param' command [-Wdocumentation]
     @param queueEnabled
     ~~~~~~~~~~~~~~~~~~^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.0.4/ios/Classes/FluttertoastPlugin.m:19:23: warning: unused variable 'viewController' [-Wunused-variable]
        UIViewController *viewController =
                          ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.0.4/ios/Classes/FluttertoastPlugin.m:70:21: warning: unused variable 'topPadding' [-Wunused-variable]
                CGFloat topPadding = window.safeAreaInsets.top;
                        ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.0.4/ios/Classes/FluttertoastPlugin.m:71:21: warning: unused variable 'bottomPadding' [-Wunused-variable]
                CGFloat bottomPadding = window.safeAreaInsets.bottom;
                        ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.0.4/ios/Classes/FluttertoastPlugin.m:48:19: warning: unused variable 'size' [-Wunused-variable]
            NSNumber *size = call.arguments[@"size"];
                      ^
    8 warnings generated.
    === BUILD TARGET video_player OF PROJECT Pods WITH CONFIGURATION Debug ===
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:86:55: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                                                      if (_isLooping) {
                                                          ^
                                                          self->
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:90:57: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                                                        if (_eventSink) {
                                                            ^
                                                            self->
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:91:55: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                                                          _eventSink(@{@"event" : @"completed"});
                                                          ^
                                                          self->
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:156:75: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
        NSLog(@"TX and TY are 0. Rotation: %d. Natural width,height: %f, %f", rotationDegrees,
                                           ~~                                 ^~~~~~~~~~~~~~~
                                           %ld                                (long)
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:188:20: warning: unused variable 'size' [-Wunused-variable]
                CGSize size = videoTrack.naturalSize;
                       ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:212:10: warning: unused variable 'size' [-Wunused-variable]
      CGSize size = item.presentationSize;
             ^
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:185:15: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
              if (_disposed) return;
                  ^
                  self->
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:191:13: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                _preferredTransform = [self fixTransform:videoTrack];
                ^
                self->
    /Users/hello/Desktop/eclipseProject/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerPlugin.m:197:56: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                    [self getVideoCompositionWithTransform:_preferredTransform
                                                           ^
                                                           self->
    9 warnings generated.
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
    ld: warning: ignoring file /Users/hello/Desktop/xzlcorp/AndroidStudioProjects/flutter_app/ios/Pods/LuakitPod/lib/LuakitPod.framework/LuakitPod, missing required architecture x86_64 in file /Users/hello/Desktop/xzlcorp/AndroidStudioProjects/flutter_app/ios/Pods/LuakitPod/lib/LuakitPod.framework/LuakitPod (2 slices)
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
    fatal error: lipo: -extract x86_64 specified but fat file: /Users/hello/Desktop/xzlcorp/AndroidStudioProjects/flutter_app/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/LuakitPod.framework/LuakitPod does not contain that architecture
    Failed to extract x86_64 for /Users/hello/Desktop/xzlcorp/AndroidStudioProjects/flutter_app/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/LuakitPod.framework/LuakitPod. Running lipo -info:
    Architectures in the fat file: /Users/hello/Desktop/xzlcorp/AndroidStudioProjects/flutter_app/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/LuakitPod.framework/LuakitPod are: armv7 arm64 

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.
I was wondering that it was working fine yesterday, but I reported an error today. I found it on github: https://github.com/flutter/flutter/issues/19257 The specific solution: just execute the flutter channel master and switch to the official master development The main branch can execute the flutter channel to check that my flutter is currently in the stable (stable) branch, and then see this sentence on the official website: We strongly recommend tracking the stable branch of flutter, which is the stable branch of Flutter. If you need to see the latest changes, you can track the master branch, but note that this is the development branch, so the stability is much lower. To see which branch you are currently using, run flutter channel view. To switch branches, please use flutter channel beta or flutter channel master So I think my problem should not be a problem of switching branches, and finally think about whether to clean the project and try:
MacBook-Pro-65:flutter_app hello$ flutter clean
Cleaning Xcode workspace...                                         2.7s
Deleting build...                                                  747ms
Deleting .dart_tool...                                               7ms
MacBook-Pro-65:flutter_app hello$
After the end, re-run the project, and it ran smoothly.

좋은 웹페이지 즐겨찾기