3
if (!streamer) {
    NSURL *url =[NSURL URLWithString:@"http://y1.eoews.com/assets/ringtones/2012/5/18/34049/oiuxsvnbtxks7a0tg6xpdo66exdhi8h0bplp7twp.mp3"];
    AudioStreamer *tempStreamer = [[AudioStreamer alloc] initWithURL:url];
    self.streamer = tempStreamer;
    [tempStreamer release];
}
 [streamer start];

When it begin to play, it crash in simulator and xcode shows the erro is :libc++abi.dylib`__cxa_throw, but it runs well in device.in another demo, it runs well both in simulator and device.

I can not find the reason.

User97693321
  • 3,336
  • 7
  • 45
  • 69
Sing
  • 35
  • 6

1 Answers1

3

If you have enabled beakpoint for All exceptions, please disable it from Breakpoint Navigator. This should solve your problem.

Aniruddh
  • 7,648
  • 1
  • 26
  • 43