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-7965] Xcode Project generated by SwiftPM 4.2 can't build when package depends on Yams #4791

Closed
norio-nomura opened this issue Jun 11, 2018 · 4 comments
Labels

Comments

@norio-nomura
Copy link
Contributor

Previous ID SR-7965
Radar rdar://problem/41168212
Original Reporter @norio-nomura
Type Bug
Status Resolved
Resolution Done
Environment

Xcode 10 beta 1
swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-10-a

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

md5: f8373a000b2fce1a68e096d9687f6bf4

is duplicated by:

  • SR-7912 Upstream package depending on #if SWIFT_PACKAGE breaks in Xcode 10

Issue Description:

Steps to reproduce:

  1. git clone https://github.com/norio-nomura/SR-7965.git

  2. cd SR-7965

  3. DEVELOPER_DIR=/Applications/Xcode-beta.app swift package generate-xcodeproj

  4. xcodebuild -scheme generate-xcodeproj-Package

@norio-nomura
Copy link
Contributor Author

It seems that this issue caused by missing SWIFT_PACKAGE value in SWIFT_ACTIVE_COMPILATION_CONDITIONS build setting in Debug Build Configuration.
I confirmed xcodebuild -scheme generate-xcodeproj-Package -configuration Release success.

@ankitspd
Copy link
Member

@swift-ci create

@ankitspd
Copy link
Member

#1606

@norio-nomura
Copy link
Contributor Author

I confirmed that this issue has been resolved on Xcode 10 beta 5.
Thanks! 😃

@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

2 participants