yonaskolb / yonaskolb/XcodeGen

simulateLocation for .xcodeproj vs .xcworkspace

Open
#965 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
8.8k
Forks
908
Avg merge
17d 14h
Merged PRs (30d)
2

Description

Using Xcode 12.

defaultLocation requires an additional ../ when opening .xcodeproj directly. However, when opening a .xcworkspace generated by cocoapods, the default location works as expected

Steps to reproduce:

  1. Add Location.gpx to project
  2. Add path to fileGroups
  3. Specify path in defaultLocation of simulateLocation
  4. Run xcodegen and open .xcodeproj
  5. Observe that the scheme has no default location
  6. Run pod install and open .xcworkspace
  7. Observe that the scheme has the expected default location

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with XcodeGen using the listed Location.gpx, fileGroups, and simulateLocation/defaultLocation steps, first opening the generated .xcodeproj and then the CocoaPods-generated .xcworkspace. Compare the generated scheme location settings to determine where the relative path differs; done means the default location behaves consistently in both project forms.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.