xcode project settings and project file issues, including code-signing, build configurations, etc
Questions tagged [xcode-project]
105 questions
3
votes
1 answer
Moving Xcode project onto another machine - How do I handle files referenced from outside the project folder?
thanks for taking a look.
I had bought the cheapest Mac Mini I could so that I could do some iOS dev, and my project has outgrown it. So I bought a MacBook Pro! It's awesome, uploading my parse cloud code took 15-20 minutes on the mini, and is…

Jake T.
- 4,308
- 2
- 20
- 48
3
votes
0 answers
Run a script between compiling and linking
I'm looking for a way to add an auto-generated code to an app, and the code is dependent on the compiled object files.
Is there a way to run a script after the source files were compiled, but before the object files are linked?
Adding a build phase…

silyevsk
- 4,021
- 3
- 31
- 30
3
votes
1 answer
Debug configuration file (.xcconfig)
Is there a way of checking whether your xcode project is using the .xcconfig configuration file with which you have supplied it?
What I mean is, if there is some way of 'printing' a statement eg debugging, like #warning, #error, printf, etc...?
The…

G.Rassovsky
- 774
- 1
- 10
- 23
3
votes
0 answers
CocoaPods - change name of generated Pods.xcodeproj
Can I change the name?
CocoaPods generates a project automatically within my workspace.
Why i would want to change its name from Pods is a pretty lengthy story that I'll leave out.
Can I do it? I couldn't see an answer in the Podfile documentation…

Matt H.
- 10,438
- 9
- 45
- 62
3
votes
1 answer
Old-style plist linter
I am writing an application that generates .xcodeproj files. It's generated a .pbxproj file, however when opening it in Xcode, I get an error message, "cannot be opened because the project file cannot be parsed." and nothing more.
Is there a…

bobbybee
- 1,758
- 1
- 16
- 27
2
votes
0 answers
xcconfig has no effect when running 'swift package generate-xcodeproj'
I am creating an xcode proj with swift package generate-xcodeproj. The resulting project has a few targets, that correspond to the dependencies of the project. Some of them have IPHONEOS_DEPLOYMENT_TARGET set to 8.0, some to 13.5, and the…

JonasVautherin
- 7,297
- 6
- 49
- 95
2
votes
2 answers
Double direct code inclusion in iOS product possibility
Our project at work depends on a dynamic library that is called "LibraryAlpha". Also, our project at work depends on a dynamic library that is called "LibraryBeta". And also, it just so happens to be that "LibraryBeta" also depends on…

Isaaс Weisberg
- 2,296
- 2
- 12
- 28
2
votes
1 answer
Ruby gem Xcodeproj throws exception on project save
As I was experimenting with Xcodeproj I found an error that might come from misusing the API. Could you please point out what I am doing wrong?
require 'xcodeproj'
project = Xcodeproj::Project.new("test.xcodeproj")
new_target_name =…

farkasseb
- 580
- 4
- 15
2
votes
2 answers
iOS .app file larger than total Xcode project folder
Contains the terminal .app unzip infoI built the iOS app. Total Xcode project size is under 100 MB only. After I built the app, I got the .app build size is nearly 300 MB. Why happen like that. It's also taking a long time (nearly 30 minutes) for…

KAREEM MAHAMMED
- 1,675
- 14
- 38
2
votes
3 answers
Reading GoogleService-Info.plist file gives an error
I got a merge conflict while merging a branch in app.xcodeproj/project.pbxproj file. Conflict was with references related to GoogleService-Info.plist. I followed this answer
https://stackoverflow.com/a/2007358/4863339
to resolve the conflict. Now…

Abhishek Harsha
- 257
- 4
- 18
2
votes
1 answer
Integrating Cocoapods with large existing Xcode Workspace
I have recently been working with Cocoapods on my own projects, and would like to incorporate a couple of pods into a project at work. The problem is that our code consists of close to 20 projects stored inside a large workspace, sorted into…

alayers2
- 510
- 5
- 16
2
votes
2 answers
Is there a way to prevent OpenGL profiler to be attached to my application?
I wonder if there is a way to prevent "OpenGL Profiler" or "Instruments" to be attached to my application, because it reveal some shaders/process I would like to keep hidden.

vtruant
- 273
- 1
- 12
2
votes
1 answer
In Xcode, how can you check environment variables to know which build configuration or scheme you have selected?
From my script in "Run Script" under the Project > Target > Build Phases is there a way to know which build configuration you have run
I want to copy some private bundle files if it's the Debug build config, but not copy them if it's the Release…

jpswain
- 14,642
- 8
- 58
- 63
1
vote
3 answers
iOS Modularization - Is a scheme required for a Xcode project [framework] that's imported into the main app Xcode project?
I have been creating Internal (local) Swift Packages and then creating frameworks that import those packages as modules to help create service providing [public] classes and structs.
Said frameworks are then imported into the main app Xcode project…

RichyZDenmark1332
- 11
- 2
1
vote
0 answers
Two .xcodeproj files in one project. Unable to determine which one to remove and how
Iam having two .xcodeproj files in one project, While running via VSCode, i am getting this error/message
Launching lib/main.dart on iPhone 13 Pro in debug mode...
lib/main.dart:1
ProcessException: Process exited abnormally:
Command line…

Ujjawal Maurya
- 462
- 5
- 17