105 questions
0 votes
1 answer
196 views
Is there a simple way to convert an Xcode Project to a swiftpm file?
I was creating an app for the Apple Swift Student Challenge, and when I go to submit it I realized that it needs to be a swiftpm file. I made my app as an Xcode project, and can't find any way to ...
2 votes
1 answer
80 views
what to do when opening someone else's Xcode project?
I'm a bit confused about standard behaviour when Working with other developers. Are my actions, described below, a normal practice? note: I covered team id and names for privacy concerns, but I think ...
0 votes
0 answers
200 views
Adding different capabilities to a Distribution profile for visionOS and iOS app
I have an app that runs on both iOS and visionOS (native). Both app use the same project, just some files and code segments are different. We do not use automatic signing. Instead we use a ...
1 vote
1 answer
553 views
Is it possible to grouping packages dependencies using tuist for bettter project organization?
Is it possible to organize SPM package dependencies, which are usually placed in the "Packages" group (group or folder in Xcode project), into sub-groups or sub-folders using Tuist?
1 vote
0 answers
105 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
476 views
Accessing class files between two projects in Xcode workspace?
I have 2 big projects (ProjectA & ProjectB) in a workspace. I need to access multiple files from ProjectA into ProjectB. Example: I have a file named Test.h & Test.m & Test.hpp & Test....
1 vote
0 answers
1k views
Xcode builds but doesn't run the app in the Simulator
Your help would be really appreciated. Error: I’m not able to run my iOS app in Xcode simulator while the project builds. The option to run the app (from Menu bar -> Product -> Run) is grayed ...
3 votes
2 answers
3k views
Failed to load test bundle on Mac M1, found x86_64, required arm64
I'm running Xcode 13.4.1 on an M1 and trying to run the test bundle. What I did: Created a target whose configuration includes the standard architectures as well as x86_64. Excluded architecture ...
0 votes
1 answer
858 views
xcodebuild ignoring #available iOS version check
Trying to setup CI for my swift package. It's already running fine for the package but I haven't found a xcodebuild command that will build the SampleApp successfully. The issue seems to be that I ...
3 votes
3 answers
977 views
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 ...
1 vote
0 answers
866 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: ...
-1 votes
1 answer
77 views
Xcode project with a certain Product name crashes at launch
After I finished my Xcode project (macOS app), I wanted to change its name, folder names and other stuff... Everything messed up and the project wouldn't build so I decided to save all the project ...
0 votes
1 answer
168 views
Combining two apps in Xcode
I have two Xcode workspaces, both the workspaces have multiple targets. Each target in both the workspaces have storyboard file called Main.storyboard. My problem is to combine one target in the first ...
3 votes
0 answers
350 views
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 ...
0 votes
1 answer
43 views
Is migrate Objc Project which is in AppStore to Swift Project feasible?
I have a project creat by ObjC, and upload to AppStore. Recently I got a requirement my boss want to Migrate ObjC project to Swift, and creat a new project language choose Swift. I want to know if I ...