Skip to content

Commit f91b996

Browse files
committed
Interpolate main.m file in iOS project template.
This replaces the top comment section in main.m from the legacy TNSBridgeApp to the project name.
1 parent aa3292f commit f91b996

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/services/ios-project-service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ class IOSProjectService implements IPlatformProjectService {
103103
var pbxprojFilePath = path.join(projectRoot, this.$projectData.projectName + IOSProjectService.XCODE_PROJECT_EXT_NAME, "project.pbxproj");
104104
this.replaceFileContent(pbxprojFilePath).wait();
105105

106+
var mainFilePath = path.join(projectRoot, IOSProjectService.IOS_PROJECT_NAME_PLACEHOLDER, "main.m");
107+
this.replaceFileContent(mainFilePath).wait();
106108
}).future<void>()();
107109
}
108110

0 commit comments

Comments
 (0)