WebStudentArt
Aspiring developer
Profile
Posts: 2
Reg: Jan 03, 2014
Patras
20
02/17/15 02:35 AM (9 years ago)

Build Error [Xcode]

I am trying to run my first app on xcode but i have some errors at the build progress. My first app has just an app icon and nothing else..i am running the latest version of xcode in a macbook pro with yosemite..
 
WebStudentArt
Aspiring developer
Profile
Posts: 2
Reg: Jan 03, 2014
Patras
20
like
02/17/15 02:36 AM (9 years ago)
//iOS8 handles register for push differently... if ([[UIApplication sharedApplication] respondsToSelector:@selector(registerUserNotificationSettings:)]) { //use registerUserNotificationSettings [[UIApplication sharedApplication] registerUserNotificationSettings:[UIUserNotificationSettings settingsForTypes:(UIUserNotificationTypeSound | UIUserNotificationTypeAlert | UIUserNotificationTypeBadge) categories:nil]]; [[UIApplication sharedApplication] registerForRemoteNotifications]; Errors are here
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/17/15 04:28 PM (9 years ago)
You probably need to add at least one screen...though I think it comes with a default home screen. Try making a menu list as your home screen. Did you make sure that all the folders that come with your project package were dragged into the Xcode project? Let us know if there is anything else we can help you with, or if you can't get it running. 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.