Discussion Forums  >  Uncategorized

Replies: 9    Views: 172

rarrrr123
I hate code!
Profile
Posts: 78
Reg: May 22, 2011
location unknow...
780
12/21/11 03:23 PM (14 years ago)

On Install App Showing Original Settings

Aghhh, Wondered if someone could help. Installed my app on an iPhone (pinched a friends to test it on). The app loads its default state when I first made the app (horrid). They have to hit the 'refresh' icon in the top left corner and all works from there. Any ideas how to force this on first run?
 
rarrrr123
I hate code!
Profile
Posts: 78
Reg: May 22, 2011
location unknow...
780
like
12/21/11 03:35 PM (14 years ago)
Incidently, when I make a change in the control panel and open the app it detects it fine. Its just when the first time it runs it doesn't?
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
12/21/11 03:40 PM (14 years ago)
Hi Rarrr, I think the best way is to develop your app in a way it is almost finished. After that compile it and THEN put it on your phone. What you should do now is compile it again and distribute again. If I'm wrong I'm glad to hear how it should be done. Best Regards, Danny
 
rarrrr123
I hate code!
Profile
Posts: 78
Reg: May 22, 2011
location unknow...
780
like
12/21/11 03:47 PM (14 years ago)
Its doing the same on the simulator as well?
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
12/21/11 03:55 PM (14 years ago)
Hi Rarrrr, Did you in Xcode perform a clean before compiling again? and delete the app from the simulator? other option is to go to the app configuration data --> copy all the text and paste this in xcode in folder BT_config in the file BT_config.txt Try it but I think you didn't make a new export of your app and recompile it. hope it helps. Best Regards, Danny
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/21/11 04:02 PM (14 years ago)
@Danny is absolutely correct. To get the most up to date code on your device (or wherever), you should download the app configuration data like Danny suggests. Then do a Clean...Build, and distribute your app. At that point, the config file in the app and the one at buzztouch.com should be in sync, and it should not ask for a refresh. Mark
 
rarrrr123
I hate code!
Profile
Posts: 78
Reg: May 22, 2011
location unknow...
780
like
12/21/11 04:22 PM (14 years ago)
Well no idea what went wrong. Re-downloaded the source code and recompiled and it sorted itself. Worrying that it happened without me changing anything though.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/21/11 04:38 PM (14 years ago)
You actually did change something. When you download the source again, it brought with it the latest version of your App Configuration Data in the form of BT_Cofig.txt. So, you did what we told you to do, except you brought the entire package instead of just the file! Does that make sense? If not, let me know, and I'll try to explain it better. Mark
 
rarrrr123
I hate code!
Profile
Posts: 78
Reg: May 22, 2011
location unknow...
780
like
12/21/11 05:04 PM (14 years ago)
It makes sense; completely. I just don't understand what caused the error to start with. All I did was build the package into an IPA file to stick on a phone. I never changed the app (knowingly). Obviously I must have. Not to worry. Thanks for the explanation. Makes perfect sense :)
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/21/11 05:12 PM (14 years ago)
It sounds like you did make a change, based on this statement : Incidently, when I make a change in the control panel and open the app it detects it fine. Even if you make a change and back it out, the timestamp on the config file at buzztouch.com changes, and that's what gets compared to when a determination is made whether changes need to be downloaded. So. if you saved any screen at all, then there would be a new timestamp. Glad you got it working! Mark
 

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.