64 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
63
views
Selecting project .xcodeproj file and Xcode displays No Selection
This randomly happened around 2 days ago. When I click on the main .xcodeproj file for my Xcode project the screen seems to show the expected view with build number etc for a split second, then shows ...
-2
votes
1
answer
71
views
How to overwrite Xcode project disc contents onto .xcodeproj
Suppose I have an Xcode project called Alpha (root dir is /path/to/Alpha). By default, Xcode places the .xcodeproj file at /path/to/Alpha/Alpha.xcodeproj
I might have a few top level folders like /...
0
votes
1
answer
215
views
Cocoapod depedency in a XCFramework distributed as a Cocoapod
I have a XCFramework Xcode project that includes -
Some code which provides some APIs implemented the SDK (the "SuperSDK"),
An "Internal" (closed-source) XCFramework,
A ...
1
vote
0
answers
129
views
How to detect `Active Scheme` of an Xcode project/workspace from command line
There're always more than one (xc)schemes in a single Xcode project/workspace.
When you open a project/workspace with Xcode, Xcode will decide an active scheme as the default scheme to be build/run.
...
2
votes
1
answer
3k
views
Xcode build environment variable for scheme that is running
I've been trying to find a way to access the scheme name from a Run Script build phase. I'm writing a CLI command that updates a user's Xcode project so I don't have the luxury of tinkering with the ...
1
vote
1
answer
1k
views
how to share common code between two projects in xcode swift
Hi We have an application that contains two modules (user and admin),
Both share some common code related to a few features.
As per requirement, we need to create two apps (user and admin),
How can we ...
0
votes
0
answers
78
views
2 versions of xcodeproj exist and newer version is not being used by pod install
pod install throws error on Xcode 14/MacOS 12.5/M1/cocoapods 1.11.3:
RuntimeError - [Xcodeproj] Unknown object version (56).
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/xcodeproj-1.21.0/lib/...
1
vote
0
answers
870
views
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: ...
2
votes
1
answer
1k
views
Add file to native target programmatically via tuist/XcodeProj
I am using https://github.com/tuist/XcodeProj in an attempt to add a file to a specific target. Basically I'd like to do the following thing done via ruby mirror using Swift:
require 'xcodeproj'
...
0
votes
1
answer
2k
views
How to Add file .a to project by xcodegen swift
I want to add 5 file have extension .a to project. I click "+" button then choose 5 file .a add to project is success. But my project use xcodegen so I want to config file project.yml to ...
1
vote
1
answer
147
views
What is the source of Xcode build settings defaults?
I have two Xcode projects. Neither of them have custom ENABLE_BITCODE setting .pbxproj file. But in one of them it's set by default to YES and in another one it's set to NO.
If I enable Customized ...
2
votes
2
answers
853
views
.xcodeproj opening as code issue on xcode 13.2.1
I'm encountering this weird issue where my .xcodeproj is opening on code. Anyone knows where to check or undo? Currently checking the diff using FileMerge on Sourcetree and so far it's not helping. I'...
1
vote
0
answers
632
views
How to remove file reference from Runner.xcodeproj
I have a ruby code that uses xcodeproject that adds my Google-Info.plist to Runner.xcodeproj as a reference. However I want to remove the older reference because I get following error:
Xcode's output:
...
1
vote
2
answers
1k
views
Get xcodeproj and ruby 2.7.0 into the PATH
I would like to use ruby 2.7.0 and xcodeproj to get Nativescript work on macOS (version Big Sur 11.2.3).
I did a clear install on my MacBook Air 13" 2014, following this links' instructions:
...
2
votes
2
answers
490
views
Xcodeproj add custom property to object
I want to add onlyGenerateCoverageForSpecifiedTargets property to TestAction object programmatically. According to the documentation this property is not yet supported. So I need to add a custom ...