Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cthesky

macrumors member
Original poster
Aug 21, 2011
91
0
Hi,

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. :)
 
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:
Code:
[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]];
Is that what you are seeing?
 
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:
Code:
[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]];
Is that what you are seeing?

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. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.