Comments (8)
What about User Defaults instead? (Just a suggestion, not sure what's really best)
from cocoapods-app.
@AliSoftware That is an interesting thought! But let’s keep it simple with an env variable for now, until people really start requesting a persistent way to do this.
from cocoapods-app.
Problem with ENV variables is what I explained in Slack the other day: If one want to add a "Script Build Phase" that uses CP to its Xcode project, which is shared among coworkers (where everyone is supposed to have CocoaPods installed on their machine), then per-machine environment variables are not that easy to insert into Xcode's Script Build Phases.
from cocoapods-app.
Everyone should use the same version of :cp:, though, so it makes sense to hard-code it in the script phase.
from cocoapods-app.
@neonichu Except if some prefer to install it in ~/Applications
instead of /Applications
for example, or if one want to use the gem
-installed version and have a different $GEM_HOME
that the default one, etc…
from cocoapods-app.
@AliSoftware In our case, assuming that you would call the bundle the same (e.g. CocoaPods-0.35.0.app
) it wouldn’t matter where you place it on disk, the pod
binstub will find it with env CP_APP=CocoaPods-0.35.0 pod […]
.
from cocoapods-app.
@AliSoftware those are tangential to the environment variable for the binstub, though.
from cocoapods-app.
After a bit more consideration, I think it makes sense to already add support for reading it from a User Default, but setting it should be done through the defaults
command.
from cocoapods-app.
Related Issues (20)
- Not Working in 9.3 HOT 1
- mac os 10.13.4 not work HOT 3
- The operation couldn’t be completed. (CocoaPods.CPPodfileInitErrors error 0.) HOT 11
- pod search *** ,an error occurred. HOT 1
- Can't run pod init HOT 5
- The version of CocoaPods used to generate the lockfile (1.5.3) is higher than the version of the current executable (1.1.1). Incompatibility issues may arise. HOT 1
- App Download link is not working HOT 2
- constrast between "recent" and "spotlight" is too low HOT 2
- Icloudremove
- need supper create XXXX.spec HOT 1
- Xcode10.2.1 (10E1001) 报错 Unsupported Swift Version
- Can't use the generate_multiple_pod_projects HOT 2
- High CPU (ReflectionService) HOT 1
- CocoaPods App Not Working in Catalina HOT 4
- Could you please provide the 1.8.4 app version? HOT 1
- 1.5.2 still buggy, service load CPU HOT 1
- How can I delete CocoaPods cli? HOT 2
- Alaoy24
- Install
- 1
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 cocoapods-app.