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
- in menu left, select project.
- to right, you'll see "project" , "targets". select project.
- go info tab , click '+' under configurations , choose "duplicate "debug"/"release" configuration" , name whatever you'd like.
to choose build type use
- click "nameofmyproject" next device you're building (upper left of screen) , choose "edit scheme".
- choose run -> build configuration -> nameofyourbuildconfiguration.
hope helps.
Comments
Post a Comment