xcode - Adding a build variant and running it on iOS 8 -


when create new ios project have 2 build variants, debug , release (or @ least that's called in android, build variant).

is possible create build variant? let's say, "staging".

then, how run app on different build variant, example how run in release mode on emulator/development device?

yes, here's how.

to add build configuration

  1. in menu left, select project.
  2. to right, you'll see "project" , "targets". select project.
  3. go info tab , click '+' under configurations , choose "duplicate "debug"/"release" configuration" , name whatever you'd like.

enter image description here

to choose build type use

  1. click "nameofmyproject" next device you're building (upper left of screen) , choose "edit scheme".
  2. choose run -> build configuration -> nameofyourbuildconfiguration.

hope helps.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -