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

chore(cordova/apple): add instructions on how to run lsregister garbage collector #1823

Merged
merged 1 commit into from
Jan 24, 2024
Merged
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
8 changes: 7 additions & 1 deletion src/cordova/apple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,13 @@ If your extenstion is still not loading, you can try to force register it:
1. The VpnExtension will be at `Build/Products/Debug/Outline.app/Contents/PlugIns/VpnExtension.appex`
1. Run `run pluginkit -a <your appex file>`, e.g. `pluginkit -a /Users/$USER/Library/Developer/Xcode/DerivedData/macos-bnidlwvulcdazjfxleynwzkychqi/Build/Products/Debug/Outline.app/Contents/PlugIns/VpnExtension.appex`

You may need to run the `lsregister` garbage collector to make sure old entries
in the Launch Services database are cleared:

```
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -gc
```

#### Delete the existing VPN configuration

You may want to also delete the VPN configurations:
Expand All @@ -184,7 +191,6 @@ You may want to also delete the VPN configurations:
1. Press the Info button for the Outline service
1. Press *Remove Configuration…* and confirm


#### Restart

If all fails, restart your device. That usually takes care of the issue.
Expand Down
Loading