snowkit / snow

A low level cross platform framework for Haxe. Mac, Windows, Linux, Android, iOS, WebGL.
http://snowkit.org/snow
MIT License
133 stars 35 forks source link

Build server; Missing native libs, manual iOS build #69

Closed jonbro closed 9 years ago

jonbro commented 9 years ago

http://underscorediscovery.github.io/snow/guide/native-layer.html following the directions here, only the arm7 lib is built. Additionally, when building a luxe project for iOS, it fails to copy the correct lib files (due to them missing possibly?) so the build breaks with

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /usr/lib/haxe/lib/snow/git/ndll/iPhone/libsnow.iphoneos-64.a (No such file or directory)
ruby0x1 commented 9 years ago

So, the build server had a typo which I fixed, the order of arguments was causing some confusion to the script and it was mixing up the folders. after that, it didn't clean the folders up so old incorrectly placed builds may have stayed in the wrong place. All of that is resolved now, and the downloads are as they should be.

You should be able to get the ndll folder correctly from here now (As written up here):

http://build.luxeengine.com/snow


If you build snow manually for iOS, you'd want to use something along the lines of this, inside the snow/project folder:

flow build ios --archs armv6,armv7,armv7s,arm64,sim,sim64 --d static_link

When you build your app - Xcode takes care of the build details, so you don't have to do any of that.

For the application side, It would be :

I'll make a note about the iOS rebuilds for snow docs, sorry for the confusion!