Search code examples
apportable

How to supply 2/p options to apportable command?


Currently, I need to type 2 and p for OpenGL ES 2.0 and portrait mode rendering when I run apportable command. Because I frequently erase all generated files to perform clean build.

Is there any way to supply these values automatically?


Solution

  • Additionally note that you can make the following bash script that will allow you to send 2 and p to apportable after having removed the generated files, if you choose to go that route (but as Paul said, those files are meant to be persistent -- if you are having troubles picking up changes to your xcodeproj, please let us know!):

    echo "2
    p
    " | apportable