IOS13.1 运行报错Could not build the precompiled application for the device.
来源:6-17 本章小结

ErikLu
2019-10-16
报错
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'
写回答
1回答
-
CrazyCodeBoy
2019-10-16
用Xcode打开项目中的iOS项目然后clean之后再运行试一下。
00
相似问题