I'm trying to compile an app which works fine in xCode4 beta, but I have these errors Version:
Error:
Expected Identifier or '(' Before 'if from "From This Line in MPMoviePlayerController.h: @ property (nonatomic, readonly) MPMovieErrorLog * Errorlog NS_AVAILABLE_IPHONE (4_3); and:
the same error on this line AVPlayerItem.h:
- (AVPlayerItemErrorLog *) Errorlog NS_AVAILABLE (10_7, 4_3);
MediaPlayer I use Apple sample projects and that the app delegate adjust header:
# import & LT; UIKit / UIKit.h & gt; #import "MyMovieViewController.h" @interface MoviePlayerAppDelegate: NSObject & LT; UIApplicationDelegate, UITabBarControllerDelegate & gt; {UIWindow * window; MPMoviePlayerController * movieplayer; UITabBarController * TabBarController; MPMovieErrorLog * eRrorLog; } @ Property (Nonomatic, Retaining) IBOutlet UIWindow * Window; @protecti (nonomatic, reserved) IBOutlet UITabBarController * Tabbar Controller; @protecti (text, retention) MPVplayer controller * Movie Player; @ Property (Nonatomik, Reedonli) Mpimviarolog * error log NS_AVAILABLE_IPHONE (4_3); - (zero) initAndPlayMovie: (ns url *) movieURL; - (zero) setMoviePlayerUserSettings; @ And and which compiles any problem w / o
So I'm wondering if you've ensured that the base SDK is 4.3 and the goal of the deployment is 4.3, because that class was only added to 4.3.
If your problem persists, you may want to add the entire header category.
Comments
Post a Comment