@@ -46,7 +46,7 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
46
46
private $xcode : IXcode ,
47
47
private $iOSEntitlementsService : IOSEntitlementsService ,
48
48
private $sysInfo : ISysInfo ,
49
- private xCConfigService : XCConfigService ) {
49
+ private $ xCConfigService : XCConfigService ) {
50
50
super ( $fs , $projectDataService ) ;
51
51
}
52
52
@@ -1108,11 +1108,11 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
1108
1108
}
1109
1109
1110
1110
// Set Entitlements Property to point to default file if not set explicitly by the user.
1111
- let entitlementsPropertyValue = this . xCConfigService . readPropertyValue ( pluginsXcconfigFilePath , constants . CODE_SIGN_ENTITLEMENTS ) ;
1112
- if ( entitlementsPropertyValue == null ) {
1111
+ let entitlementsPropertyValue = this . $ xCConfigService. readPropertyValue ( pluginsXcconfigFilePath , constants . CODE_SIGN_ENTITLEMENTS ) ;
1112
+ if ( entitlementsPropertyValue === null ) {
1113
1113
temp . track ( ) ;
1114
- let tempEntitlementsDir = temp . mkdirSync ( "entitlements" ) ;
1115
- let tempEntitlementsFilePath = path . join ( tempEntitlementsDir , "set-entitlements.xcconfig" ) ;
1114
+ const tempEntitlementsDir = temp . mkdirSync ( "entitlements" ) ;
1115
+ const tempEntitlementsFilePath = path . join ( tempEntitlementsDir , "set-entitlements.xcconfig" ) ;
1116
1116
const entitlementsRelativePath = this . $iOSEntitlementsService . getPlatformsEntitlementsRelativePath ( projectData ) ;
1117
1117
this . $fs . writeFile ( tempEntitlementsFilePath , `CODE_SIGN_ENTITLEMENTS = ${ entitlementsRelativePath } ${ EOL } ` ) ;
1118
1118
@@ -1203,7 +1203,7 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
1203
1203
}
1204
1204
1205
1205
private readTeamId ( projectData : IProjectData ) : string {
1206
- let teamId = this . xCConfigService . readPropertyValue ( this . getBuildXCConfigFilePath ( projectData ) , "DEVELOPMENT_TEAM" ) ;
1206
+ let teamId = this . $ xCConfigService. readPropertyValue ( this . getBuildXCConfigFilePath ( projectData ) , "DEVELOPMENT_TEAM" ) ;
1207
1207
1208
1208
let fileName = path . join ( this . getPlatformData ( projectData ) . projectRoot , "teamid" ) ;
1209
1209
if ( this . $fs . exists ( fileName ) ) {
@@ -1214,19 +1214,19 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
1214
1214
}
1215
1215
1216
1216
private readXCConfigProvisioningProfile ( projectData : IProjectData ) : string {
1217
- return this . xCConfigService . readPropertyValue ( this . getBuildXCConfigFilePath ( projectData ) , "PROVISIONING_PROFILE" ) ;
1217
+ return this . $ xCConfigService. readPropertyValue ( this . getBuildXCConfigFilePath ( projectData ) , "PROVISIONING_PROFILE" ) ;
1218
1218
}
1219
1219
1220
1220
private readXCConfigProvisioningProfileForIPhoneOs ( projectData : IProjectData ) : string {
1221
- return this . xCConfigService . readPropertyValue ( this . getBuildXCConfigFilePath ( projectData ) , "PROVISIONING_PROFILE[sdk=iphoneos*]" ) ;
1221
+ return this . $ xCConfigService. readPropertyValue ( this . getBuildXCConfigFilePath ( projectData ) , "PROVISIONING_PROFILE[sdk=iphoneos*]" ) ;
1222
1222
}
1223
1223
1224
1224
private readXCConfigProvisioningProfileSpecifier ( projectData : IProjectData ) : string {
1225
- return this . xCConfigService . readPropertyValue ( this . getBuildXCConfigFilePath ( projectData ) , "PROVISIONING_PROFILE_SPECIFIER" ) ;
1225
+ return this . $ xCConfigService. readPropertyValue ( this . getBuildXCConfigFilePath ( projectData ) , "PROVISIONING_PROFILE_SPECIFIER" ) ;
1226
1226
}
1227
1227
1228
1228
private readXCConfigProvisioningProfileSpecifierForIPhoneOs ( projectData : IProjectData ) : string {
1229
- return this . xCConfigService . readPropertyValue ( this . getBuildXCConfigFilePath ( projectData ) , "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" ) ;
1229
+ return this . $ xCConfigService. readPropertyValue ( this . getBuildXCConfigFilePath ( projectData ) , "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" ) ;
1230
1230
}
1231
1231
1232
1232
private async getDevelopmentTeam ( projectData : IProjectData , teamId ?: string ) : Promise < string > {
0 commit comments