danger / swift

⚠️ Stop saying "you forgot to …" in code review
https://danger.systems/swift/
MIT License
1.04k stars 135 forks source link

Add platform requirements on `danger-swift edit` #518

Closed 417-72KI closed 2 years ago

417-72KI commented 2 years ago

When running danger-swift edit, Package.swift does not specify macOS version and generated xcodeproj's deployment target will be 10.10.

This PR makes it possible to set Deployment Target based on running machine.

image

I don't know why, but it resolves weirdly errors on import Danger (e.g. https://github.com/danger/swift/issues/464#issuecomment-997418557)