Exporting iOS apps
-
Hi, I want to build a simple free synthesizer app for iOS for an education proccess, im trying to export and running it in the Xcode simulator and builds fine but when the app opens i got some errors in the PresetHandler.cpp.
I know there is a tutorial but the page seems to be broken http://hise.audio/manual/ios.php @Christoph-Hart is there any way to build iOS apps? Thanks.
-
@UrsBollhalder is the master of iOS now (he's the last one that tried to compile something).
iOS is pretty much abandoned though (no real public interest and too much of a maintenance burden to drag along), so unless you know how to fix stuff in C++ and know your way around the kinks of iOS development you'll not be able to get much joy there.
-
@Christoph-Hart I wish I'd deserve that title... but yes, I managed to compile 2-3 prototype apps on my iPhone. Pretty cool actually! They were quite graphics-heavy but ran nicely on my iPhone 8. I then went on to rebuild them in swiftUI and elementary audio/React Native!
But I'd say if you are doing some simple apps you should be able to export to iOS. Even more complex ones should work. But it took me a while to get it to work though. I had to cut a few ties... stuff that made my app crash... not sure what it was again.
I guess what I am mostly missing with JUCE is mobile-specific touch gestures.
What exact errors are you seeing @Soundavid? Maybe I can help.
-
@Soundavid What I did in general was to first export a super simple project with nothing that could possibly endanger the build.
Then I went on to try and export my project. When getting errors for stuff like you describe (I remember Scriptnode and some other things being a bit finicky), I'd just disable that part for the time being, and tried to export it from there. If it worked, I'd tackle those parts again, to see whether I could eventually make them work and find out if it was my sloppy programming or my sloppy programming that caused the build error. Most of the time I'd find a solution.
But in general, I found it beneficial to keep it as simple as possible for iOS builds.
But yeah, these are just my own 2 allocated buffers.
-
@Christoph-Hart @UrsBollhalder Thanks for the Reply! My app its a simple Synthesizer with simple effects and MPE Keyboard, the build succeeded! But the app crashes with an error in PresetHandler.cpp I think there is an issue on how the presets are stored in the device, Im using some script node effects but I think the Presets are the first challenge to make it work, ill try building a simplified version of the project in the next days.
-
@UrsBollhalder Sent you a message. I knew you would get it to work!