monaca / monaca-cli

Command line version of Monaca
Other
44 stars 14 forks source link

TMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability #158

Closed blgsyrmhnds closed 3 years ago

blgsyrmhnds commented 4 years ago

Bug Report Problem We have updated the Cordova iOS library to the latest version in package.json ("cordova": "^9.0.0") and the tag

<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine"/>
<feature name="CDVWKWebViewEngine">
  <param name="ios-package" value="CDVWKWebViewEngine"/>
</feature>

was added to the config.xml.

and then do iOS Release Build and it genarate .ipa file for upload to apple store but when I upload it to apple store it give that error

**I use phonegal build but today i get this error when upload .ipa to apple store

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability**

I removed all cordova plugins but in monaca build log I see both wkwebview and UIWebview ,how can I remove all UIWebview references.I don't know where UIWebiew generate,I don't use any cordova plugins

In app settings i set WebView Engine to WKWebView

I asked it in community page but no answear yet:https://community.onsen.io/topic/4076/itms-90809-deprecated-api-usage-new-apps-that-use-uiwebview-are-no-longer-accepted-instead-use-wkwebview-for-improved-security-and-reliability

and here is my app url: https://console.monaca.mobi/build/5ef8c3eee78885923d22db61/ios-build

here is my config.xml

<?xml version="1.0" encoding="UTF-8"?>

BiletEviniz BiletEviniz tr en

and here is my package.json

{ "name": "onsenui-video-streaming-app-template", "version": "2.0.8", "displayName": "OnsenUI Video Streaming Demo", "cordova": { "plugins": { "cordova-custom-config": {}, "monaca-plugin-monaca-core": {}, "cordova-plugin-whitelist": {}, "cordova-plugin-splashscreen": {}, "cordova-plugin-wkwebview-engine": {} } }, "dependencies": { "cordova-custom-config": "5.1.0", "cordova-plugin-splashscreen": "5.0.2", "cordova-plugin-whitelist": "1.3.3", "monaca-plugin-monaca-core": "3.3.0", "cordova-plugin-wkwebview-engine": "1.2.1" }, "scripts": { "monaca:preview": "npm run dev", "dev": "browser-sync start -s www/ --watch --port 8080 --ui-port 8081" }, "devDependencies": { "browser-sync": "^2.26.7", "cordova": "^9.0.0" } }

yong-asial commented 4 years ago

@blgsyrmhnds

Have you tried the following steps?

Note: This instruction is taken from Monaca Headline

(cc @emccorson @keijiodagawa)

TRANHV-VFA-DO-NOT-USE commented 4 years ago

@yong-asial i follow your step and build, then i stuck by this error:

[15:32:12] ** ARCHIVE FAILED **
[15:32:12] The following build commands failed:
[15:32:12]  CompileC /Users/builder/Library/Developer/Xcode/DerivedData/project_name-ajoronvfhiolmkdxnnonxjzeeavb/Build/Intermediates.noindex/ArchiveIntermediates/project_name/IntermediateBuildFilesPath/project_name.build/Debug-iphoneos/project_name.build/Objects-normal/armv7/CDVInAppBrowser.o /tmp/download/platforms/ios/project_name/Plugins/cordova-plugin-inappbrowser/CDVInAppBrowser.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[15:32:12] (1 failure)
[15:32:12] xcodebuild: Command failed with exit code 65
yong-asial commented 4 years ago

@vfa-tranhv Sorry for late reply. It seems it is the build issue. many things could cause the problems. For better support, could you submit us the ticket here - https://monaca.io/support/technical/