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-12051] BuildSettingCondition to detect simulator vs device #4622

Open
davedelong opened this issue Jan 18, 2020 · 1 comment
Open

[SR-12051] BuildSettingCondition to detect simulator vs device #4622

davedelong opened this issue Jan 18, 2020 · 1 comment

Comments

@davedelong
Copy link

Previous ID SR-12051
Radar rdar://problem/58861176
Original Reporter @davedelong
Type New Feature
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels New Feature
Assignee None
Priority Medium

md5: 1c40c15f146b3f24cc7b779534418942

Issue Description:

There are times when you need to alter package compilation differently for simulator vs device builds. For example, not all system frameworks are available in the simulator that are present on device. In these cases you need conditional linking flags. Or alternatively, you have a library that needs to be linked in, but ONLY on simulator builds.

Right now I can only specify BuildSettingConditions based on the platform or the BuildConfiguration, neither of which will detect when I'm building for simulator.

@beccadax
Copy link
Contributor

@swift-ci create

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants