<commit_before>## Step 5: Publish

In your project's `platforms` directory, you have two complete native projects: one for Android, and one for iOS. You can build release versions of these projects and publish them to Google Play or to the iOS App Store.

### Publish to the Play Store

To publish your Android application to the Play Store:

1. Edit `platforms/android/AndroidManifest.xml` and set the `versionCode` and `versionName` properties correctly.

2. Edit (or create) `platforms/android/ant.properties` and set the `key.store` and `key.alias` properties (as explained [in the Android developer docs](http://developer.android.com/tools/building/building-cmdline.html#ReleaseMode)).

3. Build your project:

        cca build android --release

4. Find your signed .apk located in `platforms/android/ant-build`.

5. Upload your signed application to the Google Play developer console.

### Publish to the iOS App Store

Open the Xcode project file found under your `platforms/ios` directory:

    open platforms/ios/*.xcodeproj
    
And then follow Apple's [App Distribution Guide](https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/Introduction/Introduction.html)<commit_msg>Publishing: Change cca build -> platforms/android/build (#83)<commit_after>## Step 5: Publish

In your project's `platforms` directory, you have two complete native projects: one for Android, and one for iOS. You can build release versions of these projects and publish them to Google Play or to the iOS App Store.

### Publish to the Play Store

To publish your Android application to the Play Store:

1. Edit `platforms/android/AndroidManifest.xml` and set the `versionCode` and `versionName` properties correctly.

2. Edit (or create) `platforms/android/ant.properties` and set the `key.store` and `key.alias` properties (as explained [in the Android developer docs](http://developer.android.com/tools/building/building-cmdline.html#ReleaseMode)).

3. Build your project:

        ./platforms/android/cordova/build --release

4. Find your signed .apk located in `platforms/android/ant-build`.

5. Upload your signed application to the Google Play developer console.

### Publish to the iOS App Store

Open the Xcode project file found under your `platforms/ios` directory:

    open platforms/ios/*.xcodeproj
    
And then follow Apple's [App Distribution Guide](https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/Introduction/Introduction.html)
{'fraction_non_alphanumeric': 0.08877388535031847, 'fraction_numerical': 0.005573248407643312, 'mean_word_length': 4.572062084257206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5474074', 'n_tokens_mistral': 681, 'n_tokens_neox': 658, 'n_words': 278}