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

Update README.md #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,16 @@ A small test app that tries to load a USBDriverKit system extension
https://developer.apple.com/videos/play/wwdc2019/702/

You will want to edit the Info.plist of the DriverKit extension to match the Vendor ID and Product ID of a test device you have. Then after you activate the extension, attach the USB device and your DriverKit application should start on demand.


## Important Xcode settings

- Xcode: PROJECT: USBApp > Build Settings > Signing > Code Signing Identity > **Sign to Run Locally**
- Xcode: TARGETS: USBApp > Build Settings > Signing > Code Signing Identity > **Sign to Run Locally**
- Xcode: TARGETS: USBApp > Build Phases > Embed System Extensions > **[ x ] Copy only when installing**

Now you can run it from within Xcode.

## Troubleshooting
- Problem: Hit button Activate: Does not work, will fails with "didFailWithError <private>" see Xcode console.
- Solution: (not found so far)