Discussion Forums  >  Uncategorized

Replies: 5    Views: 350

MacBlend
Apple Fan
Profile
Posts: 13
Reg: Oct 30, 2010
location unknow...
130
04/03/11 11:29 PM (14 years ago)

No screens to display strangeness

Hi guys, I'll try to keep this short but clear. I've built my 1.5 App to completion and am ready to publish to the App store (almost). I know how to get all the developer and iTunes connect stuff done. However, I'm running into something strange in Xcode on the Simulator and my iPhone & iPad. When I try to run my App, I get a black screen and a message that says No Screens to Display. When I go back to buzztouch.com and change something like the bundle name, my device and the sim then tell me there's an update available and to refresh. Then... My App works fine... for a while. If I set the bundle name back to what matches in Xcode, it's back to No Screens to Display. If I don't, it still crashes. I'm also getting several other errors that technically still get through to a successful build but I'm worried Apple will reject the App based on them. I'm happy to provide more information if anyone has any ideas. I'm hoping to get this published soon. Thanks! Matt
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/04/11 12:04 AM (14 years ago)
Hi Matt... FIrst, lets make sure you have the latest release. Be sure you've downloaded the source-code in the last few days and you're not working with source you downloaded 'awhile ago' Next, there shouldn't be ANY xcode errors when you build. This shouldn't be happening, we'll need to get these to go away. There shouldn't be any when you build after downloading. As far as the blank / black screen goes, look at the console when you run the app in the sim. What's it say? There's all kinds of good info output to the console so you can debug. We went through great pains to print lots and lots of info about whats happening when the app is running. Lastly, post the name of the app (exactly as it appears in your control panel) so we can get a look while we work through this. Gonna be easy tweaks, always are.
 
MacBlend
Apple Fan
Profile
Posts: 13
Reg: Oct 30, 2010
location unknow...
130
like
04/04/11 12:29 AM (14 years ago)
Hi David, Thanks for getting back to me so quickly. As for the source-code. It was downloaded quite recently. About 5 minutes before running Xcode. The best thing I could think to do was to actually show you what's happening. Here's a video of the situation. http://www.youtube.com/watch?v=LcRVgQgKOnQ As for my project name it's a101keyboardshortcutsformac without the quotes. Thanks again David. You are awesome.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/04/11 09:11 AM (14 years ago)
Cool videos.. we may only have one 'thing' to work out. I downloaded your project, changed nothing, opened it in Xcode (xCode 4 like you) the build-n-run. All good. The yellow indicators are warnings in Xcode and like you mentioned, must be related to the relase of the SDK you're running. They are 'depreciated method' warnings and could be (probably are) related to the troubles you're showing in the video. Try this: Double click the project name in Xcode to open the Build Settings. Be sure the Base SDK is set to iOS 4.3. Mine reads Latest iOS (iOS 4.3) and see if anythign changes. The depreciation warnings should not be there. Again, they don't show up here and I think you're right when you say we have trouble with the Xcode / SDK setup. An another note: The reason your getting the 'screens not found' message is because the project is not able to 'read' the BT_config configuration file inside the Xcode project. Then...when you make a change in the control panel, it is seeing the modified date of the app has changed when it checks for updates (everytime you launch). At this point, it's downloaded a new copy of BT_config. You will not see this new copy in the Xcode project after it downloads, downloaded data is saved in the phones data directory, not Xcode. I realize this is confusing. Lastly: You could change 'anything' in your control panel and the app will notice. It just so happens that you're changing the Xcode project name. If you change anything, on any screen, you'll get the Content Has Changed message in the app. Lets start by getting the iOS SDK set to 4.3 and see if the warnings dissappear. I think they will.
 
MacBlend
Apple Fan
Profile
Posts: 13
Reg: Oct 30, 2010
location unknow...
130
like
04/04/11 10:16 AM (14 years ago)
Hi David, The base sdk is set to (latest iOS 4.3). The only thing not at 4.3 is the deployment target. I'm hoping my app will be capable of running on 4.0 software and up in the App store. However, I did re-download my source code once again and just ran it. Now everything's fine. As far as I can tell, there's no difference to the project from last night but this one works. Weird. Thank you tho. I'll let you know what happens. I truly appreciate your help David.
 
paulwyre
Apple Fan
Profile
Posts: 139
Reg: Dec 21, 2010
USA
1,390
like
04/04/11 07:32 PM (14 years ago)
I had this same issue. All I did was go to your splash screen in the control panel of buzztouch and click save. The it will ask you to refresh on you device and download the latest data. Hope this helps
 

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.