practicalmeteor / meteor-wkwebview

A meteor package for using the significantly better and faster WKWebView in mobile apps on iOS 8+.
https://atmospherejs.com/practicalmeteor/wkwebview
MIT License
35 stars 4 forks source link

Have to disable Bitcode to run on physical device #7

Open derwaldgeist opened 9 years ago

derwaldgeist commented 9 years ago

I installed the plugins as described here: http://practicalmeteor.com/drastically-improving-the-performance-of-your-meteor-ios-app-with-wkweb%E2%80%8Bview/

Xcode 7 won't run the code on a physical iPad, though, as the linker throws an error. It only works if I disable the "Enable Bitcode" setting of the webapp project to "No".

Why is this so?

If I run it in the simulator, this error message is not thrown.

rbabayoff commented 9 years ago

I have no idea and since I'm in the process of moving, I don't have access to a mac for the next week. But if it solves the problem with this setting, why don't you update the README and create a pr for it, so others will workaround it it by setting bit mode to true too?

derwaldgeist commented 9 years ago

Well, I don't think this is a very good idea, since - at least as far as I understand it - the Bitcode setting allows Apple to patch apps even after they have been submitted to the App Store. If you disable this setting, this convenience feature is lost. So I would not like to touch this setting if it is not really necessary.

rbabayoff commented 9 years ago

Did you check if this issue was reported in Telerik's repo so maybe it's not specific to my modified cordova plugin?

rbabayoff commented 9 years ago

@derwaldgeist , here is an issue stating the same in Telerik's cordova wkwebview plugin my plugin is based on:

https://github.com/Telerik-Verified-Plugins/WKWebView/issues/127

They're already launched a new web server'less plugin for iOS 9 that doesn't require a web server anymore, but I prefer to wait for official release.

thedracle commented 9 years ago

Does anyone know how to disable bitcode in a purely meteor way?