IDE: NetBeans
Desktop OS: Mac
Simulator 
Device: iPhone

Hi,

I need to integrate an SDK to codename one project (I cannot share it's 
name for confidentiality reasons), they provided the following 
instructions, I can integrate it using Xcode project, but cannot figure out 
how to do it on codename one.

Any advice?
Thanks in advance!
Using Cocoapods (along with cocoapods-art plugin)

   1. 
   
   Because standard cocoapods doesn’t support any authentication 
   mechanisms, in order to use CocoaPods with Artifactory you will need to 
   install the ‘cocoapods-art <https://github.com/jfrog/cocoapods-art>’ 
   plugin. To install cocoapods-art run the following command:
   
   gem install cocoapods-art
   
   2. 
   
   The plugin uses authentication as specified in standard .netrc file 
   
<https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html>
   ).
   
   machine A_PRIVATE_URL
   login ##USERNAME##
   password ##PASSWORD##
   
   3. 
   
   Once set, add our repo to your cocoapods dependency management system:
   
   pod repo-art add myPrivateSDK "A_PRIVATE_ART_URL" 
   
   4. 
   
   At the top of your project Podfile add:
   
   plugin 'cocoapods-art', :sources => [
       'master',                 # so it could resolve dependencies from master 
repo (the main one)
       'myPrivateSDK'            # so it could resolve PRIVATE_FRAMEWORK1 
depdendency
   ]
   
   5. 
   
   Add the FRAMEWORKS in your Podfile in one of its pods version:
   
   pod 'PRIVATE_FRAMEWORK1'
   
   pod 'PRIVATE_FRAMEWORK2' 
   
   6. 
   
   Then you can use install as usual:
   
   pod install
   
   
NOTES. If you are already using our repo, and you cannot resolve some 
dependency, try to update the specs:

pod repo-art update myPrivateSDK

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/667862fb-6dcb-4cbf-805b-8e5cdc729a01%40googlegroups.com.

Reply via email to