Comments (2)
If I remember correctly you have to save the modified Xcode project file. Can't test it atm though.
project = Xcode.project('MyProject.xcodeproj')
project.save!
Am 10.11.2014 um 15:58 schrieb Noroxs [email protected]:
Hello everyone.
I know that this project is not supported anymore but maybe someone can help me.
I want to change the TARGETED_DEVICE_FAMILY before building a version. I found the property to change the value but when I build the version the targeted devices are not changed.
What I'm doing wrong?
Thank you for your help.Example:
config = Xcode.project('MyProject.xcodeproj').target('Application').config('Debug')
config.targeted_device_family = :ipad
builder = config.builder
builder.build—
Reply to this email directly or view it on GitHub.
from xcoder.
project.save! did it for me.
Thank you for the fast answer.
from xcoder.
Related Issues (20)
- TestFlight Broken in 0.1.14 HOT 3
- supporting cocoapods with xcoder HOT 20
- Add support for Kickfolio
- Add support for GitHub's commit status API HOT 1
- xcoder - command not found HOT 9
- Add ability to set provisioning profile name to builder, but not path to it.
- Info.plist preprocessor not working HOT 4
- Keychain lock timeout HOT 3
- dSYM filename HOT 5
- provisioning_profile.rb shell command does not escape string properly HOT 3
- Cut a release HOT 3
- xcodeworkspace builder with cocoapods raising No such target PFK everytime HOT 1
- Unknown substitution variable $(PROJECT_NAME)
- when try to list all projects, got this syntax errors in xcoder HOT 1
- Build fails when using XCode 5 Icon Asset Catalogs
- How to add external file to a project?
- Versions in .rbenv-version and .ruby-version don't match HOT 1
- Can't manage to pass tests HOT 5
- Bug with xcode 6, Ruby 0.1.18 Certificate wrong HOT 2
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 xcoder.