daku7
Aspiring developer
Profile
Posts: 227
Reg: Oct 30, 2011
Toronto
3,170
03/29/13 07:14 AM (12 years ago)

Issue in updating app from App store

Dear All, I have followed the below pdf code to overcome app refresh issue https://www.buzztouch.com/files/howtos/cached-data-after-updates.pdf I have integrate the code but it shows error
 
Cakebit
Code is Art
Profile
Posts: 502
Reg: Dec 15, 2010
In your local b...
16,520
like
03/29/13 07:21 AM (12 years ago)
I have this very same problem! And even when I tried that code, the updated app was still corrupted!
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
03/29/13 08:23 AM (12 years ago)
Unfortunately, this how-to wont work because of the changes that were made to XCode. The method at the bottom needs updated. I'll post a solution in a bit when I'm near a computer
 
Cakebit
Code is Art
Profile
Posts: 502
Reg: Dec 15, 2010
In your local b...
16,520
like
03/29/13 08:33 AM (12 years ago)
Thanks chris1, I just had to pull an app over this problem!
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
03/29/13 08:46 AM (12 years ago)
Okay - for some reason, that how-to (which is over a year old) says that the change was being made to future XCode projects. But it doesn't seem to be there now. Probably was removed with the new 'live' mode. So, here's a couple things to try: 1) Try changing the method at the bottom to read: BT_fileManager saveTextFileToCacheWithEncoding:@"dummy data" fileName:dummyFileName encodingFlag:-1 2) If that doesn't work, I solved this issue in my apps in a more complicated way, but one that works. Read about the solution here: http://www.buzztouch.com/forum/thread.php?tid=E2B6E2F7043DFBD883020D2&currentPage=1
 
daku7
Aspiring developer
Profile
Posts: 227
Reg: Oct 30, 2011
Toronto
3,170
like
03/29/13 09:08 AM (12 years ago)
Thanks chris1, http://www.buzztouch.com/forum/thread.php?tid=E2B6E2F7043DFBD883020D2&currentPage=1 In the above forum you had use lot of codes , Kindly add a needed code on this forum Thanks for your wonderful help
 
daku7
Aspiring developer
Profile
Posts: 227
Reg: Oct 30, 2011
Toronto
3,170
like
03/29/13 10:55 AM (12 years ago)
Dear chris1 I have try to integrate your code Unfortunately,it shows error Whats the wrong with me?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
03/29/13 10:57 AM (12 years ago)
Sorry - this weekend is crazy busy for me. But looking at your screenshot, just take out the two Li Ed of code giving you problems (the BT_Debugger lines). Or put // in fron of each of those lines.
 
daku7
Aspiring developer
Profile
Posts: 227
Reg: Oct 30, 2011
Toronto
3,170
like
04/01/13 05:19 AM (12 years ago)
Hi CakeBit, Are you resolved this issue?
 
daku7
Aspiring developer
Profile
Posts: 227
Reg: Oct 30, 2011
Toronto
3,170
like
04/01/13 08:21 AM (12 years ago)
Hi chris1, Are you able to help me?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/01/13 08:27 AM (12 years ago)
Did you comment out the BT_debugger lines?
 
daku7
Aspiring developer
Profile
Posts: 227
Reg: Oct 30, 2011
Toronto
3,170
like
04/01/13 09:06 AM (12 years ago)
I have comment that lines at the time my errors are resolved but it does not check the app when i launch first time from app store to device and it shows old menus only
 

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.