Re: Multiple versions of an app


Carl Hoefs
 

On Dec 16, 2020, at 1:33 PM, Carl Hoefs <newslists@...> wrote:

in project settings:

BUNDLE_ID_SEQ="0"
PRODUCT_BUNDLE_IDENTIFIER="com.example.foo.$(BUNDLE_ID_SEQ)"

then:

$ xcodebuild BUNDLE_ID_SEQ=1
(etc.)


Could this way also be used to name the app itself? 

Something like: PRODUCT_EXECUTABLE_NAME="MyApp$(BUNDLE_ID_SEQ)"
to generate MyApp1.app, MyApp2.app, etc...

-Carl

Join xcode@apple-dev.groups.io to automatically receive all group messages.