Questions tagged [build-settings]

154 questions
73
votes
6 answers

How do I configure full URLs in xcconfig files

I have an xcconfig file which contains a configuration for which server my app should hit. In debug mode, this will be a different server than for release builds. The problem I have is that a URL of the form http://www.stackoverflow.com is treated…
atreat
  • 4,243
  • 1
  • 30
  • 34
61
votes
5 answers

How can I skip code signing for development builds in Xcode?

Whenever I build my Xcode project, after compiling all my code, it takes forever to finish "signing product." (I believe it's because the project includes about 200 MB of resources that need signing.) I would like to skip the code signing during…
tbodt
  • 16,609
  • 6
  • 58
  • 83
51
votes
12 answers

How to read current app version in Xcode 11 with script

Until Xcode 11, I used a script that reads the current app version (for the AppStore) and help me change the LaunchScreen since we can't use swift for…
Mojtaba Hosseini
  • 95,414
  • 31
  • 268
  • 278
46
votes
7 answers

How to delete user-defined build settings in Xcode 4.3.1

I have created several user-defined build settings in Xcode 4.3.1. I no longer need these settings and want to delete them, but there doesn't seem to be a way to delete them! I am aware that these are stored in the project settings (project.pbxproj)…
Rahul Iyer
  • 19,924
  • 21
  • 96
  • 190
27
votes
1 answer

AppStore submission - how to duplicate the release configuration?

I'm in the throes of attempting to submit an app via XCode 4. I've just noticed, per this url from Apple : http://tinyurl.com/3ol2qoj that to prepare an app for submission to the app store in XCode 4, you must: In your project, duplicate the…
Jack BeNimble
  • 35,733
  • 41
  • 130
  • 213
27
votes
1 answer

iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture

I have a problem :-( When I build my application for release XCode shows a warning saying: iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture (current IPHONEOS_DEPLOYMENT_TARGET = "3.0", ARCHS = "armv7"). But…
Aluminum
  • 2,932
  • 5
  • 35
  • 63
23
votes
3 answers

Per configuration app group entitlement strings in Xcode?

Is there an easy way to have per-configuration app group entitlement strings in Xcode projects? We're trying to share settings between an iOS application and today extension using an "app group" entitlement in both the targets. The problem we're…
EricS
  • 9,650
  • 2
  • 38
  • 34
21
votes
2 answers

iOS: Clarify different Search Paths

There are three different search paths in XCode Build Settings: Framework Search Path Header Search Path Library Search Path Could anyone clarify what those paths do and what they are used for?
cschuff
  • 5,502
  • 7
  • 36
  • 52
20
votes
3 answers

iOS: Universal App - Release as iPhone only

A customer is interested in releasing a universal app. However, the first release will contain only the iPhone version, the second release will contain both versions. I found a few links where ppl figured out how to make this work in the simulation…
Tomen
  • 4,854
  • 5
  • 28
  • 39
17
votes
7 answers

“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift."

Ever since I've updated to Xcode 8.2 (GM seed, from the App Store), I have been stuck at the following error: Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > …
Vatsal Manot
  • 17,695
  • 9
  • 44
  • 80
15
votes
1 answer

Xcode does not generate dSYM file

In my iOS Project, I have set the Generate Debug Symbols to be Yes, but the .dYSM file is not created in DerivedData folder. I am running this application on my iPhone. Because I need it to map it to do the time profiler, because time profiler shows…
Shanmugaraja G
  • 2,778
  • 4
  • 31
  • 47
15
votes
2 answers

Xcode build setting "Build Products Path" (CONFIGURATION_BUILD_DIR) is a lie?

If I create a new application project, the build settings look something like this: It claims to be using a build dir build/Debug-iphoneos. I assume this is relative to the project directory? In reality, the project is compiled to the "derived…
Rob N
  • 15,024
  • 17
  • 92
  • 165
12
votes
2 answers

Is it possible to add environment variables in automated builds in docker hub?

I want to automate my build process and need to pass an environment variable to run some of the commands in the Dockerfile. I was wondering if there was any way to do this in Dockerhub. I know docker cloud has something like this, but I was…
Soccergods
  • 440
  • 5
  • 17
11
votes
1 answer

How to access Xcode user define build settings from run script in build phase?

I run a script during a build phase. Xcode lets you define user-defined build settings. I thought I would use these settings to store values or paths that I want to pass to the script. Is this possible? How can I pass user-defined build settings to…
Rahul Iyer
  • 19,924
  • 21
  • 96
  • 190
11
votes
1 answer

How to differentiate multiple targets with Xcode 4.2

I've developed a lite version of an app. Now I want to create a paid version. So I've duplicated the target, changed its name (so change plist and other stuff with that name) and now I have to differentiate in code. I'm using Xcode 4.2 and I see on…
Jayyrus
  • 12,961
  • 41
  • 132
  • 214
1
2 3
10 11