xcode project settings and project file issues, including code-signing, build configurations, etc
Questions tagged [xcode-project]
105 questions
1
vote
0 answers
Xcode doesn't pick up files changed by pre-action script
In my project I need to generate a file that will be used in one of my Swift Packages.
I added a script to generate it as a pre-action to make sure it happens before anything else is build - and it works.
File is generated properly - it appears in…

Grzegorz Krukowski
- 18,081
- 5
- 50
- 71
1
vote
1 answer
Where is google Chromium's Xcode Project?
I'm trying to make a web browser application for macOS. So I went to build chromium for macOS. I did all the instructions but I never got an Xcode project. Can you please help me with this.
I was following the instructions for macOS

WD123
- 11
- 2
1
vote
1 answer
How to add folder reference to PBXGroup?
I want to add 'folder reference' to PBXGroup using ruby. Can't find a solution in github.com/CocoaPods/Xcodeproj
file_path = File.join(to_folder, folder_to_fetch)
file_reference = destination_group.new_file(file_path, :group)
…

Lesyk Melnychuk
- 21
- 4
1
vote
0 answers
Script to remove file from a single target
We're building an app that has different versions for different countries.
As part of a localisation effort I'm aiming to write a script that swaps certain asset files with another based on the language parameter.
I've written a python script for…

Aatish Molasi
- 2,138
- 3
- 20
- 43
1
vote
1 answer
Rename mobile projects with fastlane?
I have a use case where I need to "generate" mobile apps with a specific package name (Android) or Bundle Identifier (iOS).
As this should be able to run on all operating systems (macOS, Windows, Linux), just using e.g. the Xcode command line tools…

janpio
- 10,645
- 16
- 64
- 107
1
vote
0 answers
xcode workspace multi Project "no such module" for a pods
Hi here's basically my Podfile configuration
platform :ios, '11.0'
target 'Project1' do
use_frameworks!
workspace 'MyWorkspace'
project 'Project1.xcodeproj'
pod 'RxSwift', '~> 4.0'
pod 'Project2', :path => 'Project2'
pod 'Project3',…

Paul Aigueperse
- 299
- 3
- 14
1
vote
1 answer
Parsing of project.pbxproj file
Is there any frameworks for parsing of project.pbxproj contained in .xcodeproj file?

Artem Novichkov
- 2,356
- 2
- 24
- 34
1
vote
2 answers
React Native: Bundle Identifier does not exist
I have a project in React Native that has two different build schemes and uses cocoapods. To compile it I run:
react-native run-ios --scheme="RNProject-(SCHEME_NAME)"
The resulting apps are for…

Peter G.
- 7,816
- 20
- 80
- 154
1
vote
1 answer
Why does my Xcode project compile only when it's in a workspace?
I have an Xcode project P2 which is part of a workspace where I have another project P1.
When I build P1, it creates a Cocoa Touch Framework. In P2, I have added the framework created by P1 by going to
General-->Link Frameworks and…

Deep Arora
- 1,900
- 2
- 24
- 40
1
vote
3 answers
Cocoa Pods without workspace?
I have read about a possibility to add CocoaPods to an XcodeProject without getting the xcworkspace file, instead you get a xcodeproj file that you can integrate into your current project. How can I do that? Would love to use the xcodeproj file…

beginner_T
- 417
- 1
- 6
- 21
1
vote
0 answers
Attach Header File To Target On Xcode
Im writing an Xcode project, and I want to have to different targets in the project.
The difference between the targets is that in one of my .c files I include
#include "header_file.h"
I want to write two different "header_file.h"'s and to…

talw
- 61
- 2
1
vote
0 answers
iOS9 where to find a comprehensive list of tweaks required to modernize iOS8 projects?
I have a number of projects built for iOS7 and 8. Now I'm deploying these on iOS9 using xCode7 and see that things are breaking.
First the HTTPS requirement of TLS1.2, which requires a plist change. Then the keychain sharing bugs where OSStautus…

Alex Stone
- 46,408
- 55
- 231
- 407
1
vote
1 answer
IOS: What is the purpose of the project attribute "product name"?
I ran into a problem where the solution seems to be to rename the "product name" property of my project.
I have tried to find an official description of this property, but I failed. What I did find was some Apple documentation that described it as…

Andreas
- 2,665
- 2
- 29
- 38
1
vote
0 answers
how to distribute pods to different projects
I have a workspace with 3 sub projects in it
each project depends on different pods, and there are pods that all projects depend on them
each project has at least 3 different targets, and several testing targets.
I want to define the pod file in…

Lena Bru
- 13,521
- 11
- 61
- 126
1
vote
0 answers
How to reference remote projects in Xcode 6?
I've dragged and dropped a remove .xcodeproj that's being updated via GitHub. It shows up in the file tree, but I can't reference the code. Do I need to add an import statement or do something extra? There's so much outdated and conflicting info out…

TruMan1
- 33,665
- 59
- 184
- 335