Quando faccio:AGVTool nuova versione e quale versione non corrispondono
agvtool new-version -all 99
Si aggiorna il mio file Info.plist. Tuttavia, se faccio questo:
agvtool what-version
o
agvtool next-version
ottengo questo errore:
There does not seem to be a CURRENT_PROJECT_VERSION key set for this project.
Add this key to your target's expert build settings.
Perché questo non corrisponde. Devo utilizzare lo strumento da riga di comando plist per recuperare la versione corrente della mia app. Curiosamente agvtool what-marketing-version
funziona bene. Ironia della sorte agvtool non sembra avere una versione per sé ;-)
Non ho mai avuto problemi con l'uso di 'agvtool'. Io uso 'Plistbuddy' invece, con grande successo. Vedi: http://stackoverflow.com/questions/9258344/xcode-better-way-of-incrementing-build-number – trojanfoe