Skopelos
Lost but trying
Profile
Posts: 13
Reg: Dec 13, 2013
skopelos island...
4,430
12/28/13 08:59 AM (11 years ago)

Downloaded project does not Run the updated version of control panel...!

Hi everyone.. This is my first "being lost" topic and one that has baffled me today..! I went to my existing project I created, (experimenting, as it was my very first one), changed it totally by erasing screens, creating new ones, deleting tab menu items putting new one's, images, etc. Since it was the 2nd version of the app I'm trying to create, and having slightly more understanding of the control panel, I downloaded the iOS source code as per instructions, (it was my second time after all, more care and understanding in the process). I opened it up in Xcode, transferred the 5 files to the project, (having previously added images in my images folder-btw, what is the way to do this in the cp without having to manually re added them to the project?), Run the app without problems, but, the contents I saw in both simulators, were identical to the previous, 1st version, of the app. Nothing had changed, no images, no background images, no custom html pages...nothing. I read the some topics in the forum for similar/identical posts and the one I found similar to mine was here: https://www.buzztouch.com/forum/thread.php?tid=F5A4880A3775BD3AC954651&fid=06DB0BCB08E2222&sortColumn=FT.id&sortUpDown=DESC&currentPage=1 I tried the steps described there to eliminate the problem, (i.e cleaned the project and re ran it), but to no avail. The app looks identical to the first version I did with exactly the same content...! What am I missing here...?? Can anyone help me here please..? I thought I've sussed it out so far and was getting excited but...what's going on...?? Thank you in advance for this...
 
Skopelos
Lost but trying
Profile
Posts: 13
Reg: Dec 13, 2013
skopelos island...
4,430
like
12/28/13 09:07 AM (11 years ago)
P.S. I also updated the BT_Config text file and copied it from control panel with the one in my Xcode project...nada...:-(
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
12/28/13 09:38 AM (11 years ago)
Try resetting your content & settings in the simulator, sometimes that does it for me. Otherwise, you can try holding down the option key when viewing the clean menu and it will change to "clean build folder"... That might help as well
 
Skopelos
Lost but trying
Profile
Posts: 13
Reg: Dec 13, 2013
skopelos island...
4,430
like
12/28/13 09:45 AM (11 years ago)
Hey Angry Ninja... Great stuff my friend....I first reseted content and settings and...voila....my new content appeared and was the code I downloaded....!! Thank you for the taking the time to reply to me...I was getting paranoid...:-)
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
12/28/13 09:55 AM (11 years ago)
Awesome, glad you got it working. I find that usually happens when I use the same bundle identifier as an older project, like the simulator stores the cache based on the bundle identifier.
 
Skopelos
Lost but trying
Profile
Posts: 13
Reg: Dec 13, 2013
skopelos island...
4,430
like
12/28/13 10:03 AM (11 years ago)
Oh I see...also..since you're up and running currently :-) Do you by any chance know how to download the code with, the images you have set for this project in the control panel? As I'm sure you know, it's a pain having to manually add the images in your folder and then drag it across to the project. I don't much mind now, that I have only a few images, but down the road...you can imagine. I read somewhere in the forum that there is a way to do this in control panel, (though I read so much stuff that I forgot where it is now)...! If not, not to worry..:-)
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
12/28/13 10:07 AM (11 years ago)
I never figured out how to do that, so I never upload my media to the control panel at all. I just tell all of my screens to use the file name or url that I type in, and I keep a backup of my working BT project folder on my mac, and whenever I redownload the code, I just copy my bt_images folder from my working backup over to the newly downloaded folder and replace it. Same thing with my docs, audio and art folders, so I also have any local copies of my sound, icons, and html pages that my app might use (same for video if you have any). Then, once overwritten, I drag all those folders, along with bt_plugins into xcode. I know in the media section, you can check and download all images, but I think you have to do it that way and there isn't a way to do it when downloading your code, so I just found the above process easier for my workflow. Saves having to upload every image to the server.
 
Skopelos
Lost but trying
Profile
Posts: 13
Reg: Dec 13, 2013
skopelos island...
4,430
like
12/28/13 10:13 AM (11 years ago)
A ha...ok...so my last question is...how do you tell all your screens to use the local file..? :-)
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
12/28/13 10:18 AM (11 years ago)
assuming we're using something like menu with image or whatever plugin that uses an image, in the image field, instead of using the "select image" button, you'd simply just type the filename or url. for example... myImageName.jpg or http://www.myserver/images/myImageName.jpg (local versus online) Same would go for any media, if it's sound it would be mySoundFileName.mp3 or whatever, but bottom line is you just type it in manually instead of using the select button.
 
Skopelos
Lost but trying
Profile
Posts: 13
Reg: Dec 13, 2013
skopelos island...
4,430
like
12/28/13 10:19 AM (11 years ago)
Thank you...thank you ...thank you...!!!
 

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.