You are on page 1of 1

//limpiar proyecto ionic --> cordova clean

http://ionicframework.com/docs/guide/publishing.html
pass: cobropago_2015
cordova build --release android
//se guarda en carpeta: platforms/android/build/outputs/apk
keytool -genkey -v -keystore cobro-pago-key.keystore -alias cobro_pago -keyalg R
SA -keysize 2048 -validity 10000
//debe estar el keystore y el release-unsigned.apk
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore cobro-pago-key.
keystore android-release-unsigned.apk cobro_pago
//verificar firma --> jarsigner -verify -verbose -certs android-release-unsigned
.apk
//debe estar en el dir android con el android-release-unsigned.apk android.apk
./zipalign -v 4 android-release-unsigned.apk android.apk //root/Android/sdk/buil
d-tools/VERSION/zipalign
zipalign -v 4 android-release-unsigned.apk android.apk

i'll try to make a short list as for me has been a real pain in the ass.
First, create a new account and pay 99$ at https://developer.apple.com/programs/
ios/117
login with your developer account (use safari, because cgrome has a bug when cre
ating certificates) and create:
1 certificate for development (this needs a Mac OS X computer)
1 certificate for production (this needs a Mac OS X computer)
1 app ID identifier (with a bundle ID wich will identify your app on xcode and o
ther sites like facebook SDK
1 provisioning profile for development
1 provisioning profile for production
on xCode, you can set the "team" of your app in the target general. After that,
you can specify on target build settings and project build settings the provisio
ning profiles for production.
Make sure you have the latest xcode version (5.1.1) because in the 5.1 there is
a bug that not allows you to submit to the store throwing a stupid message on sc
reen.
Go to https://itunesconnect.apple.com109 and click on "manage your apps". There
you'll find a ridiculous form asking you some things about your app.
now, with your iphone unplugged, archive your app making Product > clean, produc
t > clean build folder, product > archive
if everything goes right, the archiver window should open. Select your "app" and
validate it.
It will make a previous validation and if everything is nice, you can send ut to
apple for revision. Then you must wait a week for apple to reject your app beca
use you've violated the localstorage guidelines and enabled icloud data backup.

You might also like