Skip to content

Commit

Permalink
get framework path via xcrun to support environments with only comman…
Browse files Browse the repository at this point in the history
…d line tools installed
  • Loading branch information
jonas-k committed Mar 10, 2022
1 parent e21dcb2 commit dd8df3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Low level Rust bindings for CoreMIDI
`generated.rs` is generated with [bindgen](https://github.com/rust-lang/rust-bindgen) 0.59.2 using the following commands:

```
export FRAMEWORKS_DIR=/Applications/Xcode.app//Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks
export FRAMEWORKS_DIR=$(xcrun --sdk macosx --show-sdk-path)/System/Library/Frameworks
bindgen ${FRAMEWORKS_DIR}/CoreMIDI.framework/Headers/MIDIServices.h \
--whitelist-type "MIDI.*" --whitelist-function "MIDI.*" --whitelist-var "kMIDI.*" \
Expand Down

0 comments on commit dd8df3b

Please sign in to comment.