From e6b424c1c4f37237e82c897dfed8873a3ab4b3f1 Mon Sep 17 00:00:00 2001 From: Luca Ban Date: Wed, 15 Apr 2020 16:52:38 +0900 Subject: [PATCH] Add information on how to rename your app There was no information on this and I had a wild goose hunt for this information all over issue & stack overflow. I added everything I learned to the documentation here. --- site/docs-md/ios/configuration.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/site/docs-md/ios/configuration.md b/site/docs-md/ios/configuration.md index 896fd7cbc5..83e349c1df 100644 --- a/site/docs-md/ios/configuration.md +++ b/site/docs-md/ios/configuration.md @@ -38,3 +38,22 @@ Entitlements are used to enable key features that your app may need. Unlike certain configuration options or usage descriptions, entitlements are configured in a special area inside of Xcode, rather than in `Info.plist`. If a plugin requires certain entitlements, open your app in Xcode, click on the name of your project in the left project menu, and select `Capabilities` in the tab bar. + +## Renaming the application's default `App` name + +You can't rename the App folder, but you can set the name of your app by renaming the "target" called "App". + +In XCode you will see something like this: +``` +PROJECT + App +------- +TARGET + App +``` +Here you can click on the name "App" under TARGET to rename your app. + +You then also have to modify the Podfile to rename the current target accordingly: + +The default Podfile has an `'App'` target, which needs to be replaced by your new name here: +https://github.com/ionic-team/capacitor/blob/master/ios-template/App/Podfile#L16