Following some of the discussion on this post from the forum at Intel, has there been any discussion on support for building frameworks or pods to include in existing iOS projects? The largest barrier to introducing shared code between our iOS and Android teams is that the iOS team would have to switch to a MOE project. Being able to distribute a library as a pod would let many orgs start using MOE without fully switching over their iOS team.
Ideally we would be able to build and distribute a standalone Java library project as both a JAR (for Android) and a framework/pod (for iOS).
From the previous thread:
If your client wants to develop in Objective-C / Swift, then your Java library and Objective-C bindings could be distributed as CocoaPods. We would provide special CocoaPod recipes for such Java libraries and their dependencies, so the end user only have to specify the pods in her project configuration, and the build will automatically combine the different Java libraries, minify them using proguard and add the MOE runtime as a framework dependency to the project. The end user only has to add a single line (MOE_init(argc, argv) in the main.m, before UIApplicationMain() is called. This will initialize the MOE VM and set up its connection with the Objective-C runtime. After that the Java library can be accessed through the Objective-C wrappers, without the need of JNI calls.