-
-
Notifications
You must be signed in to change notification settings - Fork 197
/
Copy pathnativescript-dev-xcode.d.ts
87 lines (75 loc) · 1.82 KB
/
nativescript-dev-xcode.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
declare module "nativescript-dev-xcode" {
interface Options {
[key: string]: any;
customFramework?: boolean;
embed?: boolean;
relativePath?: string;
}
class project {
constructor(filename: string);
parse(callback: () => void): void;
parseSync(): void;
writeSync(options: any): string;
addFramework(filepath: string, options?: Options): void;
removeFramework(filePath: string, options?: Options): void;
addPbxGroup(
filePathsArray: any[],
name: string,
path: string,
sourceTree: string
): void;
removePbxGroup(groupName: string, path: string): void;
addToHeaderSearchPaths(options?: Options): void;
removeFromHeaderSearchPaths(options?: Options): void;
updateBuildProperty(key: string, value: any): void;
pbxXCBuildConfigurationSection(): any;
addTarget(
targetName: string,
targetType: string,
targetPath?: string,
parentTarget?: string
): target;
addBuildPhase(
filePathsArray: string[],
buildPhaseType: string,
comment: string,
target?: string,
optionsOrFolderType?: Object | string,
subfolderPath?: string
): any;
addToBuildSettings(
buildSetting: string,
value: any,
targetUuid?: string
): void;
addPbxGroup(
filePathsArray: string[],
name: string,
path: string,
sourceTree: string,
opt: {
filesRelativeToProject?: boolean;
target?: string;
uuid?: string;
isMain?: boolean;
}
): group;
addBuildProperty(
prop: string,
value: any,
build_name?: string,
productName?: string
): void;
addToHeaderSearchPaths(file: string | Object, productName?: string): void;
removeTargetsByProductType(targetType: string): void;
getFirstTarget(): { uuid: string };
}
class target {
uuid: string;
pbxNativeTarget: { productName: string };
}
class group {
uuid: string;
pbxGroup: Object;
}
}