BigZaphod / Chameleon

Chameleon is a port of Apple's UIKit for iOS (and some minimal related frameworks) to Mac OS X.
http://chameleonproject.org/
BSD 3-Clause "New" or "Revised" License
3.44k stars 569 forks source link

Trouble using MediaPlayer framework #58

Open gemmay opened 12 years ago

gemmay commented 12 years ago

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.

BigZaphod commented 12 years ago

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: https://github.com/BigZaphod/Chameleon/issues/58

gemmay commented 12 years ago

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!

jehiah commented 12 years ago

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