#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2011
    Location
    Mars would be nice
    Posts
    1
    Rep Power
    0

    Help with my first iPhone Apps keeps crashing


    hi all

    I write my first iphone App but for some reason it keeps crashing

    I had these errors

    iPhone Error

    NSDictionary' may not respond to '+dictionaryWithObject:forkey:'




    warning: 'UIApplication' may not respond to '+shareApplication'


    warning: 'UIKeyboardBoundsUserInfoKey' is deprecated (declared at /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:118)


    I manage to fix all above warning , but for some reason my apps starts and in the SDK and it then exits it self does anyone have any ideas of what could be going on.
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2011
    Posts
    5
    Rep Power
    0
    well, there is no way that we can tell you exactly whats causing it if you fixed those warnings already. Read up on multiple debugging techniques (just google debug xcode), including the simple things like using NSLog-s to track variables and how far its getting initialization wise before crashing. (I have found multitudes of little things using just nslog before)

    Jason

IMN logo majestic logo threadwatch logo seochat tools logo