请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

IOS13.1 运行报错Could not build the precompiled application for the device.

报错

code's output:
↳
    === BUILD TARGET flutter_webview_plugin OF PROJECT Pods WITH CONFIGURATION Debug ===
    /Users/eriklu/development/paths/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.7/ios/Classes/FlutterWebviewPlugin.m:83:22: warning: incompatible pointer to
    integer conversion assigning to 'BOOL' (aka 'signed char') from 'id _Nullable' [-Wint-conversion]
        _enableAppScheme = call.arguments[@"enableAppScheme"];
                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/eriklu/development/paths/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.7/ios/Classes/FlutterWebviewPlugin.m:279:24: warning: comparison of distinct
    pointer types ('NSString *' and 'NSNull * _Nonnull') [-Wcompare-distinct-pointer-types]
      if (_invalidUrlRegex != [NSNull null] && urlString != nil) {
          ~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
    /Users/eriklu/development/paths/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.7/ios/Classes/FlutterWebviewPlugin.m:345:94: warning: values of type 'NSInteger'
    should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
        [channel invokeMethod:@"onError" arguments:@{@"code": [NSString stringWithFormat:@"%ld", error.code], @"error": error.localizedDescription}];
                                                                                           ~~~   ^~~~~~~~~~
                                                                                           %ld   (long)
    /Users/eriklu/development/paths/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.7/ios/Classes/FlutterWebviewPlugin.m:352:102: warning: values of type
    'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
            [channel invokeMethod:@"onHttpError" arguments:@{@"code": [NSString stringWithFormat:@"%ld", response.statusCode], @"url": webView.URL.absoluteString}];
                                                                                                   ~~~   ^~~~~~~~~~~~~~~~~~~
                                                                                                   %ld   (long)
    4 warnings generated.
    /Users/eriklu/development/paths/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.7/ios/Classes/FlutterWebviewPlugin.m:279:24: warning: comparison of distinct
    pointer types ('NSString *' and 'NSNull * _Nonnull') [-Wcompare-distinct-pointer-types]
      if (_invalidUrlRegex != [NSNull null] && urlString != nil) {
          ~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
    /Users/eriklu/development/paths/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.7/ios/Classes/FlutterWebviewPlugin.m:302:60: warning: implicit conversion loses
    integer precision: 'WKNavigationType' (aka 'enum WKNavigationType') to 'int' [-Wshorten-64-to-32]
                    @"navigationType": [NSNumber numberWithInt:navigationAction.navigationType]};
                                       ~                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2 warnings generated.
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
    Code Signing Error: No profiles for 'org.devio.flutter.trip' were found:  Xcode couldn't find any iOS App Development provisioning profiles matching 'org.devio.flutter.trip'.
    Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
    Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 13.1'
    Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 13.1'
    Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 13.1'

正在回答 回答被采纳积分+3

1回答

CrazyCodeBoy 2019-10-16 21:06:01

用Xcode打开项目中的iOS项目然后clean之后再运行试一下。

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号