Next, click on the active scheme beside Stop Button and choose Manage Schemes. To achieve this, select Asset Catalog App Icon Set Name and change its value to AppIcon$(BUNDLE_ID_SUFFIX), when you press Enter then your app icon value for each configuration will be changed into AppIcon and AppIcon.pro Manage Schemes Next, we want a different icon for the Regular version than the Pro version. All product names will change to the BUNDLE_DISPLAY_NAME that we defined above. Press Enter and your product bundle identifiers should change into your_app_id appended with the BUNDLE_ID_SUFFIX that we defined above.īelow Product Bundle Identifier you’ll find Product Name, double-click in the value and change it to $(BUNDLE_DISPLAY_NAME). Now scroll to the top, find Product Bundle Identifier and change its value to $(BUNDLE_ID_SUFFIX). We will use this setting for our app name. Fill the value for Debug and Release with your app name and fill the values for Debug Pro and Release pro with your app name pro or whatever name that you want to use. We will append this setting into the existing Product Bundle Identifier to create two apps, one for regular/lite and one for pro.Īdd another User-Defined Setting and name it BUNDLE_DISPLAY_NAME. Fill the value for Debug Pro and Release Pro with. Press + and choose Add User-Defined Setting. Next, while still inside the app settings, select your app target and choose the Build Settings tab. We need Debug and Release configurations for every scheme, debug will be used for running, debugging, testing and analyzing, while release will be used for profiling and archiving. Open your app settings, select your project and duplicate Debug and Release to Debug Pro and Release Pro. To create a new scheme we will first need to duplicate the Project configuration. ![]() ![]() In this tutorial, we’re going to create 2 apps: a pro and a lite app version using XCode Scheme. The solution is to use XCode Scheme, an XCode feature that’s lesser modified but that can help us in this case by maintaining only one codebase for multiple apps. Copying and pasting your codebase between the pro & lite versions will be a waste of your time because, in the end, you will need to modify each codebase and then you will end up with two codebases that will need to be maintained. ![]() Imagine that you’ve been developing an app for some time and then you realize that you want to monetize the app by creating a pro version or you’ve begun developing an app that has the same codebase but you want to differentiate the app and its features between admin users and members users.
0 Comments
Leave a Reply. |