Giter Site home page Giter Site logo

Comments (2)

orkoden avatar orkoden commented on August 19, 2024

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.

Noroxs avatar Noroxs commented on August 19, 2024

project.save! did it for me.

Thank you for the fast answer.

from xcoder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.