1
votes

I update my Cordova ios to version 6 because of apple email that says ( Deprecated API Usage - existing app that use UIWebView are no longer accepted) ,but after that i keep getting this build error,

The following build commands failed: CompileC /Users/moesaif/Library/Developer/Xcode/DerivedData/مفسر_أحلامي-epzhtxsuxnuafngaxollgqmkcrww/Build/Intermediates.noindex/مفسر\ أحلامي.build/Debug-iphonesimulator/مفسر\ أحلامي.build/Objects-normal/x86_64/CDVFileTransfer.o /Users/moesaif/Desktop/Dreams/platforms/ios/مفسر\ أحلامي/Plugins/cordova-plugin-file-transfer/CDVFileTransfer.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

ionic Cordova platform ls : Installed platforms: android 7.1.4 browser 6.0.0 ios 6.1.1 Available platforms: electron ^1.0.0 osx ^5.0.0 windows ^7.0.0

any help please..! Thanks.

2

2 Answers

0
votes

You need to update the plugin to latest version. If it still uses UIWebView, then you need to update it manually to support WKWebView.

0
votes

cordova-plugin-file-transfer is deprecated and seems not working with the [email protected] .

I still use it with [email protected] and the flag in config.xml to use WKWebview:

<preference name="WKWebViewOnly" value="true" />

Before sending to apple, search and check in Xcode, that you don't have any mention to UIWebview. Sometimes a clean platforms is needed or you still have and old InAppBrowser version