Adding appicon xcode
Inside Run, Test and Analyze, change the build configuration to Debug Pro.
ADDING APPICON XCODE PRO
Name the new scheme with Pro for clarity’s sake or any name that you choose. Select the default scheme, click on the gear button at the bottom and choose Duplicate. 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. Creating this asset catalog seems to have prompted XCode to modify my ist file as 'Icon files (iOS 5)'.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. So here are the steps you need to take to add an App Icon: 1) If you've clicked on the the arrow next to 'App Icons Source' then click on your 'Images.xcassets' file that it created and delete the 'BrandAsset' folder. In that case, here’s how you can manually add the eject icon to your menu bar, even if you don’t have an optical drive connected. Unfortunately, lots of users (including us) find that this process doesn’t always work as it should.
Now, what should happen is if you connect a compatible optical drive to your Mac, macOS will detect that and add automatically add the eject icon to your menu bar.
When you build the iOS app product, the Assets.xcassets folder will be copied.
ADDING APPICON XCODE HOW TO
Beside add files or folders in Xcode project navigator pane, you can also add them in Xcode Assets folder to add them into iOS app product when build it, you can read article How To Add iOS App Icon, Image, Color Set To Xcode Project Assets Catalog Correctly to learn more. Note: If you’ve followed the How To Create A Simple iPhone App on iOS 5 Tutorial, you will find that this section is (almost) identical to that.One of the good things about Mac/iOS programming is that they share most of the SDK, obviously, except the UI classes and some OS specific parts.