79781477

Date: 2025-10-03 06:08:31
Score: 3
Natty:
Report link

When adding a Swift Package in Xcode, you may sometimes get stuck at the “Verifying … Preparing to validate” screen.
This usually happens because of a workspace build system setting conflict.

To fix it:

SPM stuck screen.

Steps to Resolve

  1. Change Workspace Build System Setting

    • Go to File > Workspace Settings

    • Under Build System, change from Legacy to New Build System (Unique).

  2. Update Derived Data Settings

    • Go to Xcode > Settings > Locations

    • Click on Advanced…

    • Change Derived Data location to Unique (instead of Legacy or Shared).

After applying these changes, try adding the Swift Package again — it should validate and install correctly.

Reasons:
  • RegEx Blacklisted phrase (1.5): M stuck
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When addin
  • Low reputation (1):
Posted by: abhinav srivastav