I am trying to port an application written for Mac to iPhone device. However, I get compilation error for
import CoreAudio/CoreAudio.h // No such file
Could you please let me know how can fix it?
Thanks.
I am trying to port an application written for Mac to iPhone device. However, I get compilation error for
Could you please let me know how can fix it?
Thanks.
The error is pretty specific, there is no such file as CoreAudio.h for iPhone apps, and that's why the compiler can't find it. You can't make Xcode find it because it's not there.
Therefore, commenting out the line removes the problem.
Assuming you're actually using CoreAudio, the reason the app compiles is because you did include the right headers.