However I have no idea how to actually give it the correct view controller for “parentViewController”. Where is the parent view? How do I tell it where it is? So confused!! I wish everything was in lua
I managed to get that working, however I have one of two issues:
I import the Kamcord framework (and then link the required frameworks) to the main project. It then actually works fine, however the corona app “black screens” after the splash
I import everything to the sub project. It seems to be working fine but won’t build because of a linking error with Kancord “Undefined symbols for architecture arm64”.
For #2, I don’t know what your base template is you started with, but you may need to go into build settings of Xcode and add in the 64 bit arm architecture…
Undefined symbols for architecture arm64: "\_OBJC\_CLASS\_$\_Kamcord", referenced from: objc-class-ref in libplugin\_library.a(PluginLibrary.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
That sounds like your framework isn’t 64 bit compatible. I would check with the people who made Kamkord to make sure they are providing you a 64 bit compatible framework.
Thanks for that. It’s odd though, that I actually originally got it working (when I imported it into the parent project), but for some reason Corona “black screened”.
Do they provide you the Kamcord.h file? Normally when you include a framework, it handles the header files. But if they are packaging their SDK in another way, you may have to include it in your project somewhere. They should have the exact instructions you need. From their perspective you’re just adding their SDK to an iOS objective C project.
We can’t provide support on 3rd party items like this. Perhaps it would be worth while to build a standard iOS Xcode based app and get it working there, and work with the vendor to get that working before trying to make it work with Corona Enterprise.
I managed to get that working, however I have one of two issues:
I import the Kamcord framework (and then link the required frameworks) to the main project. It then actually works fine, however the corona app “black screens” after the splash
I import everything to the sub project. It seems to be working fine but won’t build because of a linking error with Kancord “Undefined symbols for architecture arm64”.
For #2, I don’t know what your base template is you started with, but you may need to go into build settings of Xcode and add in the 64 bit arm architecture…
Undefined symbols for architecture arm64: "\_OBJC\_CLASS\_$\_Kamcord", referenced from: objc-class-ref in libplugin\_library.a(PluginLibrary.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
That sounds like your framework isn’t 64 bit compatible. I would check with the people who made Kamkord to make sure they are providing you a 64 bit compatible framework.