Add instructions for disabling Xcode package validation (#4751)
This commit is contained in:
parent
d73d87ac97
commit
a71f588637
11
README.md
11
README.md
|
@ -200,7 +200,7 @@ there is currently no way to pass any additional options to the SwiftLint execut
|
|||
|
||||
#### Xcode
|
||||
|
||||
You can integrate SwiftLint as a Xcode Build Tool Plug-in if you're working
|
||||
You can integrate SwiftLint as an Xcode Build Tool Plug-in if you're working
|
||||
with a project in Xcode.
|
||||
|
||||
Add SwiftLint as a package dependency to your project without linking any of the
|
||||
|
@ -212,6 +212,15 @@ Select `SwiftLintPlugin` from the list and add it to the project.
|
|||
|
||||

|
||||
|
||||
For unattended use (e.g. on CI), you can disable the package validation dialog by
|
||||
|
||||
* individually passing `-skipPackagePluginValidation` to `xcodebuild` or
|
||||
* globally setting `defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES`
|
||||
for that user.
|
||||
|
||||
_Note: This implicitly trusts all Xcode package plugins and bypasses Xcode's package validation
|
||||
dialogs, which has security implications._
|
||||
|
||||
#### Swift Package
|
||||
|
||||
You can integrate SwiftLint as a Swift Package Manager Plug-in if you're working with
|
||||
|
|
Loading…
Reference in New Issue