Both are in viewDidLoad(). What\'s wrong with this objective-c source file? The swift version works like a charm... Xcode ver. 8.2 iOS 10
Swift (OK):
NSString *path = [[NSBundle mainBundle] pathForResource:@"charlie" ofType:@"mp4"];
Try
Using [NSURL fileURLWithPath:path] instead of [NSURL URLWithString:path]
[NSURL fileURLWithPath]
Or
[[NSBundle mainBundle] URLForResource:@"charlie" withExtension:@"mp4"]