Questions tagged [build-settings]
154 questions
11
votes
3 answers
Xcode 8 no code signature found
After I upgraded to Xcode 8, I am unable to debug on the device due to the following error:
App installation failed. No code signature found.
My setup, observations and what I've tried so far:
The device has iOS 10 installed
Code signing and…

Martin Polak
- 1,228
- 1
- 12
- 16
10
votes
1 answer
Difference between Build Phases -> Link Binary with Libraries or Build Settings -> Linker Flags
What's the difference between Build Phases -> Link Binary with Libraries or Build Settings -> Linker Flags?
The former does not seem to allow you to specify between Debug vs Release, and the frameworks specified within it also don't seem to match up…

Boon
- 40,656
- 60
- 209
- 315
10
votes
1 answer
Can no longer import app module into unit tests after changing deployment target
For unit testing public classes of my main app target in my swift unit tests, I have to import my main app module in my tests like so:
#import MyAppModuleName
This worked just fine until I changed my deployment target from 7.0 to 8.4.
Now building…

Goodsquirrel
- 1,476
- 1
- 15
- 29
9
votes
4 answers
AWS Amplify Build Settings
Using Amplify I'm having difficulty deploying a React application which I believe is due to the build settings.
When trying to deploy the default build settings provided are shown below:
I know this is incorrect and the error I find in the build…

travelerrrrrrr
- 193
- 3
- 14
9
votes
1 answer
Where is the macro CURRENT_PROJECT_VERSION defined in Xcode?
This post How to set CURRENT_PROJECT_VERSION in xcode 8 says that setting is defined in the Build Settings, but how would I tell the name of the macro, such as CURRENT_PROJECT_VERSION from the Build Settings.

daniel
- 1,446
- 3
- 29
- 65
9
votes
4 answers
The executable was signed with invalid entitlements - 0xe8008016
I trying to run my app on a device with xcode, it's an ionic app, with xcode 9,
I had no problem but since I have updated to xcode 10 I keep getting this error message every time:
The entitlements specified in your application’s Code Signing…

Reza Ey
- 93
- 1
- 1
- 4
9
votes
2 answers
"Objective-C Bridging Header" entry in Build Settings does not appear in Xcode 8.3
I need to add some Objective-C files of a library to my project, and I created the MyProject-Bridging-Header.h file myself. But now I'm not able to set its path because in the project's Build Settings I don't find the Objective-C Bridging Header…

AppsDev
- 12,319
- 23
- 93
- 186
9
votes
2 answers
xcode add embedded binary with buildscript
I have been given a dynamic framework from a third party which does not compile on X86_64 based archs at linker stage due missing symbols, I have asked them repeatedly bundle this architecture with their framework, but they haven't been able to do…

RicardoDuarte
- 728
- 7
- 23
9
votes
1 answer
Asserts are hit in production build causing crashes
I have several assert(condition, "message") statements in my project.
They are used to check invariant conditions during development. I thought they would be ignored in production/release build (as stated in this answer). They are not. Instead they…

Rasto
- 17,204
- 47
- 154
- 245
8
votes
3 answers
Adding dummy objects to project
I want to add dummy objects for testing in project, but I don't want them to be included in my final build. So I have my AppDelegate class and there in imports:
#ifdef TESTING
#import "DummyBeaconLocationManager.h"
#else
#import…

Jakub
- 13,712
- 17
- 82
- 139
8
votes
1 answer
Associate POD Spec attributes to different Build Settings from their Xcode Configuration (e.g. Release, Debug)
I'm trying to create a POD spec for an existing library project.
In the Xcode project, the build settings define different Preprocessor macros for different Build Configurations (e.g.: "Debug" and "Release")
For example:
For the "Debug"…

CouchDeveloper
- 18,174
- 3
- 45
- 67
8
votes
3 answers
How to set default compiler options for XE2?
I am unable to figure out how to change default build/compile settings. The little default checkbox in the lower left of the project options dialog is gone. The documentation states:
The Default checkbox that appeared at the lower edge of many…

Sertac Akyuz
- 54,131
- 4
- 102
- 169
7
votes
1 answer
Xcode Build Phases: Headers vs Copy Files
What's the difference between these Xcode Build Phases: Headers & Copy Files?
When I add a Cocoa Touch Static Library (iOS) to my project, it comes with a Copy Files build phase, whereas when I add a Plain Static Library (macOS), it comes with a…

ma11hew28
- 121,420
- 116
- 450
- 651
7
votes
1 answer
What is Text-based API option in Xcode
Recently, I observed section named Text-based API in Xcode build settings. In Xcode 7.X it's under Linking section. But now with Xcode 8.X, it's separated out as another section in Xcode build settings. I'm interested to know what exactly it will…

Sivajee Battina
- 4,124
- 2
- 22
- 45
6
votes
1 answer
No "Metal Compiler" in target's Build Settings
I'm using Xcode 10.1. Even when using the search function in my target's Build Settings, I can't find a "Metal Compiler" or anything related Metal.
Described here, there are Metal settings that can be set in Build Settings, but there's nothing I can…

Chewie The Chorkie
- 4,896
- 9
- 46
- 90