BigZaphod/Chameleon

Trouble using MediaPlayer framework

gemmay opened this issue · 3 comments

Will there be an example for MediaPlayer? I am having trouble compiling any project with MediaPlayer framework. I can compile the UIKit and MediaPlayer framework fine, but as soon as I use include something like

import <MediaPlayer/MPMoviePlayerController.h>

in one of the header file, the compile will flag

MPMoviePlayerController.h
MPMediaPlayback.h: No such file or directory
Cannot find protocol declaration for 'MPMediaPlayback'

Tried on MultiApple and BigApple samples and same issue.

It looks like the MPMediaPlayback.h file wasn't marked as public, so it wasn't included in the framework bundle. I just committed a change that should fix that, so maybe that'll help.

On Aug 10, 2011, at 9:52 PM, gemmay wrote:

Will there be an example for MediaPlayer? I am having trouble compiling any project with MediaPlayer framework. I can compile the UIKit and MediaPlayer framework fine, but as soon as I use include something like

#import <MediaPlayer/MPMoviePlayerController.h>

in one of the header file, the compile will flag

MPMoviePlayerController.h
MPMediaPlayback.h: No such file or directory
Cannot find protocol declaration for 'MPMediaPlayback'

Tried on MultiApple and BigApple samples and same issue.

Reply to this email directly or view it on GitHub:
#58

Thanks for the speedy fix, works now.

Also like to thanks everyone working on the Chameleon project. Without Chameleon, porting iOS App to Mac OSX would be be next to impossible!

@gemmay it sounds like this was resolved. Can you close this issue?