Questions tagged [xcode-scheme]

Xcode schemes helps to setup different environments for different builds. Xcode schemes help to specify different environment variables for Running, Debugging, Releasing, Profiling and Archiving.

Xcode schemes helps to setup different environments for different builds. Xcode schemes help to specify different environment variables for Running, Debugging, Releasing, Profiling and Archiving.

37 questions
2
votes
1 answer

Determining if Xcode StoreKit Configuration file is being used

Xcode 12 introduced StoreKit Configuration files which are great for testing basic StoreKit functionality before delving into App Store Connect, Sandbox and all that. Is there a way to determine at run-time (or even at compile-time) whether the…
Jaysen Marais
  • 3,956
  • 28
  • 44
2
votes
1 answer

Xcode configuration doesn’t change after switching schemes

In my Xcode project, I set up two schemes: Dev and Release; each corresponds to the configuration of the same name. The problem is, when I activate the Release scheme, the project still uses the Dev configuration: in project details, I see product…
Yakov Manshin
  • 664
  • 9
  • 24
2
votes
1 answer

Xcode 8 - Building all schemes in background

I use Xcode (8.2.1) schemes to build a project with different configurations : Everytime time I change something in the code and hit Command + R to run the project, Xcode builds all the schemes : AFAIK, this was not the case with Xcode 7. It is…
Axel Guilmin
  • 11,454
  • 9
  • 54
  • 64
2
votes
0 answers

Can an iOS app "know" if it's a beta distribution through Apple's Testflight?

I'm in the middle of transitioning from TestFlight's native app to Apple's TestFlight through iTunes Connect. My Xcode Project is set up with a beta scheme and a distribution scheme, so I can include a number of debug features in the beta version…
Mason
  • 6,893
  • 15
  • 71
  • 115
2
votes
1 answer

Setting up xcode configuration/scheme for beta distribution

I'm trying to create a way to be able to distribute a beta version of my app via Testflight without overwriting the production version. I'd like to be able to know in the code whether it's a beta build or a production build (i.e. somehow define #if…
Mason
  • 6,893
  • 15
  • 71
  • 115
2
votes
2 answers

iOS different bundle ids map to the same app

I'm trying to follow the convention described in this answer to manage both an app store and enterprise version of the same app but am seeing some really interesting behavior. As described in the linked answer I've created a new scheme, defined a…
jpredham
  • 2,149
  • 1
  • 23
  • 37
2
votes
1 answer

How to install XcodeColors with Xcode 4.6?

Using CoconutKit, I wanted to see all their logs in color. Sadly, I did not get XcodeColors to run. Supposedly, I was to copy XcodeColors into the Xcode plug-ins path: /Library/Application Support/Developer/Shared/Xcode/Plug-ins Not only the…
2
votes
1 answer

Xcode schemes: One project which selects either iOS or Mac OS X

I am trying to build a library for inclusion in other iOS/Mac OS X projects. I currently have two separate projects that I switch between to build the library. I would like to have one project and two different schemes so that another person in my…
user1660675
  • 149
  • 3
  • 10
1
vote
1 answer

Duplicating debug configuration for multi Scheme is not working in React native-iOS

I've developed my project using react native, and now I am trying to implement multi-scheme for my dev, uat, and prod environments. For the above, I've setup schemes and duplicated the release and debug configuration for each one of the scheme, and…
1
vote
0 answers

How can i use different source files with same class name in Xcode for mocking?

My Xcode project contains two target: main that contain the main source code uiTest that contain code for ui testing So it has a file called DIResolver that used to provide my dependencies. When i build main target it works fine but when i start…
Yuriy Kolbasinskiy
  • 3,791
  • 3
  • 16
  • 33
1
vote
2 answers

React Native: Simulate Background Fetch disabled

I'm trying to simulate background fetch in a React Native project React Native version 0.57.3 Xcode Version 10.0 (10A255) I've opened the ios project on Xcode and then I build the project then run it, but the option to simulate background fetch is…
1
vote
1 answer

How can I force/setup the right keyboard in the iOS Simulator during tests?

The app has a Chinese localization and runs with Scheme options (see image). When I hit the text field, I would expect a Chinese keyboard and not a German one. I only see German, English and Emoji keyboards. Is there any way to tell the Simulator…
coco
  • 4,912
  • 2
  • 25
  • 33
1
vote
1 answer

In Xcode, what exactly is a scheme?

At first I thought a scheme was a list of values for each build type. By default, there are two schemes, Debug and Release. In the app target, you customize each scheme on the fly by choosing the values (in the default case for either Debug or…
user7024499
  • 951
  • 1
  • 10
  • 24
1
vote
0 answers

Right way for making App Pro version in Xcode

Well, we have got a simple application, and now we decide to make Pro version. Otherwise, it will have approximately 30% of changes of code and UI. My question is simply - how make this right way? I've got two ideas: I could create additional…
Igor Kislyuk
  • 330
  • 1
  • 4
  • 14
1
vote
0 answers

Xcode. Scheme is missing on one branch

I've run into one thing I've never seen before. Throughout this week I've worked with several branches in my project and they all have been committed and pushed to the origin and now, when I'm home I decided to work for a while. But when I switch to…
Andrey Chernukha
  • 21,488
  • 17
  • 97
  • 161