Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sprint84
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
sprint84
12y ago
That's great, I also didn't know it existed. The only thing I need to check is if it will copy the updated values to the archived ipa.
2.
▲
by
sprint84
12y ago
No it doesn't, if you ensure it will run only on "Release". When you deploy an app to a device via Xcode, unless you specify differently, it will compile in "Debug", so that won't cause an increment. Every iPad
3.
▲
by
sprint84
12y ago
The script runs only when you Archive.
4.
▲
by
sprint84
12y ago
What do you mean? Do you want to read the build number on runtime? There is a way to do that, when you put them in the plist, just run [[NSBundle mainBundle] infoDictionary][@"CFBundleVersion"] to get the NSString.
5.
▲
by
sprint84
12y ago
In the post, there is a workaround for the increment at each build/run. You just need to be sure to run the script only in Release
6.
▲
Automatic Build Numbers in Xcode
(nerds.weddingpartyapp.com)
12 points
by
sprint84
12y ago
|
12 comments