feat(config): multi target support for swift packages (#10695)

This commit is contained in:
Nathan Walker
2025-02-11 08:21:51 -08:00
committed by GitHub
parent c7039ddec4
commit b649c353fb

View File

@ -12,16 +12,22 @@ interface IConfigPlatform {
discardUncaughtJsExceptions?: boolean;
}
export interface IOSRemoteSPMPackage {
interface IOSSPMPackageBase {
name: string;
libs: string[];
/**
* Optional: If you have more targets (like widgets for example)
* you can list their names here to include the Swift Package with them
*/
targets?: string[];
}
export interface IOSRemoteSPMPackage extends IOSSPMPackageBase {
repositoryURL: string;
version: string;
}
export interface IOSLocalSPMPackage {
name: string;
libs: string[];
export interface IOSLocalSPMPackage extends IOSSPMPackageBase {
path: string;
}