I would like to create my own iOS module which requires CocoaPods pod ( https://cocoapods.org/pods/NearbyMessages ).
I created a new module using the Titanium command line interface:
ti create
I followed the instructions from CocoaPods ( https://guides.cocoapods.org/using/using-cocoapods.html ) to create a subfile:
platform :ios, '9.0'
target 'MyModule' do
pod 'NearbyMessages'
end
I put the podfile in the "iphone" directory of my iOS modules directory:
MyModule
- LICENCE
- README
- assets
- documentation
- example
- iphone
- Podfile
- ...
- timodule.xml
- titanium.xcconfig
I installed the module using the following command:
pod install
I opened Xcode with the newly created * .xcworkspace file and added the following line to the end of the titanium.xcconfig file:
#include "Pods/Target Support Files/Pods-MyModule/Pods-MyModule.debug.xcconfig"
But, unfortunately, this leads to several errors, for example:
, Pods, .
-, , , XCode NearMessages iOS?
!