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-10103] SPM generate-xcodeproj fails on Swift 5 with "fatalError" #4724

Closed
stephencelis opened this issue Mar 13, 2019 · 2 comments
Closed
Labels

Comments

@stephencelis
Copy link
Contributor

Previous ID SR-10103
Radar rdar://problem/49281285
Original Reporter @stephencelis
Type Bug
Status Resolved
Resolution Done

Attachment: Download

Environment

Swift 5 / Xcode 10.2 beta 4

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

md5: 05d658f8df9f2af2a9f151e38eb91c2c

is duplicated by:

  • SR-10181 Xcodeproj's skip extra file feature doesn't work correctly when there are submodules

Issue Description:

Steps to reproduce:

1. git clone https://github.com/pointfreeco/pointfreeco.git

2. cd pointfreeco

3. swift package -v generate-xcodeproj

Returns the following output:

xcrun --sdk macosx --show-sdk-path
xcrun --sdk macosx --show-sdk-platform-path
xcrun --sdk macosx --find xctest
'CPostgreSQL' /Users/stephencelis/Developer/pointfreeco/pointfreeco/.build/checkouts/cpostgresql: warning: Ignoring declared target(s) 'CPostgreSQL' in the system package
git -C /Users/stephencelis/Developer/pointfreeco/pointfreeco rev-parse --is-bare-repository
git -C /Users/stephencelis/Developer/pointfreeco/pointfreeco rev-parse --is-bare-repository
sh -c 'git -C /Users/stephencelis/Developer/pointfreeco/pointfreeco check-ignore -z --stdin < /var/folders/f6/mx41dr9j6gs1n90jxz19rw0c0000gn/T/TemporaryFile.dycxhw'
error: fatalError 

A quick search of the SPM code base shows a bunch of error enums with fatalError cases, so I assume we're dealing with one of them here.

@belkadan
Copy link

cc @aciidb0mb3r

@ankitspd
Copy link
Member

#2063

@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