@@ -8,16 +8,27 @@ declare module "nativescript-dev-xcode" {
88 }
99
1010 class project {
11+ hash : any ;
12+ filepath : string ;
1113 constructor ( filename : string ) ;
1214
1315 parse ( callback : ( ) => void ) : void ;
1416 parseSync ( ) : void ;
1517
18+ generateUuid ( ) : string ;
19+
1620 writeSync ( options : any ) : string ;
1721
1822 addFramework ( filepath : string , options ?: Options ) : void ;
1923 removeFramework ( filePath : string , options ?: Options ) : void ;
2024
25+
26+ getProductFile ( watchApptarget : target ) : any ;
27+ addToPbxFrameworksBuildPhase ( file ) ;
28+ addToPbxCopyfilesBuildPhase ( file , comment : string , targetid : string ) ;
29+ pbxFrameworksBuildPhaseObj ( targetid : string ) : any ;
30+ pbxBuildFileSection ( ) : { [ k : string ] : any } ;
31+
2132 addPbxGroup (
2233 filePathsArray : any [ ] ,
2334 name : string ,
@@ -27,17 +38,30 @@ declare module "nativescript-dev-xcode" {
2738
2839 removePbxGroup ( groupName : string , path : string ) : void ;
2940
41+ addTargetDependency ( target : string , dependencyTargets : string [ ] ) ;
42+
43+ findTargetKey ( name : string ) ;
44+ pbxTargetByName ( name : string ) : target ;
45+ pbxNativeTargetSection ( ) : { [ key : string ] : any } ;
46+
3047 addToHeaderSearchPaths ( options ?: Options ) : void ;
3148 removeFromHeaderSearchPaths ( options ?: Options ) : void ;
3249 updateBuildProperty ( key : string , value : any ) : void ;
3350
3451 pbxXCBuildConfigurationSection ( ) : any ;
3552
53+ buildPhaseObject (
54+ buildPhaseType : string ,
55+ comment : string ,
56+ target : tstring
57+ )
58+
3659 addTarget (
3760 targetName : string ,
3861 targetType : string ,
3962 targetPath ?: string ,
40- parentTarget ?: string
63+ parentTarget ?: string ,
64+ productTargetType ?: string
4165 ) : target ;
4266 addBuildPhase (
4367 filePathsArray : string [ ] ,
0 commit comments