Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't compile on 0.9.3 OSX . MobileCoreServices.h not found #5

Open
moebiussurfing opened this issue Apr 17, 2016 · 8 comments
Open

Comments

@moebiussurfing
Copy link

moebiussurfing commented Apr 17, 2016

on compiling the example.xcodeproj
it says MobileCoreServices.h not found on the line:

include <MobileCoreServices/MobileCoreServices.h on audiodecodercoreaudio.h file.

screen shot 2016-04-17 at 07 40 27

I tried to repair the project updating the project with PG but do not adds the include lib well...

@jeonghopark
Copy link

jeonghopark commented Apr 17, 2016

Hi. use
#ifdef TARGET_OF_IOS

instead of
#ifdef TARGET_OF_IPHONE

leozimmerman added a commit to leozimmerman/ofxAudioDecoder that referenced this issue Sep 29, 2016
@PierreAlexandreADAMSKI
Copy link

correction if I may.
it's actually if use
#ifdef TARGET_OS_IOS

instead of
#ifdef TARGET_OS_IPHONE

@heaversm
Copy link

heaversm commented Oct 3, 2017

Still can't include MobileCoreServices. Tried adding under linked frameworks and libraries, but MobileCoreServices was not an option (CoreServices was).

@bmcgee
Copy link

bmcgee commented Oct 2, 2018

Still having the same issue on latest build.

@wanbinkimoon
Copy link

still having same issue on mojave OSX 14

@bradleyess
Copy link

Late to the party - unable to compile this on Catalina :(

@wanbinkimoon
Copy link

@bradleyess have you tried @PierreAlexandreADAMSKI it worked for me

correction if I may.
it's actually if use
#ifdef TARGET_OS_IOS

instead of
#ifdef TARGET_OS_IPHONE

@IDGitHubMan
Copy link

I would also note that this is still an issue, even after using #ifdef TARGET_OS_IOS.
Screenshot 2023-01-20 at 11 48 35 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants