8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7039dd commit b649c35Copy full SHA for b649c35
packages/core/config/config.interface.ts
@@ -12,16 +12,22 @@ interface IConfigPlatform {
12
discardUncaughtJsExceptions?: boolean;
13
}
14
15
-export interface IOSRemoteSPMPackage {
+interface IOSSPMPackageBase {
16
name: string;
17
libs: string[];
18
+ /**
19
+ * Optional: If you have more targets (like widgets for example)
20
+ * you can list their names here to include the Swift Package with them
21
+ */
22
+ targets?: string[];
23
+}
24
+
25
+export interface IOSRemoteSPMPackage extends IOSSPMPackageBase {
26
repositoryURL: string;
27
version: string;
28
29
-export interface IOSLocalSPMPackage {
- name: string;
- libs: string[];
30
+export interface IOSLocalSPMPackage extends IOSSPMPackageBase {
31
path: string;
32
33
0 commit comments