Page 1 of 1
Auto increment version number in iOS standalone settings
Posted: Thu Oct 30, 2014 3:56 pm
by pink
I'm at that stage where I'm constantly creating new builds to test on my devices. Is there a way to create a Livecode Script which would automatically change the number of the version in the standalone settings panel for iOS?
Re: Auto increment version number in iOS standalone settings
Posted: Thu Oct 30, 2014 4:11 pm
by LCNeil
Hi Greg,
Its great to see you're still with us after the conference
The following should give you a means of automatically increasing version number of your iOS stack. This script should go on your stack script and may need adjusted to whatever version numbering system you are using
Code: Select all
on mobileStandaloneSaved
put the cRevStandaloneSettings["ios,bundle version"] of this stack into tVersion
set the itemdel to "."
add 1 to item 3 of tVersion
set the cRevStandaloneSettings["ios,bundle version"] of this stack to tVersion
end mobileStandaloneSaved
Kind Regards,
Neil Roger
--
LiveCode Support Team ~
http://www.runrev.com
--
Re: Auto increment version number in iOS standalone settings
Posted: Thu Oct 30, 2014 9:54 pm
by pink
perfect thanks!