File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -178,6 +178,13 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
178178
179179 const pbxprojFilePath = this . getPbxProjPath ( projectData ) ;
180180 this . replaceFileContent ( pbxprojFilePath , projectData ) ;
181+
182+ const internalDirPath = path . join ( projectRootFilePath , ".." , "internal" ) ;
183+ const xcframeworksFilePath = path . join ( internalDirPath , "XCFrameworks.zip" ) ;
184+ if ( this . $fs . exists ( xcframeworksFilePath ) ) {
185+ await this . $fs . unzip ( xcframeworksFilePath , internalDirPath ) ;
186+ this . $fs . deleteFile ( xcframeworksFilePath ) ;
187+ }
181188 }
182189
183190 public interpolateConfigurationFile ( projectData : IProjectData ) : void {
@@ -264,6 +271,7 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
264271 const frameworkAddOptions : IXcode . Options = { customFramework : true } ;
265272 if ( await this . isDynamicFramework ( frameworkPath ) ) {
266273 frameworkAddOptions [ "embed" ] = true ;
274+ frameworkAddOptions [ "sign" ] = true ;
267275 }
268276
269277 const frameworkRelativePath = '$(SRCROOT)/' + this . getLibSubpathRelativeToProjectPath ( frameworkPath , projectData ) ;
You can’t perform that action at this time.
0 commit comments