Comments (6)
Is there a solution for this? I believe I am running into the same issue.
from cordova-plugin-cocoapods-support.
Hi,
I want to download the SDK from repository using credentials. If I use Native development, i can create separate pod file and can keep URL as well as Credentials. Here if I use private POD file in plugin.xml how can i provide URL and credential?
Please help me
Thanks
Mani
from cordova-plugin-cocoapods-support.
from cordova-plugin-cocoapods-support.
provide URL and credential?
Hi Team,
Thanks for the quick reply. @maniveltvl - He is my Team Lead. So, am replying on behalf of him
We are trying to create a Custom Cordova Plugin where we are trying to download ios SDK via cocoaPods
Here is the steps that we had used in Native development to access Private repository by credentials
- Created a Podfile as follows
platform :ios, '12.0'
use_frameworks!
plugin 'cocoapods-art', :sources => ['Source Name']
source 'Source URL'
target 'ProjectTiltle' do
pod 'PODNAME', '~> PODVersion'
end
-
Created a .netrc file in home directory of MacOS which has URL and User credential details. .netrc file as follows
machine URL login USERNAME password PASSWORD
machine URL login USERNAME password PASSWORD -
Then Pod installation has been done by sudo gem in Terminal. Automatically Pod file will download the library by accessing .netrc files for credentials and it will download the library and its dependency files
So, we are using Private repository in our app only not in Public access
Could you please help us how to achieve this same thing by this framework in Custom Cordova project? Advance thanks for any help. Have a great day!
from cordova-plugin-cocoapods-support.
Hi Team,
Thanks for the quick reply. Sorry, we couldn't provide URL and Credential because of Client Confidentiality Agreement. Could you please help us by accessing some other Private Repository(In case URL and credential available with you) which follows the same procedure? Or Is there any other workaround is possible? Advance thanks for any help. Have a great day!
provide URL and credential?
Hi Team,
Thanks for the quick reply. @maniveltvl - He is my Team Lead. So, am replying on behalf of him
We are trying to create a Custom Cordova Plugin where we are trying to download ios SDK via cocoaPods
Here is the steps that we had used in Native development to access Private repository by credentials
- Created a Podfile as follows
platform :ios, '12.0'
use_frameworks!
plugin 'cocoapods-art', :sources => ['Source Name']
source 'Source URL'target 'ProjectTiltle' do
pod 'PODNAME', '~> PODVersion'
end
- Created a .netrc file in home directory of MacOS which has URL and User credential details. .netrc file as follows
machine URL login USERNAME password PASSWORD
machine URL login USERNAME password PASSWORD- Then Pod installation has been done by sudo gem in Terminal. Automatically Pod file will download the library by accessing .netrc files for credentials and it will download the library and its dependency files
So, we are using Private repository in our app only not in Public access
Could you please help us how to achieve this same thing by this framework in Custom Cordova project? Advance thanks for any help. Have a great day!
from cordova-plugin-cocoapods-support.
Hi, @blakgeek
We are looking for your reply on the above query. Could you please help us?
Thanks
Manivel
from cordova-plugin-cocoapods-support.
Related Issues (20)
- Error: Cannot find module 'glob' HOT 2
- Extended ReadMe for Newbs HOT 1
- Build failed. Xcode module not found. HOT 2
- plugin removes previously installed Cordova pods HOT 4
- uses-frameworks="true" in plugin.xml doesnt set use_frameworks! in Podfile HOT 1
- Plugin won't install successfully HOT 2
- Broken with latest Builds HOT 2
- Can HOT 1
- lib isn't installed HOT 1
- Failed to install 'my-plugin-name': Error: Variable(s) missing: PODS_IOS_MIN_VERSION HOT 1
- Imported type swift framework using `cordova run ios` running error HOT 3
- Plugin with cocoapod dependency build error HOT 1
- Using local pod / podspec HOT 1
- Using the plugin to add post_install code to the pod file HOT 3
- Plugin is broken using cordova cli 9.0.0 HOT 2
- Not reading podspec tags in Plugins HOT 1
- Support for use_frameworks! :linkage => :static
- Loading pod via git link loads wrong pod
- How to add pod for specified target?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-cocoapods-support.