You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2015/09/12 02:25:53 UTC

cordova-plugin-wkwebview-engine git commit: Update README.md (closes #1)

Repository: cordova-plugin-wkwebview-engine
Updated Branches:
  refs/heads/master d05b5bb4d -> 9a22dc7f6


Update README.md (closes #1)

Details on WKWebView fixes - XHR/CORS
How to troubleshoot installation issues


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/commit/9a22dc7f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/tree/9a22dc7f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/diff/9a22dc7f

Branch: refs/heads/master
Commit: 9a22dc7f614217d1472a4c8a1a5bc5dff42576d0
Parents: d05b5bb
Author: Trevor Brindle <ta...@gmail.com>
Authored: Thu Sep 10 13:54:59 2015 -0400
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Fri Sep 11 17:29:34 2015 -0700

----------------------------------------------------------------------
 README.md | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/9a22dc7f/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index e02ce4d..a12ee2f 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,12 @@
 Cordova WKWebView Engine
 ======
 
-This plugin makes `Cordova` use the `WKWebView` component instead of the default `UIWebView` component, and is installable only on a system with the iOS 9.0 SDK.
+This plugin makes `Cordova` use the `WKWebView` component instead of the default `UIWebView` component, and is installable only on a system with the iOS 9.0 SDK. 
 
+In iOS 9, Apple has fixed the [issue](http://www.openradar.me/18039024) present through iOS 8 where you cannot load locale files using file://, and must resort to using a local webserver. **However, you are still not able to use XHR from the file:// protocol without [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS) enabled on your server.**
+
+Installation
+-----------
 
 This plugin needs to use the master branch of `cordova-ios` which is the next release of cordova-ios (4.0.0).
 
@@ -12,6 +16,18 @@ To `alpha test` this:
     cd wkwvtest
     cordova platform add https://github.com/apache/cordova-ios.git#master
     cordova plugin add https://github.com/apache/cordova-plugin-wkwebview-engine.git#master
+    
+You also must have Xcode 7 and the iOS 9 SDK installed. If you have this and are still getting this error:
+
+`Plugin doesn't support this project's apple-ios version. apple-ios: 8.4.0, failed version requirement: >=9.0`
+
+You may need to switch to your Xcode Beta installation, using this command:
+
+`sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer`
+
+To switch back:
+
+`sudo xcode-select -s /Applications/Xcode.app/Contents/Developer`
 
 Permissions
 -----------


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org