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-11327] Package Manager deployment target wrong in generated iOS xcodeproj #4675

Closed
adam-fowler opened this issue Aug 18, 2019 · 1 comment
Labels

Comments

@adam-fowler
Copy link

Previous ID SR-11327
Radar None
Original Reporter @adam-fowler
Type Bug
Environment

XCode: 10.3

OS: Mojave 10.14.5

Swift: 5.0.1

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

md5: 647c35f58e2f06ab3519e895363262b7

Issue Description:

Clone github repository https://github.com/adam-fowler/min-deployment-test

Enter cloned folder
Run swift package generate-xcodeproj
Run open ios-app/ios-app.xcodeproj

The ios-app.xcodeproj includes the generated xcodeproj. Compilation of the app fails with
Compiling for iOS 12.0, but module 'empty_package' has a minimum deployment target of iOS 12.4.
empty_package has no minimum deployment target in its Package.swift

This seems to occur because the empty_package Package.swift has // swift-tools-version:4.0 at the top. If I change it to 5.0 everything works.

@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
@adam-fowler
Copy link
Author

Closing this as it I don't think it worth investigating anymore

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

2 participants