Dear icd_mike and Eugene,
the tutorial for this will probably only be ready at 1.3 release. However these are the basic steps to get cocoapods to work:
-
Create a new MOE 1.3 project
-
Create a Podfile in the project’s xcode directory
-
Add the pods you need
platform :ios, '8.0' use_frameworks! target 'MyApp' do pod 'AFNetworking', '~> 2.6' end
-
Run
pod install
-
Open the workspace in Xcode
-
Open the scheme manager and make your scheme ‘shared’
-
Open the build.gradle file and set the following values:
moe { xcode { project 'xcode/MyApp.xcodeproj' mainTarget 'MyApp' testTarget 'MyApp-Test' // SET THESE VALUES workspace 'xcode/MyApp.xcworkspace' mainScheme 'MyApp' testScheme 'MyApp-Test' } }
-
In Android Studio create an
nbc
file so you can generate bindings, I attached an example file.pods.nbc (305 Bytes)
-
I put my nbc file in my MOE module’s root
-
Open the nbc file and generate bindings
Best Regards,
Kristóf