简体   繁体   中英

Missing package product <Package Dependencies name>

I am trying to migrate my existing project to Swift Package Manager from Cocoapods .

I have added all my dependencies. All my dependencies are in Remote

Ex.: Firebase, Realm, etc.,

When I try to build I am getting following error.

您可以在此处找到错误

I tried to resolve in all the following ways but couldn't workout:

  1. Reset packages
  2. Update to latest package versions
  3. Resolve package versions
  4. Delete derived data
  5. Clean build folder
  6. Quit/Relaunch the Xcode
  7. Adding the packages from Project Navigator & File -> Add Packages

Has anyone experienced this issue? Any idea what this could be? FYI : I am using Xcode 13.2.1

Open Finder and go to your Project directory.

  1. Show package contents of.xcodeproj
  2. Inside this new folder, Show package contents of.xcworkspace
  3. Open xcshareddata
  4. Open swiftpm
  5. Delete package.resolved
  6. Now do all the steps you tried before

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM