Closed dpeek closed 10 years ago
This is fixed in: https://github.com/Randonee/BasisApple/commit/b6b9ad0f210fb4d8f4dec4f7d4653674b9eb73a6 Looks there was a change in hxcpp at some point. A simple path update seems to have fixed it.
Your right that I haven't worked on this in a while. Hopefully a swift target will be created at some point so the cffi stuff will no longer be needed.
I should also mention that the simulator doesn't seem to be loading from the terminal. You can open the Xcode project and build / run from there. You can find the Xcode project file at: build/ios/simulator/Example.xcodeproj
Thanks for the fast response – that did the trick. Can't believe I didn't figure that one out! I found that using ios-sim from npm worked, although I'm currently debugging an "Invalid Cast" exception on startup.
Looks like you might have moved on from this awesome project, but I was hoping for a hint on getting the example built with the latest haxe/hxcpp (I'm building with the latest of both).
Right now
AppleBuildTool
fais while trying to copy frombuild/ios/simulator/haxe/cpp/obj/iphonesim/src/
tobuild/ios/simulator/Files/bin/
as the source directory doesn't exist. The source is this line here: https://github.com/Randonee/BasisApple/blob/master/buildtool/src/basisapple/AppleBuildTool.hx#L248I've rebuilt hxcpp for ios sim and build tools on both sides, but am no close to figuring out where this directory gets created.
Any help would be greatly appreciated!