Questions tagged [xcode-workspace]
78 questions
32
votes
6 answers
Xcode 9.4 : unexpected service error: The Xcode build system has crashed
I’m getting strange error while building project in Xcode 9.4
Build system information - unexpected service error: The Xcode build system has crashed. Please close and reopen your workspace.
I tried Xcode quit and reopen but that didn’t worked.…

Jayprakash Dubey
- 35,723
- 18
- 170
- 177
29
votes
3 answers
How to compile a project with app and library in the same workspace with different configuration names?
I am developing an app and I am using an open source component.
I have a workspace containing both MyApp.xcodeproj and Component.xcodeproj. My app has three configurations: Debug, App Store and In House but the component has only two: Debug and…

0xced
- 25,219
- 10
- 103
- 255
22
votes
7 answers
Xcode 7.3 Couldn't load project
I have done some changes in functionality throughout the day.
After that I closed workspace and try to open it again it is showing Couldn't load project.
I've tried all solution available on stackoverflow but none worked.
I'm using cocoa-pods in…

Jayprakash Dubey
- 35,723
- 18
- 170
- 177
19
votes
5 answers
iOS - git merge conflicts after adding cocoapods to project
I'm working on an app with another partner. He's been working on master, and I started a new branch. On my branch I installed cocoapods. I just tried pulling from master and I'm getting merge conflicts.
When I open up Xcode, the workspace file has…

user3344977
- 3,584
- 4
- 32
- 88
13
votes
1 answer
Xcodebuild fails in jenkins with cocoapods
I am using the xcode plugin.
I had looked around, but most of the "solutions" did not work.
My main issue is that in the xcworkspace that is generated, there is no scheme for the project I am trying to build. The plugin does the command
$…

Ignat
- 1,142
- 1
- 12
- 22
12
votes
2 answers
Code coverage for Swift 3.0 project in Gitlab CI
I have an iOS project written by Swift 3.0 with CocoaPods. I've configured Gitlab CI for this project and it works perfectly. This is my .gitlab-ci.yml file:
stages:
- build
build_project:
stage: build
script:
- rm -rf Pods;rm -rf…

Svyatoslav
- 1,350
- 12
- 19
9
votes
5 answers
I have 4 different xcode projects.i want to call viewcontroller of different project from one single project.How can i do this
I have 4 different XCode projects for different modules on different branches of git.
I want to make a common project/app through which i can call all 4 modules.
There modules are to be displayed like list in table.
Through a common login all…

Baibhav Singh
- 187
- 2
- 11
8
votes
1 answer
Xcode 5 - How to use source control with a workspace
I've created myself a Xcode 5 workspace and added 2 projects into it. The first project is a Mac OS X Cocoa Application and the second is an External Build System.
When creating the projects I checked the option so it would create a git repository…

Alerty
- 5,945
- 7
- 38
- 62
6
votes
1 answer
How to share Swift classes across multiple targets of one Xcode workspace?
I'm using Xcode 9 and Swift. I've got one workspace and one iOS project. Later I added a MacOS target (Cocoa App). When I try to reference a class from the MacOS target to the iOS target, the compiler says:
Use of unresolved identifier.
How do…

Lance Kind
- 949
- 12
- 32
6
votes
1 answer
Duplicate target after "pod install"
After I added new dependency to my project and run pod install, I have duplicate target in my workspace(.xcworkspace) as below:
And this is the pod file structure:
platform :ios, '8.0'
use_frameworks!
pod 'AFNetworking', '~> 2.6'
pod 'Fabric'
pod…

Soheil Novinfard
- 1,358
- 1
- 16
- 43
6
votes
1 answer
InterProject communication in XCode
My project architecture is, a workspace which has two projects(Project A & Project B). Project A has three more sub projects(Project X , Project Y, Project Z).
Workspace
Project A
Project x
Project y
Project z
Project B
Project B is more a…

vivin
- 992
- 1
- 8
- 24
5
votes
2 answers
How can I delete an Xcode workspace?
I've got an Xcode project, in an Xcode workspace. At one point, I thought I wanted a workspace, so I added one, but it turns out I'm not doing anything which can benefit from that, and I'd rather not have that extra layer of complexity.
How can I…

WhatsUpNSDoc
- 99
- 1
- 5
5
votes
1 answer
Xcode Build Configurations in Workspace With Multiple Projects
Using Xcode 7.2 (7C68), OS X 10.11.2 (15C50)
tl;dr With multiple projects in same Xcode workspace, why do my user-defined build settings for a build configuration seem to not work? I set them correctly in the scheme, but when run on simulator the…

Stefan Arambasich
- 2,231
- 2
- 19
- 24
5
votes
1 answer
How to add more than one scheme in xcodebuild?
I mm building xcode workspace in terminal only (xcodebuild - Internal build). It has five schemes. But, at a time I can build only one scheme. I would like to build all the scheme at a time. A single workspace may have more than one scheme.

Sivanantham M
- 91
- 1
- 8
4
votes
0 answers
Cocoapods with multiple projects and shared libraries
I have a workspace with several projects. Each customer has its own project and each customer's project depends on
Core project: Static library with common code
Interface project: Static library with common interface, i.e. UIViewController…

Alex Salom
- 3,074
- 4
- 22
- 33