Skip to content

Commit

Permalink
Update README_CN with macro validation skipping instructions (realm#5346
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Jerry23011 authored Nov 12, 2023
1 parent 7557ebd commit 9b25efa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ Xcode 构建工具插件。

![](https://raw.githubusercontent.com/realm/SwiftLint/main/assets/select-swiftlint-plugin.png)

对于无人值守的使用场景(例如在 CI 上),可以通过以下方式禁用软件包验证对话框
对于无人值守的使用场景(例如在 CI 上),可以通过以下方式禁用软件包和宏的验证对话框

* 单独将 `-skipPackagePluginValidation` 传递到 `xcodebuild` 或者
* 全局设置为那个用户设置 `defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES`
* 单独将 `-skipPackagePluginValidation` `-skipMacroValidation` 传递到 `xcodebuild` 或者
* 为那个用户使用 `defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES` 进行全局设置,然后写入 `defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES`

_注意:这将隐含地信任所有的Xcode软件包插件,并绕过Xcode的软件包验证对话框。
这对安全有影响。_
Expand Down

0 comments on commit 9b25efa

Please sign in to comment.