Getting SIGABRT signal when I try to play a video (Objective-C)
问题 When I try to load a video, I'm getting a SIGABRT thrown. Below is my code. If anybody could let me know why I'm getting this error, that would be great. The signal is being thrown for the line: theMovie = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:url]]; Two questions: what is wrong with my code? and what does SIGABRT usually mean? #import "Video.h" #import "MyManager.h" #import @implementation Video MPMoviePlayerController* theMovie; - (id)initWithNibName: