Skip to content

Commit 5c873d4

Browse files
Fatme HavaluovaFatme Havaluova
Fatme Havaluova
authored and
Fatme Havaluova
committed
Output ios libraries in lib/iOS insted lib/iOS/libraryName folder
1 parent 589019f commit 5c873d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/services/ios-project-service.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class IOSProjectService extends projectServiceBaseLib.PlatformProjectServiceBase
182182
var umbrellaHeader = this.getUmbrellaHeaderFromDynamicFramework(libraryPath).wait();
183183

184184
let frameworkName = path.basename(libraryPath, path.extname(libraryPath));
185-
let targetPath = path.join("lib", this.platformData.normalizedPlatformName, frameworkName);
185+
let targetPath = path.join("lib", this.platformData.normalizedPlatformName);
186186
let fullTargetPath = path.join(this.$projectData.projectDir, targetPath);
187187
this.$fs.ensureDirectoryExists(fullTargetPath).wait();
188188
shell.cp("-R", libraryPath, fullTargetPath);
@@ -273,7 +273,7 @@ class IOSProjectService extends projectServiceBaseLib.PlatformProjectServiceBase
273273

274274
private getFrameworkRelativePath(libraryPath: string): string {
275275
let frameworkName = path.basename(libraryPath, path.extname(libraryPath));
276-
let targetPath = path.join("lib", this.platformData.normalizedPlatformName, frameworkName);
276+
let targetPath = path.join("lib", this.platformData.normalizedPlatformName);
277277
let frameworkPath = path.relative("platforms/ios", path.join(targetPath, frameworkName + ".framework"));
278278
return frameworkPath;
279279
}

0 commit comments

Comments
 (0)