Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

675
Views
Xcode 13.3 beta 3: "inicio del paquete rápido" muestra una advertencia: "~/Library/org.swift.swiftpm/collections.json ha quedado en desuso", pero no sé cómo usar uno nuevo

Acabo de actualizar a Xcode 13.3 beta 3 (desde Xcode 13.2.1) y ejecuté swift package init . Generó una advertencia de desaprobación, no he visto esto antes:

 warning: Usage of /Users/sajjon/Library/org.swift.swiftpm/collections.json has been deprecated. Please delete it and use the new /Users/sajjon/Library/org.swift.swiftpm/configuration/collections.json instead.

Pero no sé CÓMO "usar el nuevo ... en su lugar"? De hecho, ni siquiera sé cómo o cuándo se creó org.swift.swiftpm/collections.json .

¿Qué hacer?

Impresión completa:

 ~/Developer/DeleteMe ⌚ 13:57:37 $ swift package init 2022-02-25 13:57:42.211 xcodebuild[54679:13318505] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-02-25 13:57:42.212 xcodebuild[54679:13318505] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-02-25 13:57:43.052 xcodebuild[54754:13318823] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-02-25 13:57:43.053 xcodebuild[54754:13318823] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore warning: Usage of /Users/sajjon/Library/org.swift.swiftpm/collections.json has been deprecated. Please delete it and use the new /Users/sajjon/Library/org.swift.swiftpm/configuration/collections.json instead. Creating library package: DeleteMe
over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Según un comentario de @jalone, esto puede provocar que Xcode se bloquee al abrir el proyecto. No hizo eso en mi caso, pero todo lo que tenía eran las colecciones genéricas de Apple: https://developer.apple.com/swift/packages/collections/apple.json

Proceda con precaución

Parece que todo lo que tenía que hacer era ejecutar esto para deshacerme de la advertencia.

 rm ~/.swiftpm/config/collections.json

Debe haber un archivo collections.json adicional ubicado en ~/.swiftpm/config/configuration/collections.json que es donde ahora se almacenan los paquetes cuando usa

 swift package-collection add <package.json>

Para obtener más información, consulte la documentación de la propuesta SE aquí

over 4 years ago · Santiago Trujillo Report

0

La advertencia dice que debe eliminar el archivo.

 Please delete it and use the new /Users/sajjon/Library/org.swift.swiftpm/configuration/collections.json instead.

Así que por favor elimínalo y te ayudará.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!