Questions tagged [xcode-build-settings]
38 questions
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…

Shashank Gupta
- 11
- 2
1
vote
0 answers
Xcode not adding newly generated plist after run script phase
I'm trying to follow this article https://peterfriese.dev/reading-api-keys-from-plist-files/ in an attempt to add a run script where a plist is generated from a sample plist that exists in the directory. Upon executing the script it correctly copies…

anonymousSwift
- 99
- 1
- 6
1
vote
0 answers
Xcode legacy build system in the AppCode
I am working on xcode now, but I want switch to AppCode to test it's capabilities. Problem is, my project is quite old, and wont build without legacy build system turned on. I know how to switch legacy system in the xcode, and I found how to force…

Vlad
- 113
- 2
- 9
0
votes
0 answers
What does install option of xcodebuild do
When running xcodebuild from the command line. What does the install option do?
xcodebuild -configuration release install
For the release scheme in this example, what switches does install flip?
The manual sadly does not elaborate and the man page…

fdcpp
- 1,677
- 1
- 14
- 25
0
votes
0 answers
How can I exclude a folder of generated source files from a Swift Package Manager build?
For context, I have been trying to write a swift package manager build tool plugin that generates mocks using the sourcery binary.
This plugin is working fine when used on a single target, but if I add it to several target in the same package, then…

Sam Woolf
- 81
- 7
0
votes
1 answer
xcodebuild clean deletes non-target files in BUILD_DIR - new in Xcode 12.5
I have our Xcode build system setup to place all build products in a pair of directories, one for Debug configuration and the other for Release using the build setting
BUILD_DIR = /Library/DevWork/BuildProducts
specified in a shared .xconfig…

Tim Standing
- 41
- 4
0
votes
1 answer
Xcode Build build error: sh: bad interpreter: Permission denied
I've been trying to compile a Cordova project in Xcode with no success for the last 2 days.
First of all, this is a clone of another project, with just a few changes, that compiles with no issues. And my experience in Mac is only using Xcode to…

Jorge Lizaso
- 199
- 1
- 3
- 15
0
votes
0 answers
Anyone facing Xcode crash with building with Xcode 12?
Our app was building fine till Xcode 12 beta 2. But since beta 3 all the Xcode version just crashes whenever I try to build the project. Not able to build for simulator as well as devices. I saw similar issue discussed on swift forum where,…

Siddhesh Mahadeshwar
- 1,591
- 14
- 16