GadgetWerx
Aspiring developer
Profile
Posts: 101
Reg: Jul 05, 2012
Redlands
6,010
09/29/12 02:58 PM (13 years ago)

Xcode not updating

Am I missing something? It's been a few weeks since I've done some BT work, but now I'm back to it. I seem to recall that if I had BT and Xcode open simultaneously that whatever changes I made in BT would show up in Xcode. That doesn't appear to work now. OK. So I went through all that provisioning stuff with iOS 6 yesterday... Could that have messed up the connection or am I drunk? Scott
 
CodeMeNot
I hate code!
Profile
Posts: 92
Reg: Aug 02, 2012
Sydney
1,720
like
09/29/12 03:25 PM (13 years ago)
Don't know if you have already done this, but do a clean before you compile each time.
 
GadgetWerx
Aspiring developer
Profile
Posts: 101
Reg: Jul 05, 2012
Redlands
6,010
like
09/29/12 03:32 PM (13 years ago)
What does that mean? "Do a Clean"?
 
CodeMeNot
I hate code!
Profile
Posts: 92
Reg: Aug 02, 2012
Sydney
1,720
like
09/29/12 03:37 PM (13 years ago)
Click 'Product' > Clean. Then run the simulator after that. It basically recompiles the project from scratch, without maybe using an old image or something (that's my understanding). Let me know how it goes!
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/29/12 04:47 PM (13 years ago)
Not sure what you mean when you say "whatever changes". what kind of changes do you mean? Cheers. Miguel
 
GadgetWerx
Aspiring developer
Profile
Posts: 101
Reg: Jul 05, 2012
Redlands
6,010
like
09/29/12 04:51 PM (13 years ago)
As in.... if I change screens and/or plugins. These changes were visible previously.
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/29/12 04:56 PM (13 years ago)
Yes, if you update anything like that in Xcode, when you close and reopen the app its should say you have an update, and update. If you add image to the app in BT you'll have to add them to Xcode as well. Miguel
 
GadgetWerx
Aspiring developer
Profile
Posts: 101
Reg: Jul 05, 2012
Redlands
6,010
like
09/29/12 05:00 PM (13 years ago)
Right, I get that. But on reopen, that's not working for me.
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/29/12 05:02 PM (13 years ago)
try copying the config file from BT to xcode.
 
GadgetWerx
Aspiring developer
Profile
Posts: 101
Reg: Jul 05, 2012
Redlands
6,010
like
09/29/12 05:40 PM (13 years ago)
There is already a config file there with the same name.
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/29/12 05:56 PM (13 years ago)
I mean copy its content
 
GadgetWerx
Aspiring developer
Profile
Posts: 101
Reg: Jul 05, 2012
Redlands
6,010
like
09/29/12 06:18 PM (13 years ago)
content is the same. the content does seem to update in the simulator.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/30/12 12:10 AM (13 years ago)
Clarifying this: "whatever changes I made in BT would show up in Xcode" Do you mean "whatever changes I made in BT would show up in the Simulator?" There is a huge difference. Xcode does not have a connection to your buzztouch control panel, the simulator does. The source code and other assets you see in the Xcode project are not going to change after you download your project (unless you change them of course). The CONTENT for the app can and usually does. The config.txt file in your Xcode project has a dataURL property (near the top) that points to the buzztouch.com control panel. This is the URL that the device or simulator use to download the latest CONTENT from your control panel. Example: Add a menu item to a menu. Simulator will see this. Example: Add a plugin from the market to your control panel then use it in an app. Xcode will NOT have this plugin and will not show it. The app's source code will need to be downloaded again so it included the new plugin. Hope this helps clarify.
 

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.