About XMLPerfomance Sample Code.

Discussion in 'iOS Programming' started by cthesky, Oct 28, 2011.

  1. cthesky macrumors member

    Aug 21, 2011

    Anyone had try refer and run XMLPerfomance sample code downloaded from this link Loading… ?

    I had refer and run this sample code when I am using Xcode 4.0.2 with IOS 4. Everything is fine, nothing problem happens.

    But when now I refer and run this sample code again using Xcode 4.2 with IOS 5. I cannot run this sample code successfully... the running code process paused in half way ... ...

    I am not sure whether the problem is comes from me... Is it need change any build setting of Xcode when want run this code? Anyone have any ideas? Or anyone can run this code using Xcode 4.2 with IOS 5?

    Any ideas and suggestions are appreciated. :) Thanks a lot. :)
  2. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    Well, when I loaded the XMLPerformance project with Xcode 4.2, first thing I noticed is "missing base SDK". I fixed this by doing a Validate Settings. This eliminated the two initial warnings. Then I did a simple Build (XMLPerformance schema / iOS 5.0 Simulator). Great; Build Succeeded. Alright, let's run it! With NSXMLParser selected, I tapped Start. It gets some of the songs but then BOOM! An error occurs. My debugger shows me an EXC_BAD_ACCESS and stops at this line in CocoaXMLParser's downloadAndParse: method:
    [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]];
    Is that what you are seeing?
  3. cthesky thread starter macrumors member

    Aug 21, 2011
    Hi Dejo,

    Thanks a lot for your reply. :) Yes, that is what I saw in my debugger ... Do you have any ideas and opinions regarding this Error?

    Thanks. :)
  4. situee macrumors newbie

    Nov 3, 2011

Share This Page