Discussion Forums  >  Uncategorized

Replies: 2    Views: 283

captainash
Apple Fan
Profile
Posts: 69
Reg: Jan 16, 2011
location unknow...
2,490
03/10/11 09:25 AM (14 years ago)

Updating my app - some issues and questions

I've rebuilt one of my 1.4 apps in 1.5.. There is nothing wrong with the app - When I install a fresh copy on my devices this works fine, but when I first tried installing it on top of the old version it would not run at all.. I had to delete this from my device and install again.. So I'm wondering what actually happens when people download an update in app store.. is the old binary deleted and a fresh copy installed? If so, there shouldn't be a problem, but if the new version goes on top of the old one people might run into the same problem I had when testing.. Are there any important info (names etc.) in xCode that must match the ones in the old version? Thanks!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/10/11 10:18 AM (14 years ago)
Hi, good questions....The update process, which in a literal sense is the same thing as re-installing or overwriting an app on your phone from Xcode, is governed by the CFBundleIdentifier in the plist (BT_Config folder). If this is the same as another app on your phone, strange things can happen. Generally it works well and the old version is overwritten with the new version but it's not 100% consistent when doing it from Xcode. This ALWAYS works well from the App Store. App updates from the App Store are amazingly reliable (unlike the Android process which is error prone). So... new CFBundleIdentifier means ' new app ' ..... existing CFBundleIdentifier means ' overwrite the existing app ' Hope this helps
 
captainash
Apple Fan
Profile
Posts: 69
Reg: Jan 16, 2011
location unknow...
2,490
like
03/10/11 12:38 PM (14 years ago)
That helps a lot! Thanks again, David!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.