mickeywong
Aspiring developer
Profile
Posts: 35
Reg: Jan 10, 2013
Kuala Lumpur
8,800
03/04/13 11:11 AM (12 years ago)

Simulator showing blank screen and not how it should be working

Dear Buzztouch Gang, Finalised my maiden app and worked well in the simulator. However did some final touches to it recently and when i opened the simulator , a blank screen came up (tabs were still present but you can't click to access them) Even the menu and splash screen is not present - despite putting all the .png background pic for splash screen and other background pics. Went through the debug log and realised there error possibilities but seem to find out what it could be. Something about the ViewControllerForScreen Error... Here is the debug info log from Xcode: 2013-03-05 01:58:40.102 bestdiets[1910:c07] bestdiets_appDelegate: Using the default BT_config.txt. 2013-03-05 01:58:40.104 bestdiets[1910:c07] BT_application: initializing buzztouch application 2013-03-05 01:58:40.104 bestdiets[1910:c07] BT_device: INIT 2013-03-05 01:58:40.105 bestdiets[1910:c07] BT_device: Unique UUID exists. 2013-03-05 01:58:40.105 bestdiets[1910:c07] BT_device: This device is NOT an iPad. 2013-03-05 01:58:40.106 bestdiets[1910:c07] BT_device: This device can make phone calls 2013-03-05 01:58:40.109 bestdiets[1910:c07] BT_device: This device can send emails 2013-03-05 01:58:40.110 bestdiets[1910:c07] BT_device: This device can send SMS 2013-03-05 01:58:40.111 bestdiets[1910:c07] BT_device: This device can report it's location 2013-03-05 01:58:40.111 bestdiets[1910:c07] BT_device: This device cannot take pictures or videos 2013-03-05 01:58:40.111 bestdiets[1910:c07] BT_user: INIT 2013-03-05 01:58:40.112 bestdiets[1910:c07] BT_networkState: INIT 2013-03-05 01:58:40.114 bestdiets[1910:c07] BT_networkState: Monitoring Connection: WiFi Not Available 2013-03-05 01:58:40.115 bestdiets[1910:c07] BT_networkState: Monitoring Connection: WiFi Available 2013-03-05 01:58:40.116 bestdiets[1910:c07] BT_networkState: Monitoring Connection: WiFi Available 2013-03-05 01:58:40.119 bestdiets[1910:4307] bestdiets_appDelegate: initAudioPlayer in background thread 2013-03-05 01:58:40.119 bestdiets[1910:c07] bestdiets_appDelegate: refreshAppData 2013-03-05 01:58:40.119 bestdiets[1910:4307] BT_audioPlayer: INIT (preparing it for possible background audio) 2013-03-05 01:58:40.120 bestdiets[1910:c07] BT_fileManager: File does exist in cached directory: cachedAppConfig.txt 2013-03-05 01:58:40.120 bestdiets[1910:c07] BT_fileManager: readTextFileFromCacheWithEncoding: cachedAppConfig.txt encoding: -1 2013-03-05 01:58:40.119 bestdiets[1910:4803] bestdiets_appDelegate: loadSoundEffects SEE appDelegete.m, line 924 2013-03-05 01:58:40.121 bestdiets[1910:c07] BT_fileManager: File does exist in Xcode bundle: BT_config.txt 2013-03-05 01:58:40.122 bestdiets[1910:c07] BT_fileManager: readTextFileFromBundleWithEncoding: BT_config.txt encoding: -1 2013-03-05 01:58:40.124 bestdiets[1910:c07] bestdiets_appDelegate: Using configuration data from application cache. 2013-03-05 01:58:40.125 bestdiets[1910:c07] BT_application: validateApplicationData 2013-03-05 01:58:40.126 bestdiets[1910:c07] BT_application: The application data appears to be valid. 2013-03-05 01:58:40.126 bestdiets[1910:c07] bestdiets_appDelegate: configureEnvironmentUsingAppData 2013-03-05 01:58:40.127 bestdiets[1910:c07] BT_application: parseJSONData: parsing application data 2013-03-05 01:58:40.129 bestdiets[1910:c07] BT_application: parsing themes, count: 1 2013-03-05 01:58:40.129 bestdiets[1910:c07] BT_application: parsing tabs, count: 3 2013-03-05 01:58:40.130 bestdiets[1910:c07] BT_application: parsing screens, count: 13 2013-03-05 01:58:40.130 bestdiets[1910:c07] BT_application: buildInterface app interface 2013-03-05 01:58:40.131 bestdiets[1910:c07] BT_application: building a tabbed based navigation app 2013-03-05 01:58:40.132 bestdiets[1910:c07] BT_tabBarController: view loaded 2013-03-05 01:58:40.133 bestdiets[1910:c07] BT_application: getScreenDataByItemId AD1202AACFD0D15B890A0B0 2013-03-05 01:58:40.134 bestdiets[1910:c07] BT_application: screenType is BT_screen_menuListSimple for screen with nickname: "Menu" and itemId: AD1202AACFD0D15B890A0B0 2013-03-05 01:58:40.134 bestdiets[1910:c07] BT_viewControllerManager: initViewControllerForScreen nickname: "Menu" itemId: AD1202AACFD0D15B890A0B0 type: BT_screen_menuListSimple 2013-03-05 01:58:40.134 bestdiets[1910:c07] BT_viewControllerManager: initViewControllerForScreen: ERROR, could not initialize view controller for screen with itemId: AD1202AACFD0D15B890A0B0 2013-03-05 01:58:40.135 bestdiets[1910:c07] BT_viewControllerManager: getErrorViewController 2013-03-05 01:58:40.146 bestdiets[1910:c07] BT_viewController: INIT 2013-03-05 01:58:40.147 bestdiets[1910:c07] BT_navigationController: pushViewController 2013-03-05 01:58:40.147 bestdiets[1910:c07] BT_navigationController: pushViewController for screen: AD1202AACFD0D15B890A0B0 2013-03-05 01:58:40.149 bestdiets[1910:c07] BT_viewUtilities: setting nav-bar background for "Menu" color: #000000 2013-03-05 01:58:40.150 bestdiets[1910:c07] BT_application: getScreenDataByItemId 6141762F4A7F388F29C1F78 2013-03-05 01:58:40.150 bestdiets[1910:c07] BT_application: screenType is BT_screen_rssReader for screen with nickname: "News" and itemId: 6141762F4A7F388F29C1F78 2013-03-05 01:58:40.151 bestdiets[1910:c07] BT_viewControllerManager: initViewControllerForScreen nickname: "News" itemId: 6141762F4A7F388F29C1F78 type: BT_screen_rssReader 2013-03-05 01:58:40.151 bestdiets[1910:c07] BT_viewControllerManager: initViewControllerForScreen: ERROR, could not initialize view controller for screen with itemId: 6141762F4A7F388F29C1F78 2013-03-05 01:58:40.152 bestdiets[1910:c07] BT_viewControllerManager: getErrorViewController 2013-03-05 01:58:40.152 bestdiets[1910:c07] BT_viewController: INIT 2013-03-05 01:58:40.153 bestdiets[1910:c07] BT_navigationController: pushViewController 2013-03-05 01:58:40.153 bestdiets[1910:c07] BT_navigationController: pushViewController for screen: AD1202AACFD0D15B890A0B0 2013-03-05 01:58:40.154 bestdiets[1910:c07] BT_viewUtilities: setting nav-bar background for "News" color: #000000 2013-03-05 01:58:40.155 bestdiets[1910:c07] BT_application: getScreenDataByItemId 59E34446649AF340333136A 2013-03-05 01:58:40.155 bestdiets[1910:c07] BT_application: screenType is BT_screen_quiz for screen with nickname: "Diet Quiz" and itemId: 59E34446649AF340333136A 2013-03-05 01:58:40.156 bestdiets[1910:c07] BT_viewControllerManager: initViewControllerForScreen nickname: "Diet Quiz" itemId: 59E34446649AF340333136A type: BT_screen_quiz 2013-03-05 01:58:40.156 bestdiets[1910:c07] BT_viewControllerManager: initViewControllerForScreen: ERROR, could not initialize view controller for screen with itemId: 59E34446649AF340333136A 2013-03-05 01:58:40.156 bestdiets[1910:c07] BT_viewControllerManager: getErrorViewController 2013-03-05 01:58:40.156 bestdiets[1910:c07] BT_viewController: INIT 2013-03-05 01:58:40.157 bestdiets[1910:c07] BT_navigationController: pushViewController 2013-03-05 01:58:40.157 bestdiets[1910:c07] BT_navigationController: pushViewController for screen: AD1202AACFD0D15B890A0B0 2013-03-05 01:58:40.157 bestdiets[1910:c07] BT_viewUtilities: setting nav-bar background for "Diet Quiz" color: #000000 2013-03-05 01:58:40.180 bestdiets[1910:c07] BT_application: initialzing a splash screen with itemId: EEF09A8A0F46510BF138727 2013-03-05 01:58:40.181 bestdiets[1910:c07] BT_application: getScreenDataByItemId EEF09A8A0F46510BF138727 2013-03-05 01:58:40.181 bestdiets[1910:c07] BT_application: screenType is BT_screen_splash for screen with nickname: "Splash Screen" and itemId: EEF09A8A0F46510BF138727 2013-03-05 01:58:40.181 bestdiets[1910:c07] BT_viewControllerManager: initViewControllerForScreen nickname: "Splash Screen" itemId: EEF09A8A0F46510BF138727 type: BT_screen_splash 2013-03-05 01:58:40.181 bestdiets[1910:c07] BT_viewControllerManager: initViewControllerForScreen: ERROR, could not initialize view controller for screen with itemId: EEF09A8A0F46510BF138727 2013-03-05 01:58:40.182 bestdiets[1910:c07] BT_viewControllerManager: getErrorViewController 2013-03-05 01:58:40.182 bestdiets[1910:c07] BT_viewController: INIT 2013-03-05 01:58:40.182 bestdiets[1910:c07] BT_application: App has "Start Location Updates" set to "No". App is NOT starting the location monitor. 2013-03-05 01:58:40.183 bestdiets[1910:c07] BT_background_view: INIT 2013-03-05 01:58:40.183 bestdiets[1910:c07] BT_fileManager: File does exist in Xcode bundle: blank.png 2013-03-05 01:58:40.184 bestdiets[1910:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-05 01:58:40.184 bestdiets[1910:c07] BT_background_view: setImage 2013-03-05 01:58:40.184 bestdiets[1910:c07] bestdiets_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-05 01:58:40.185 bestdiets[1910:c07] bestdiets_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-05 01:58:40.185 bestdiets[1910:c07] bestdiets_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-05 01:58:40.186 bestdiets[1910:c07] bestdiets_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-05 01:58:40.186 bestdiets[1910:c07] bestdiets_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-05 01:58:40.186 bestdiets[1910:c07] bestdiets_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-05 01:58:40.187 bestdiets[1910:c07] bestdiets_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-05 01:58:40.188 bestdiets[1910:c07] BT_viewController: canBecomeFirstResponder in BT_viewController BASE CLASS 2013-03-05 01:58:40.189 bestdiets[1910:c07] bestdiets_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-05 01:58:40.189 bestdiets[1910:c07] bestdiets_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-05 01:58:40.190 bestdiets[1910:c07] bestdiets_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-05 01:58:40.190 bestdiets[1910:c07] bestdiets_appDelegate: hideProgress 2013-03-05 01:58:40.190 bestdiets[1910:c07] bestdiets_appDelegate: applicationDidBecomeActive 2013-03-05 01:58:40.191 bestdiets[1910:c07] bestdiets_appDelegate: reportToCloud 2013-03-05 01:58:40.191 bestdiets[1910:c07] bestdiets_appDelegate: reporting to cloud at : http://builder.theappcode.com/api/app/?command=reportToCloud&appGuid=EA1A5D7FA5CA8BE6AE3AF2660&apiKey=D6053FBA26EF2F070B9DFCB&apiSecret=C42EAD4E791A78632B6C463&deviceId=[deviceId]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]&deviceModel=[deviceModel]&userId=[userId] 2013-03-05 01:58:40.192 bestdiets[1910:c07] BT_strings: mergeBTVariablesInString (after merge): http://builder.theappcode.com/api/app/?command=reportToCloud&appGuid=EA1A5D7FA5CA8BE6AE3AF2660&apiKey=D6053FBA26EF2F070B9DFCB&apiSecret=C42EAD4E791A78632B6C463&deviceId=BB62D7B3-90EE-4193-A5E1-AB5302EA35F0&deviceLatitude=0&deviceLongitude=0&deviceModel=iPhone Simulator&userId= 2013-03-05 01:58:40.195 bestdiets[1910:c07] bestdiets_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-05 01:58:40.703 bestdiets[1910:c07] bestdiets_appDelegate: reportToCloud 2013-03-05 01:58:40.703 bestdiets[1910:c07] bestdiets_appDelegate: reporting to cloud at : http://builder.theappcode.com/api/app/?command=reportToCloud&appGuid=EA1A5D7FA5CA8BE6AE3AF2660&apiKey=D6053FBA26EF2F070B9DFCB&apiSecret=C42EAD4E791A78632B6C463&deviceId=[deviceId]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]&deviceModel=[deviceModel]&userId=[userId] 2013-03-05 01:58:40.705 bestdiets[1910:c07] BT_strings: mergeBTVariablesInString (after merge): http://builder.theappcode.com/api/app/?command=reportToCloud&appGuid=EA1A5D7FA5CA8BE6AE3AF2660&apiKey=D6053FBA26EF2F070B9DFCB&apiSecret=C42EAD4E791A78632B6C463&deviceId=BB62D7B3-90EE-4193-A5E1-AB5302EA35F0&deviceLatitude=0&deviceLongitude=0&deviceModel=iPhone Simulator&userId= 2013-03-05 01:58:40.706 bestdiets[1910:c07] BT_networkState: Monitoring Connection: WiFi Not Available 2013-03-05 01:58:40.707 bestdiets[1910:c07] BT_viewController: viewDidAppear in BT_viewController BASE CLASS 2013-03-05 01:58:40.708 bestdiets[1910:c07] BT_viewController: canBecomeFirstResponder in BT_viewController BASE CLASS 2013-03-05 01:58:40.708 bestdiets[1910:c07] BT_viewController: viewDidAppear in BT_viewController BASE CLASS 2013-03-05 01:58:40.709 bestdiets[1910:c07] BT_viewController: canBecomeFirstResponder in BT_viewController BASE CLASS 2013-03-05 01:58:40.956 bestdiets[1910:c07] bestdiets_appDelegate: lastModified (value on server): Mon, 04 Mar 2013 17:55:30 -0800 2013-03-05 01:58:40.957 bestdiets[1910:c07] BT_fileManager: File does exist in cached directory: appModified.txt 2013-03-05 01:58:40.957 bestdiets[1910:c07] BT_fileManager: readTextFileFromCacheWithEncoding: appModified.txt encoding: -1 2013-03-05 01:58:40.957 bestdiets[1910:c07] bestdiets_appDelegate: previousModified (value on device): Mon, 04 Mar 2013 17:55:30 -0800 2013-03-05 01:58:40.958 bestdiets[1910:c07] BT_fileManager: saveTextFileToCacheWithEncoding: appModified.txt encodingFlag: -1 2013-03-05 01:58:41.385 bestdiets[1910:c07] bestdiets_appDelegate: lastModified (value on server): Mon, 04 Mar 2013 17:55:30 -0800 2013-03-05 01:58:41.385 bestdiets[1910:c07] BT_fileManager: File does exist in cached directory: appModified.txt 2013-03-05 01:58:41.386 bestdiets[1910:c07] BT_fileManager: readTextFileFromCacheWithEncoding: appModified.txt encoding: -1 2013-03-05 01:58:41.386 bestdiets[1910:c07] bestdiets_appDelegate: previousModified (value on device): Mon, 04 Mar 2013 17:55:30 -0800 2013-03-05 01:58:41.387 bestdiets[1910:c07] BT_fileManager: saveTextFileToCacheWithEncoding: appModified.txt encodingFlag: -1 Thank you very much in advance. Regards, Mickey
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/04/13 12:11 PM (12 years ago)
Hi Mickey, Looks like you might not have your Splash Screen defined in the Theme tab for your app? Hit the Theme link in you control panel and make sure you have it added. Also...sometimes it's helpful to sync the configuration data files between your local copy and the server copy. Here's a video that shows how to do that: https://www.youtube.com/watch?v=Sp2vL1XCPC0 Give those a try and let us know what happens! Mark
 
mickeywong
Aspiring developer
Profile
Posts: 35
Reg: Jan 10, 2013
Kuala Lumpur
8,800
like
03/04/13 12:36 PM (12 years ago)
Hi Mark, THanks for your quick reply. Defined the splash screen in the global themes and also synced the config data between my copy and the server copy. Nothing changed :( I tried playing around with the deployment version to 5.1 and 6.0, surprising , another icon with old app name (i renamed the app) was working fine (just without the splash screen and background pics). But when i revert back to version 6.1 the icon disappears and i'm left with my blank screen again. Anybody else encountered something similar? Mickey
 
jvalley
Aspiring developer
Profile
Posts: 456
Reg: Feb 16, 2013
Green Bay,Wi
9,360
like
03/04/13 12:36 PM (12 years ago)
Having same issues with the slash.. Was working Great and now I can't even get a splash if make a brand new app ..png or URL ..did every Popsicle problem fix and still getting nothing.. Same thing happened to someone else on here .. They switched to self hosting without issue .. Could it be a bt problem?
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
03/04/13 07:35 PM (12 years ago)
Are you publishing the changes and syncing the right design or live mode configs? On my self hosted, the publish changes icon sometimes doesn't change from green to red when I make changes, but the data still needs updating.
 
jasonr
Aspiring developer
Profile
Posts: 45
Reg: Jan 14, 2013
California, USA
2,750
like
03/12/13 07:13 AM (12 years ago)
I have the same issue. The above suggestions did not solve it. The first time I run a buzztouch app (either on simulator or device), I get a blank screen. As a test I only have 1 plugin (quiz). The only way to get it to work is to go to the buzztouch control panel and resave something, then when the app re-launches it asks to update and all is well. But that bandaid will not work when the app is released. Any ideas?
 
mickeywong
Aspiring developer
Profile
Posts: 35
Reg: Jan 10, 2013
Kuala Lumpur
8,800
like
03/12/13 08:29 AM (12 years ago)
i have to admit ...i was quite shy to post this...haha ;) i forgot to add the 5 BT folders into xcode...never read the instruction.pdf my problem was solved the moment i added the 5 BT folders into the xcode project.
 
jasonr
Aspiring developer
Profile
Posts: 45
Reg: Jan 14, 2013
California, USA
2,750
like
03/12/13 03:52 PM (12 years ago)
Here is how I solved my blank screen problem: I manually updated my BT_config.txt in xcode. I had made lots of changes since I had initially downloaded the code, so my config file was no longer reflecting reality. Problem solved.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/12/13 03:54 PM (12 years ago)
Glad everybody got their issue solved! Even those of us who have been around BT for a bit sometimes forget to copy the folders over to Xcode. Not a big deal! 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.