@@ -530,7 +530,7 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
530
530
uuid : mobileprovision . UUID ,
531
531
name : mobileprovision . Name ,
532
532
identity : mobileprovision . Type === "Development" ? "iPhone Developer" : "iPhone Distribution"
533
- }
533
+ } ;
534
534
xcode . setManualSigningStyle ( projectData . projectName , configuration ) ;
535
535
xcode . setManualSigningStyleByTargetProductType ( "com.apple.product-type.app-extension" , configuration ) ;
536
536
xcode . save ( ) ;
@@ -1108,12 +1108,12 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
1108
1108
1109
1109
const extensionPath = path . join ( pluginPlatformsFolderPath , constants . NATIVE_EXTENSION_FOLDER ) ;
1110
1110
await this . prepareExtensionsCode ( extensionPath , projectData ) ;
1111
- } ;
1111
+ }
1112
1112
}
1113
1113
1114
1114
private async prepareExtensionsCode ( extensionsFolderPath : string , projectData : IProjectData ) : Promise < void > {
1115
1115
const targetUuids : string [ ] = [ ] ;
1116
- if ( ! this . $fs . exists ( extensionsFolderPath ) ) {
1116
+ if ( ! this . $fs . exists ( extensionsFolderPath ) ) {
1117
1117
return ;
1118
1118
}
1119
1119
@@ -1144,15 +1144,15 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
1144
1144
project . addBuildPhase ( [ ] , 'PBXFrameworksBuildPhase' , 'Frameworks' , target . uuid ) ;
1145
1145
1146
1146
const extJsonPath = path . join ( extensionsFolderPath , extensionFolder , "extension.json" ) ;
1147
- if ( this . $fs . exists ( extJsonPath ) ) {
1147
+ if ( this . $fs . exists ( extJsonPath ) ) {
1148
1148
const extensionJson = this . $fs . readJson ( extJsonPath ) ;
1149
1149
_ . forEach ( extensionJson . frameworks , framework => {
1150
1150
project . addFramework (
1151
1151
framework ,
1152
1152
{ target : target . uuid }
1153
1153
) ;
1154
1154
} ) ;
1155
- if ( extensionJson . assetcatalogCompilerAppiconName ) {
1155
+ if ( extensionJson . assetcatalogCompilerAppiconName ) {
1156
1156
project . addToBuildSettings ( "ASSETCATALOG_COMPILER_APPICON_NAME" , extensionJson . assetcatalogCompilerAppiconName , target . uuid ) ;
1157
1157
}
1158
1158
}
@@ -1162,24 +1162,24 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
1162
1162
project . addBuildProperty ( "PRODUCT_BUNDLE_IDENTIFIER" , `${ projectData . projectIdentifiers . ios } .${ extensionFolder } ` , "Release" , extensionFolder ) ;
1163
1163
project . addToHeaderSearchPaths ( group . path , target . pbxNativeTarget . productName ) ;
1164
1164
1165
- return target . uuid
1165
+ return target . uuid ;
1166
1166
}
1167
1167
1168
1168
private prepareExtensionSigning ( targetUuids : string [ ] , projectData :IProjectData ) {
1169
1169
const xcode = this . $pbxprojDomXcode . Xcode . open ( this . getPbxProjPath ( projectData ) ) ;
1170
1170
const signing = xcode . getSigning ( projectData . projectName ) ;
1171
- if ( signing !== undefined ) {
1171
+ if ( signing !== undefined ) {
1172
1172
_ . forEach ( targetUuids , targetUuid => {
1173
- if ( signing . style === "Automatic" ) {
1173
+ if ( signing . style === "Automatic" ) {
1174
1174
xcode . setAutomaticSigningStyleByTargetKey ( targetUuid , signing . team ) ;
1175
1175
} else {
1176
- for ( let config in signing . configurations ) {
1176
+ for ( const config in signing . configurations ) {
1177
1177
const signingConfiguration = signing . configurations [ config ] ;
1178
1178
xcode . setManualSigningStyleByTargetKey ( targetUuid , signingConfiguration ) ;
1179
1179
break ;
1180
1180
}
1181
1181
}
1182
- } )
1182
+ } ) ;
1183
1183
}
1184
1184
xcode . save ( ) ;
1185
1185
}
@@ -1190,7 +1190,7 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
1190
1190
1191
1191
if ( this . $fs . exists ( rootPath ) ) {
1192
1192
const stats = this . $fs . getFsStats ( rootPath ) ;
1193
- if ( stats . isDirectory ( ) && ! this . $fs . isEmptyDir ( rootPath ) ) {
1193
+ if ( stats . isDirectory ( ) && ! this . $fs . isEmptyDir ( rootPath ) ) {
1194
1194
this . $fs . readDirectory ( rootPath ) . forEach ( fileName => {
1195
1195
const filePath = path . join ( rootGroup . path , fileName ) ;
1196
1196
filePathsArr . push ( filePath ) ;
0 commit comments