Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-7390] generate-xcodeproj produces different output each time #4826

Closed
stephencelis opened this issue Apr 9, 2018 · 3 comments
Closed
Labels

Comments

@stephencelis
Copy link
Contributor

Previous ID SR-7390
Radar rdar://problem/39280714
Original Reporter @stephencelis
Type Bug
Status Closed
Resolution Won't Do
Environment

Xcode 9.3
Build version 9E145
Apple Swift Package Manager - Swift 4.1.0 (swiftpm-14050)

Additional Detail from JIRA
Votes 1
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 7444a4781a145ec51b3e22213ec8ab66

Issue Description:

Running swift package generate-xcodeproj should always produce the same output given no changes to the project. It currently emits different output every time, which leads to a lot of extra source control noise when re-running to capture a new file or two.

Steps to reproduce:

mkdir -p MyLib
cd MyLib
git init
swift package init --type library
swift package generate-xcodeproj
git add .
git add -f MyLib.xcodeproj
git commit -m "Test"
swift package generate-xcodeproj
git status

Expectation: git status returns no changes.
Actual: git status returns dirty Xcode project file.

@ankitspd
Copy link
Member

ankitspd commented Apr 9, 2018

@swift-ci create

@swift-ci
Copy link
Contributor

swift-ci commented Mar 2, 2021

Comment by Jason Wray (JIRA)

generate-xcodeproj is being deprecated — if there's a use-case not covered by Xcode's ability to directly open/build packages, please feel free to let us know here or in the forums.

@stephencelis
Copy link
Contributor Author

Yeah, stopped using this feature when Xcode integration improved 🙂 Can close!

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants