stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
02/17/13 01:19 PM (12 years ago)

Trying again on Black screen, with all updates

Trying to be concise here - previous post has too many updates by myself. This is cleaner. Updated an app in Itunes and it became live just yesterday. It works. But now, when I run it on an iphone or ipad simulator, the build succeeds but the simulator opens up and theres a black screen. I even replaced the files with a time machine backup of a few days ago, but same thing. The debug console gives me what follows. I'm really confused about what could have happened. The last entries of the console deal with mp3 files that I don't even use in the app. Thanks. Steve 2013-02-17 15:14:35.901 traveltemps[14065:c07] BT_application: initializing buzztouch application 2013-02-17 15:14:35.902 traveltemps[14065:c07] BT_device: INIT 2013-02-17 15:14:35.902 traveltemps[14065:c07] BT_device: Unique UUID exists. 2013-02-17 15:14:35.903 traveltemps[14065:c07] BT_device: This device is an iPad. 2013-02-17 15:14:35.903 traveltemps[14065:c07] BT_device: This device cannot make phone calls 2013-02-17 15:14:35.905 traveltemps[14065:c07] BT_device: This device can send emails 2013-02-17 15:14:35.906 traveltemps[14065:c07] BT_device: This device can send SMS 2013-02-17 15:14:35.906 traveltemps[14065:c07] BT_device: This device can reports it's location 2013-02-17 15:14:35.906 traveltemps[14065:c07] BT_device: This device cannot take pictures or videos 2013-02-17 15:14:35.907 traveltemps[14065:c07] BT_user: INIT 2013-02-17 15:14:35.907 traveltemps[14065:c07] BT_networkState: INIT 2013-02-17 15:14:35.908 traveltemps[14065:c07] BT_networkState: Monitoring Connection: WiFi Not Available 2013-02-17 15:14:35.909 traveltemps[14065:c07] BT_networkState: Monitoring Connection: WiFi Available 2013-02-17 15:14:35.909 traveltemps[14065:c07] BT_networkState: Monitoring Connection: WiFi Available 2013-02-17 15:14:35.910 traveltemps[14065:c07] traveltemps_appDelegate: refreshAppData 2013-02-17 15:14:35.910 traveltemps[14065:4703] traveltemps_appDelegate: loadSoundEffects SOUNDS NOT LOADING. SEE appDelegete.m, line 846 2013-02-17 15:14:35.910 traveltemps[14065:4207] traveltemps_appDelegate: initAudioPlayer in background thread 2013-02-17 15:14:35.911 traveltemps[14065:4703] BT_fileManager: File does exist in Xcode bundle: basso.mp3 2013-02-17 15:14:35.911 traveltemps[14065:c07] BT_fileManager: File does not exist in cached directory: cachedAppConfig.txt 2013-02-17 15:14:35.911 traveltemps[14065:4207] BT_audioPlayer: INIT (preparing it for possible background audio) 2013-02-17 15:14:35.912 traveltemps[14065:c07] BT_fileManager: File does exist in Xcode bundle: BT_config.txt 2013-02-17 15:14:35.912 traveltemps[14065:c07] BT_fileManager: readTextFileFromBundleWithEncoding: BT_config.txt encoding: -1 2013-02-17 15:14:35.913 traveltemps[14065:c07] traveltemps_appDelegate: Parsing configuration data included in the project bundle. 2013-02-17 15:14:35.919 traveltemps[14065:c07] BT_application: validateApplicationData 2013-02-17 15:14:35.923 traveltemps[14065:c07] BT_application: The application data appears to be valid. 2013-02-17 15:14:35.923 traveltemps[14065:c07] traveltemps_appDelegate: configureEnvironmentUsingAppData 2013-02-17 15:14:35.923 traveltemps[14065:c07] BT_audioPlayer: stopAudio 2013-02-17 15:14:35.924 traveltemps[14065:c07] BT_application: parseJSONData: parsing application data 2013-02-17 15:14:35.927 traveltemps[14065:c07] BT_application: parsing themes, count: 1 2013-02-17 15:14:35.927 traveltemps[14065:c07] BT_application: parsing tabs, count: 0 2013-02-17 15:14:35.927 traveltemps[14065:c07] BT_application: parsing screens, count: 107 2013-02-17 15:14:35.928 traveltemps[14065:c07] BT_application: buildInterface app interface 2013-02-17 15:14:35.928 traveltemps[14065:c07] BT_application: building a single navigation controller app 2013-02-17 15:14:35.928 traveltemps[14065:c07] BT_viewControllerManager: initViewControllerForScreen nickname: "Home Screen Menu" itemId: 8C8DF5B3A0D4BECB8983929 type: WB_screen_menuImage 2013-02-17 15:14:35.928 traveltemps[14065:c07] BT_viewControllerManager: initViewControllerForScreen: ERROR, could not initialize view controller for screen with itemId: 8C8DF5B3A0D4BECB8983929 2013-02-17 15:14:35.929 traveltemps[14065:c07] BT_viewControllerManager: getErrorViewController 2013-02-17 15:14:35.929 traveltemps[14065:c07] BT_viewController: INIT 2013-02-17 15:14:35.929 traveltemps[14065:c07] BT_rotatingNavController: pushViewController 2013-02-17 15:14:35.930 traveltemps[14065:c07] BT_rotatingNavController: pushViewController for screen: 8C8DF5B3A0D4BECB8983929 2013-02-17 15:14:35.934 traveltemps[14065:c07] BT_application: This app does not use a splash screen 2013-02-17 15:14:35.935 traveltemps[14065:c07] BT_application: App has "Start Location Updates" set to "No". App is NOT starting the location monitor. 2013-02-17 15:14:35.935 traveltemps[14065:c07] BT_background_view: INIT 2013-02-17 15:14:35.935 traveltemps[14065:c07] BT_fileManager: File does exist in Xcode bundle: blank.png 2013-02-17 15:14:35.936 traveltemps[14065:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-02-17 15:14:35.936 traveltemps[14065:c07] BT_background_view: setImage 2013-02-17 15:14:35.936 traveltemps[14065:c07] traveltemps_appDelegate: supportedInterfaceOrientationsForWindow 2013-02-17 15:14:35.937 traveltemps[14065:c07] traveltemps_appDelegate: supportedInterfaceOrientationsForWindow 2013-02-17 15:14:35.937 traveltemps[14065:c07] traveltemps_appDelegate: supportedInterfaceOrientationsForWindow 2013-02-17 15:14:35.938 traveltemps[14065:c07] traveltemps_appDelegate: supportedInterfaceOrientationsForWindow 2013-02-17 15:14:35.938 traveltemps[14065:c07] traveltemps_appDelegate: supportedInterfaceOrientationsForWindow 2013-02-17 15:14:35.939 traveltemps[14065:c07] traveltemps_appDelegate: supportedInterfaceOrientationsForWindow 2013-02-17 15:14:35.939 traveltemps[14065:c07] traveltemps_appDelegate: supportedInterfaceOrientationsForWindow 2013-02-17 15:14:35.939 traveltemps[14065:c07] traveltemps_appDelegate: supportedInterfaceOrientationsForWindow 2013-02-17 15:14:35.939 traveltemps[14065:c07] traveltemps_appDelegate: hideProgress 2013-02-17 15:14:35.940 traveltemps[14065:c07] traveltemps_appDelegate: applicationDidBecomeActive 2013-02-17 15:14:35.940 traveltemps[14065:c07] traveltemps_appDelegate: reportToCloud 2013-02-17 15:14:35.940 traveltemps[14065:c07] traveltemps_appDelegate: reporting to cloud at : https://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JA1408A3EC4D3B6D57BA55659&apiKey=B8F3F622CA2FDA506ED280C&apiSecret=B866657A352735A6458DD49&deviceId=[deviceId]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]&deviceModel=[deviceModel]&userId=[userId] 2013-02-17 15:14:35.940 traveltemps[14065:c07] BT_strings: mergeBTVariablesInString (after merge): https://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JA1408A3EC4D3B6D57BA55659&apiKey=B8F3F622CA2FDA506ED280C&apiSecret=B866657A352735A6458DD49&deviceId=A7C91281-71F5-43E3-A012-69EB16EA5B9A&deviceLatitude=0&deviceLongitude=0&deviceModel=iPad Simulator&userId= 2013-02-17 15:14:35.942 traveltemps[14065:c07] traveltemps_appDelegate: supportedInterfaceOrientationsForWindow 2013-02-17 15:14:35.943 traveltemps[14065:4703] BT_fileManager: File does exist in Xcode bundle: bottle.mp3 2013-02-17 15:14:35.967 traveltemps[14065:c07] BT_networkState: Monitoring Connection: WiFi Not Available 2013-02-17 15:14:36.166 traveltemps[14065:c07] traveltemps_appDelegate: lastModified (value on server): Thu, 14 Feb 2013 04:51:28 -0800 2013-02-17 15:14:36.166 traveltemps[14065:c07] BT_fileManager: File does exist in cached directory: appModified.txt 2013-02-17 15:14:36.166 traveltemps[14065:c07] BT_fileManager: readTextFileFromCacheWithEncoding: appModified.txt encoding: -1 2013-02-17 15:14:36.167 traveltemps[14065:c07] traveltemps_appDelegate: previousModified (value on device): Thu, 14 Feb 2013 04:51:28 -0800 2013-02-17 15:14:36.167 traveltemps[14065:c07] BT_fileManager: saveTextFileToCacheWithEncoding: appModified.txt encodingFlag: -1 2013-02-17 15:14:36.240 traveltemps[14065:c07] traveltemps_appDelegate: reportToCloud 2013-02-17 15:14:36.241 traveltemps[14065:c07] traveltemps_appDelegate: reporting to cloud at : https://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JA1408A3EC4D3B6D57BA55659&apiKey=B8F3F622CA2FDA506ED280C&apiSecret=B866657A352735A6458DD49&deviceId=[deviceId]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]&deviceModel=[deviceModel]&userId=[userId] 2013-02-17 15:14:36.241 traveltemps[14065:c07] BT_strings: mergeBTVariablesInString (after merge): https://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JA1408A3EC4D3B6D57BA55659&apiKey=B8F3F622CA2FDA506ED280C&apiSecret=B866657A352735A6458DD49&deviceId=A7C91281-71F5-43E3-A012-69EB16EA5B9A&deviceLatitude=0&deviceLongitude=0&deviceModel=iPad Simulator&userId= 2013-02-17 15:14:36.471 traveltemps[14065:c07] traveltemps_appDelegate: lastModified (value on server): Thu, 14 Feb 2013 04:51:28 -0800 2013-02-17 15:14:36.471 traveltemps[14065:c07] BT_fileManager: File does exist in cached directory: appModified.txt 2013-02-17 15:14:36.471 traveltemps[14065:c07] BT_fileManager: readTextFileFromCacheWithEncoding: appModified.txt encoding: -1 2013-02-17 15:14:36.471 traveltemps[14065:c07] traveltemps_appDelegate: previousModified (value on device): Thu, 14 Feb 2013 04:51:28 -0800 2013-02-17 15:14:36.471 traveltemps[14065:c07] BT_fileManager: saveTextFileToCacheWithEncoding: appModified.txt encodingFlag: -1 2013-02-17 15:14:36.969 traveltemps[14065:4703] BT_fileManager: File does exist in Xcode bundle: glass.mp3 2013-02-17 15:14:36.970 traveltemps[14065:4703] <0xb02e3000> AudioQueue: request to trim 0 + 2793 = 2793 frames from buffer containing 2304 frames 2013-02-17 15:14:36.975 traveltemps[14065:4703] BT_fileManager: File does exist in Xcode bundle: pop.mp3 2013-02-17 15:14:36.981 traveltemps[14065:4703] BT_fileManager: File does exist in Xcode bundle: purr.mp3
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/17/13 01:34 PM (12 years ago)
So... it works on a real device, but not on a simulator...? Here is where your problem is occurring: 2013-02-17 15:14:35.928 traveltemps[14065:c07] BT_viewControllerManager: initViewControllerForScreen: ERROR, could not initialize view controller for screen with itemId: 8C8DF5B3A0D4BECB8983929 2013-02-17 15:14:35.929 traveltemps[14065:c07] BT_viewControllerManager: getErrorViewController So check out screen with itemId 8C8DF5B3A0D4BECB8983929 and see what's what. Cheers! -- Smug
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
02/17/13 01:38 PM (12 years ago)
Smug, I always worry when something can't be explained, if even the app runs since who knows what it will mean later. The itemid is the home screen. Any ideas as to how to find out what's wrong with it that would make the simulator black out? Steve
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
02/17/13 01:42 PM (12 years ago)
Well, went ahead and copied the config.txt file from BT itself and replaced the one in Xcode with it and the simulator runs. Some somehow the text file on my computer must have gotten corrupted somehow. Still would like to know how, but at least it works. Steve
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/17/13 02:02 PM (12 years ago)
Things within the simulator are not as stable as within the actual device. Remember, there is no iOS hardware within your computer; it's all simulated. As such, not everything is as dependable as with a real device. Still, I know what you mean; no one wants errors, on anything. I wouldn't worry about it 'too' much, it's just one of those simulator things. Cheers! -- Smug
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
02/17/13 05:07 PM (12 years ago)
This is what I think is going on. You know those errors that David is trying to fix in Xcode 4.6; that is the SDK for iOS 6.1. If someone is using iOS 6.1 on their device, it may experience the errors that the SDK is seeing.
 

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.