How add a native framework?

When I try to run my project on the device, I get the following error:

ld: framework not found AudioUnit
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I tried to add the framework using the project.pbxproj file. But the UI does not add the “AudioUnit.framework”. After I click the “OK” button nothing happens.

So how can I add the framework??

Any help??

Thanks!!

Okay the GUI does not refresh automatically. One has to reopen the file to see changes.

How did you edit the pbxproj file?

I used the preview (aka Xcode Editor) in Android Studio.