iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🔥

How to Resolve Issues with SwiftPM Plugins in Xcode

に公開

Sometimes, Swift Package Manager (SwiftPM) plugins may stop working correctly, such as after updating Xcode. In such cases, the following steps resolved the issue:

  1. Delete ~/.swiftpm/security/plugins.json
  2. Delete ~/.swiftpm/security/macros.json
  3. Delete ~/.swiftpm/security/fingerprint
  4. Restart Xcode
  5. Clean build the project
  6. When the Trust & Enable dialog appears, grant permission

Discussion