Skip to content

Commit 05fbf7f

Browse files
EvanBaconclaude
andcommitted
Make productName required in XCSwiftPackageProductDependency
productName is always present in real pbxproj files. Also added documentation about the "plugin:" prefix for plugin dependencies. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 521a952 commit 05fbf7f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/json/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,8 @@ export interface XCSwiftPackageProductDependency<TPackage = UUID>
591591
/** UUID for an object of type `XCRemoteSwiftPackageReference` or `XCLocalSwiftPackageReference` */
592592
package?: TPackage;
593593

594-
productName?: string;
594+
/** Name of the product from the Swift package. For plugins, prefixed with "plugin:" */
595+
productName: string;
595596
}
596597

597598
/** Version requirement for a remote Swift package. */

0 commit comments

Comments
 (0)