Questions tagged [build-settings]
154 questions
4
votes
2 answers
Arm64e Architecture for iOS 12.0
I am trying to run my app on my phone with iOS 12.0.
Xcode is giving me this error,
"Phone doesn’t support any of Project.App’s architectures. You can add Phone’s arm64e architecture to Project’s Architectures build setting"
I have added the arm64e…

Samraan Khaan
- 480
- 4
- 13
4
votes
3 answers
Reason to include "-ObjC" in Xcode
We include "-ObjC"in other linker flags of project settings in Xcode if we include any external libraries or frameworks can any one tell me what is the reason for it and what it does if we include it.
Thanks in Advance..

Teja Swaroop
- 1,139
- 12
- 18
4
votes
2 answers
Xcode doesn't show menus for build settings options
I'm using OS X 10.9.1 (Mavericks) and Xcode 5.0.2. I create a new project and in the project's Build Settings, there are no menus to choose values for the different options. Here's a screenshot...
You can see that, for example, Base SDK shows an…

Xavi
- 583
- 1
- 7
- 13
4
votes
1 answer
how to set the flag -ObjC -all_load when building for ios
I want to set the flag "-ObjC -all_load" like i set in the xcode (under build-settings-> other linker flags)
in order to get iOS apps with air to work with applicasa iOS framework.
But what ever I do in the xcode proj seems like the flag being…

Applicasa iOS developer
- 256
- 2
- 13
4
votes
3 answers
Xcode builds on Debug but not on Release
So, I have this problem when trying to build my project.
Currently If I run the project in Debug mode, it runs fine, the app starts up on the device and I can test stuff.
However the weird part is when i switch over to the Release build and try to…

user1289479
- 291
- 4
- 16
4
votes
3 answers
Is there a way to have a different Default.png (splash image) for different languages/locales in iOS?
Possible Duplicate:
Localization of Default.png is not working
My splash screen has English text in it, so I would like to be able to have a different splash image when users have a different language set.
Is this possible?

Eitan
- 1,308
- 3
- 15
- 32
4
votes
1 answer
Why is armv6 a Valid Architecture for iOS 5?
Can someone tell me why creating a new project with an iOS Deployment Target of iOS 5.0 includes armv6 as a Valid Architecture in Project > Build Settings by default? The default info.plist file only lists armv7 in the Required Device…

DenVog
- 4,226
- 3
- 43
- 72
3
votes
1 answer
XCode 4 "add build setting condition" not enabled
I am trying to include Layar Player in the iPhone application I am developing in XCode 4. One of the steps of section "1.3.1.2 Universal build configuration" asks to click on "Add Build Setting Condition".
But that option is not enabled (it is…

Cristina
- 31
- 1
- 2
3
votes
0 answers
Building Yocto and specifying a layer to be a debug build, everything else release
I have a project where I need only layer to be a debug build. I went to the meta/conf/layer.conf file, adding the following lines:
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INHIBIT_PACKAGE_STRIP = "1"
DEBUG_BUILD = "1"
EXTRA_IMAGE_FEATURES_append = "…

K K
- 31
- 2
3
votes
1 answer
How to change Xcode Build Settings environment vars from a Build Phase script?
Is it possible to change Xcode BuildSettings environment variable on a build phase in a script?
The whole idea is the following:
I want to publish an open source project with unit tests.
My tests require sensitive data like "login" and "password",…

Vladlex
- 845
- 8
- 16
3
votes
0 answers
Modify framework build settings from containing iOS app
We develop an open source framework that can be built with various preprocessor flags to enable/disable certain features. It is crucial that these features are only compiled when they are actually needed (by the framework user) as they may have App…

hagi
- 11,503
- 3
- 35
- 48
3
votes
1 answer
Swift 1.2 Upgradation
I have updated my Swift project to version 1.2 and the build times have been improved after using Build Setting option Whole Module Optimization=Yes. But even if there is a small change in Swift file the entire Objective C files are getting compiled…

Jacob Davis Cherussery
- 467
- 9
- 24
3
votes
1 answer
XCode -> Build Settings names with underscores
I have had a Build Settings tab setting's names with underscores so far. And I know it supposed to be without underscores...
I've never complained a lot about that, just reviewed once "preferences" and google a bit but stopped trying to solve it…

Injectios
- 2,777
- 1
- 30
- 50
3
votes
1 answer
Replacing Xcode's preprocessor with a custom process
I have a need to look at the files Xcode will compile before the preprocessor gets a stab at them. In short, I need to stick a preprocessor in front of the preprocessor.
All the Google searching has netted me nada when it comes to details on how to…

MyztikJenz
- 1,650
- 14
- 19
3
votes
1 answer
Is there a way to edit default build settings?
Every time I create a new project in Delphi 2009, it loads up two sets of build settings: Debug and Release. Problem is, the Debug settings are all wrong. It has optimizations on, which makes the debugger lose local variables, and Debug DCUs off,…

Mason Wheeler
- 82,511
- 50
- 270
- 477