Discussion Forums  >  Images, Documents, File Locations

Replies: 3    Views: 71

MLP Steel
Lost but trying
Profile
Posts: 32
Reg: Mar 14, 2013
Scottdale
5,670
04/05/13 07:04 AM (12 years ago)

Live test data error

Receiving the following error message during live test on iPhone 4S..."Data for this screen has not been downloaded. Please check your internet connection." Docs are showing in both BT_Docs & xcode project. Some images are not showing on iPhone either. Any suggestions?
 
Nick Langley
Apple Fan
Profile
Posts: 288
Reg: May 08, 2012
Birmingham, Uni...
11,580
like
04/05/13 08:00 AM (12 years ago)
So you've uploaded a document on the control panel and clicked save AND you've dragged the document into your xcode project? On the dialog box that shows when you drag a document into Xcode did you tick the 'Copy items into destinations group's folder'? AND 'add to targets "YOUR-APP-NAME-HERE". :) -Nick
 
MLP Steel
Lost but trying
Profile
Posts: 32
Reg: Mar 14, 2013
Scottdale
5,670
like
04/05/13 08:13 AM (12 years ago)
Yes, Nick. Everything works on the simulator but not when I run it on an actual iPhone. Here's some of the info from the console if that helps... 2013-04-05 11:10:03.558 mlpsteel[4138:907] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "Conversions" and itemId: EC2ABBA2F7FE9D7162E624E and type: BT_screen_menuButtons 2013-04-05 11:10:03.560 mlpsteel[4138:907] BT_fileManager: File does exist in Xcode bundle: blank.png 2013-04-05 11:10:03.561 mlpsteel[4138:907] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-04-05 11:10:03.562 mlpsteel[4138:907] BT_background_view: setImage 2013-04-05 11:10:03.563 mlpsteel[4138:907] BT_screen_menuButtons: layoutScreen 2013-04-05 11:10:03.567 mlpsteel[4138:907] BT_fileManager: File does not exist in Xcode bundle: metric.jpg 2013-04-05 11:10:03.569 mlpsteel[4138:907] BT_fileManager: File does not exist in cached directory: metric.jpg 2013-04-05 11:10:03.570 mlpsteel[4138:907] BT_button_view: Image for button view does not exist locally - no URL provided, not downloading. 2013-04-05 11:10:03.574 mlpsteel[4138:907] BT_fileManager: File does exist in Xcode bundle: rulermetal.png 2013-04-05 11:10:03.575 mlpsteel[4138:907] BT_button_view: Image for button exists in bundle - not downloading. 2013-04-05 11:10:03.579 mlpsteel[4138:907] BT_fileManager: File does not exist in Xcode bundle: thermometer.jpg 2013-04-05 11:10:03.581 mlpsteel[4138:907] BT_fileManager: File does not exist in cached directory: thermometer.jpg 2013-04-05 11:10:03.582 mlpsteel[4138:907] BT_button_view: Image for button view does not exist locally - no URL provided, not downloading. 2013-04-05 11:10:03.585 mlpsteel[4138:907] BT_fileManager: File does not exist in Xcode bundle: decimal.jpg 2013-04-05 11:10:03.587 mlpsteel[4138:907] BT_fileManager: File does not exist in cached directory: decimal.jpg 2013-04-05 11:10:03.589 mlpsteel[4138:907] BT_button_view: Image for button view does not exist locally - no URL provided, not downloading. 2013-04-05 11:10:03.592 mlpsteel[4138:907] BT_fileManager: File does not exist in Xcode bundle: shape.jpg 2013-04-05 11:10:03.594 mlpsteel[4138:907] BT_fileManager: File does not exist in cached directory: shape.jpg 2013-04-05 11:10:03.595 mlpsteel[4138:907] BT_button_view: Image for button view does not exist locally - no URL provided, not downloading. 2013-04-05 11:10:03.599 mlpsteel[4138:907] BT_fileManager: File does exist in Xcode bundle: steelwire.jpg 2013-04-05 11:10:03.600 mlpsteel[4138:907] BT_button_view: Image for button exists in bundle - not downloading. 2013-04-05 11:10:03.604 mlpsteel[4138:907] BT_fileManager: File does exist in Xcode bundle: barswires.jpg 2013-04-05 11:10:03.605 mlpsteel[4138:907] BT_button_view: Image for button exists in bundle - not downloading. 2013-04-05 11:10:03.612 mlpsteel[4138:907] BT_screen_menuButtons: canBecomeFirstResponder in BT_viewController BASE CLASS 2013-04-05 11:10:03.983 mlpsteel[4138:907] BT_screen_menuButtons: viewDidAppear in BT_viewController BASE CLASS Judy
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
04/05/13 10:30 AM (12 years ago)
For what it's worth, uploading documents/media/etc to the control panel has now effect, unless you are going to reference them via the URL for that item. The control panel is just a way to keep collected all the media you will use...it's not required at all, and does not include those items in your download package. Taking this as an example: 2013-04-05 11:10:03.579 mlpsteel[4138:907] BT_fileManager: File does not exist in Xcode bundle: thermometer.jpg 2013-04-05 11:10:03.581 mlpsteel[4138:907] BT_fileManager: File does not exist in cached directory: thermometer.jpg 2013-04-05 11:10:03.582 mlpsteel[4138:907] BT_button_view: Image for button view does not exist locally - no URL provided, not downloading. That all suggests to me that the screen isn't configured for the media item it's looking for. It's not finding the image locally (it should be in BT_Art\Gui, if it's a GUI element like a button image), and it's not finding it in cache. It also doesn't have a location from which to download it from, so it bails. If you reference images in an HTML file, the images should be in BT_Images, and you would reference them in the HTML like <img src="image.jpg">. No need for a path. Other media files should go in the appropriate location. 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.