bluecloud · web viewadd icons, launch screens, localizations and meta-data for your app....
TRANSCRIPT
bluecloudsolutions
Source Code: Keno Kingdom
By: www.bluecloudsolutions.com
BLUECLOUDSOLUTIONS 1
INTRODUCTION 3
Application Name 3
Brief Summary 3
Category 3
Free/Paid 3
In App Purchases 3Free 3Paid 3
Ad Networks 3
Development Engine and Language 3
Total Graphics 3
CREATING APP ON ITUNES 4
Creating App ID 4
Provisioning Profiles 4Create development profile on developer.apple.com. 4Create distribution profile on developer.apple.com. 4
Setup App on iTunes Store 4
Add Meta Data 4
SYNCHRONIZE YOUR APP WITH ITUNES’ SETTINGS 5
Fix Meta 5
Set Provisioning Profiles 5
UPDATE GRAPHICS 6
Change Icons 6
Change Launch Screen Images 6
Update Resources 6
CONFIGURE AD NETWORKS 7
Placements 7
Configuring Ad Ids 7
CONFIGURE GAME CENTER 8
Configure Game center on iTunes Connect 8
Configure Game center in the application 8
CONFIGURE IN APP PURCHASES 9
Free App Target 9To Setup In app Purchase on iTunes Connect 9To configure ids locally 10
Paid App Target 10To Setup In app Purchase on iTunes Connect 11To configure ids locally 11
ARCHIVE AND DISTRIBUTE 12
Introduction
Application NameKeno Kingdom
Brief SummaryCasino Keno Kingdom App
CategoryCasino
Free/PaidFree and paid both with separate targets in single project
In App Purchases
FreeRemove Ads (Non Consumable)Buy Coins – 5 x In app Purchases (Consumable)
PaidBuy Coins – 5 x In app Purchases (Consumable)
Ad Networks
Chartboost AppLovin
Development Engine and LanguageCocos2d-x engine with C++ and objective C
Total Graphics1072 sprites and 13 audio files in Resources folderRefer to asset sheet for details.
Creating App on iTunes
This article assumes that you already have been enrolled in Apple’s developer program and you have a developer account up and running.
Creating App ID Go to developer.apple.com. Go to Member Center -> Certificates, Identifiers & Profiles -> iOS Apps ->
Identifiers. Create new App ID, corresponding to your project.
Provisioning Profiles
Create development profile on developer.apple.com.If you want to use IOS Team Provisioning Profile (wildcard development profile with '*' App ID) for development and testing, skip the development profile creation.
Go to Member Center -> Certificates, Identifiers & Profiles -> IOS Apps -> Provisioning Profiles.
Create new development provisioning profile for your App ID.Download and install it.
Create distribution profile on developer.apple.com.Go to Member Center -> Certificates, Identifiers & Profiles -> IOS Apps -> Provisioning Profiles.
Create new distribution provisioning profile for your App ID.Download and install it.
Setup App on iTunes StoreOn itunesconnect.apple.com go to Manage Your AppsCreate new application and configure it properly.
Add Meta DataAdd Icons, launch screens, localizations and meta-data for your app.
Synchronize your App with iTunes’ settings
Fix MetaSelect your project (1), then select the target of your app (2), select info (3) in the right pane and add bundle identifier (4) and bundle display name (6) as set on iTunes. Give any name to the bundle (5)(try not to put spaces).
Set Provisioning Profiles
Select your certificate in Code Signing Identity and your development/distribution profiles in Provisioning Profile tab.
Update Graphics
Change IconsSelect Images.xcassets -> Appicons, right click and show them in finder. Replace your icons as shown in the image below:
Change Launch Screen ImagesSelect Images.xcassets -> LaunchImages, right click and show them in finder. Replace your launch images as shown in the image below:
Update Resources
Go to Resources folder and replace existing graphics with the re-skinned graphics. Make sure that you replacement images have the same file names and resolutions as the original images.
Configure Ad Networks
Placements
Following ads are displayed in the app:
For Free version: Full Screen ad at launch time Full Screen ad when app enters foreground
Configuring Ad Ids
For the following tutorial, we assume that you have already set up your ads on the pre-mentioned Ad Networks and you are participating in some campaigns.
Please refer to Ad Library guide to configure Ad Networks.
Configure Game Center
Configure Game center on iTunes Connect Go to iTunes connect Browse your application Go to Game Center Create a leaderboard And save the leaderboard id for the following procedure.
Configure Game center in the applicationGo to PZGameCenter.mm file and then browse the function: void GameCenter::submitScore(int score){
And replace the strings for both free and paid versions
Configure In App Purchases
Free App Target
There are 6 in App Purchases for the free app.Non-Consumable:1 x Remove Ads
Consumable:5 x Buy Coins
To Buy 5000 Credits To Buy 11000 Credits To Buy 50000 Credits To Buy 160000 Credits To Buy 400000 Credits
To Setup In app Purchase on iTunes ConnectOn itunesconnect.apple.com select your app and configure in-app purchases.
Non-ConsumableCreate a non-consumable in app purchase for your app to remove ads
And place it in MKStoreManager.h->
#elif FREE_ELE_VERSIONstatic NSString *featureRemoveAds = @"com.goldcoin.kenokingdom.removeads2";....
#endif
ConsumableCreate 5 consumable in app purchases for your app to buy coins, specifically:
To Buy 5000 Credits To Buy 11000 Credits To Buy 50000 Credits To Buy 160000 Credits To Buy 400000 Credits
To configure ids locally
Then Open your project and go to MKStoreManager.h and replace the following ids with your ids:
#elif FREE_ELE_VERSIONstatic NSString *featureRemoveAds = @"com.goldcoin.kenokingdom.removeads2";static NSString *featureVial = @"com.goldcoin.kenokingdom.vial1";static NSString *featurePouch = @"com.goldcoin.kenokingdom.pouch1";static NSString *featureCan = @"com.goldcoin.kenokingdom.can1";static NSString *featureBottle = @"com.goldcoin.kenokingdom.bottle1";static NSString *featureJar = @"com.goldcoin.kenokingdom.jar1";
#endif
Update Plist FileGo to MKStoreKitConfigs.plist file and replace the ids there as well:
Paid App Target
There are 5 in App Purchases for the paid app.
Consumable:5 x Buy Coins
To Buy 5000 Credits To Buy 11000 Credits To Buy 50000 Credits To Buy 160000 Credits To Buy 400000 Credits
To Setup In app Purchase on iTunes ConnectOn itunesconnect.apple.com select your app and configure in-app purchases.
ConsumableCreate 5 consumable in app purchases for your app to buy coins, specifically:
To Buy 5000 Credits To Buy 11000 Credits To Buy 50000 Credits To Buy 160000 Credits To Buy 400000 Credits
To configure ids locallyOn itunesconnect.apple.com select your app and configure in-app purchases.
Consumable
Open your project and go to MKStoreManager.h and replace the following ids with your ids:#ifdef PAID_ELE_VERSION
static NSString *featureRemoveAds = @"";static NSString *featureVial = @"com.goldcoin.kenokingdom.vial1";static NSString *featurePouch = @"com.goldcoin.kenokingdom.pouch1";static NSString *featureCan = @"com.goldcoin.kenokingdom.can1";static NSString *featureBottle = @"com.goldcoin.kenokingdom.bottle1";static NSString *featureJar = @"com.goldcoin.kenokingdom.jar1";
Update Plist File
Go to MKStoreKitConfigs_Paid.plist file and replace the ids there as well:
Archive and Distribute
Select distribution-provisioning profile for your app, (to be downloaded from developers.apple.com)
Set your application status on iTunes to “Ready to Upload Binary” Archive the application Validate it from the Organizer window. From the Organizer, select your validated app and distribute it to app
store!