-
Notifications
You must be signed in to change notification settings - Fork 149
iOS 9 without local webserver #127
Comments
I personally can't even build to iOS 9 with the latest XCode 7 beta and WKWebView :/ Had to set |
It works fine here in iOS9, although I would also like to see some of the new improvements taken advantage of. |
The app works fine in iOS9 if it was built with XCode 6. However, when building with XCode 7, I get an error prompting me to disable |
+1 to what clauderic said. Sometimes I get a blank page, lately I have been getting a crash on Main. |
Any luck with this? trying to use without local web server. |
#127 iOS 9 without local webserver
Hey guys, I've just release 0.5.0 which no longer uses a local webserver for iOS9. It's not really polished yet because I'm not sure if the iOS 9 final release changes things again, but at least the app should work now. When built with XCode 6. @clauderic XCode 7 builds will still fail. I considered this a lower priority than getting this to run with iOS9 devices of course. Could you be so kind to try 0.5.0 with XCode 7 and point me at the exact thing that needs to be changed to get it to run (ENABLE_BITCODE). That may save me some time when I investigate it. |
@EddyVerbruggen I'm happy to report that I just built it successfully with XCode 7 beta-5 (latest) without any major hiccups. Builds now pass regardless of the value of the I did have to run |
Thanks for the info! |
Still had to disable Bitcode with XCode 7 beta. Also removing and readding ios platform had no effect. |
Did anyone have to mess with the whitelist plugin for this? While I'm able to load my initial page just fine, any file:// requests for resources such as js and css fail with "Cross origin requests are only supported over HTTP" |
Note that using |
@revolunet That's fixed with 0.6.0 which, ehm, uses the local webserver again. |
thanks @EddyVerbruggen :) |
@EddyVerbruggen why did u have to use web server again |
@awebdeveloper because you can't load files by xhr from the local filesystem. Even on iOS9. So f.i. Ionic template loading won't work unless the files are loaded over http. |
so is this behavior a bug or apple don't support it |
Call it what you want, but it's not supported by Apple's WKWebView. |
What was the final outcome of this? I've got Xcode 7 and my device is iOS 9.2. Bitcode is disabled, and so it builds without errors, but when it deploys to my phone, it's stuck on the splash screen. I've tried 0.6.0 and 0.6.7. |
works here with the builtin web server |
It seems that iOS 9 will support loadfileURL method so the local webserver will not be needed anymore.
The text was updated successfully, but these errors were encountered: