Skip to content

Commit aced117

Browse files
FatmeFatme
Fatme
authored and
Fatme
committed
Merge pull request #855 from NativeScript/fealebenpae/cocoapods-use-frameworks
Initialize project Podfile
2 parents e1b165c + 6d78b1f commit aced117

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/services/ios-project-service.ts

+3
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,9 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
426426

427427
private prepareCocoapods(pluginPlatformsFolderPath: string): IFuture<void> {
428428
return (() => {
429+
if(!this.$fs.exists(this.projectPodFilePath).wait()) {
430+
this.$fs.writeFile(this.projectPodFilePath, "use_frameworks!\n").wait();
431+
}
429432
let pluginPodFilePath = path.join(pluginPlatformsFolderPath, "Podfile");
430433
if(this.$fs.exists(pluginPodFilePath).wait()) {
431434
let pluginPodFileContent = this.$fs.readText(pluginPodFilePath).wait();

0 commit comments

Comments
 (0)