Skip to content

Commit

Permalink
chore(cordova/apple): update README to add how to run lsregister ga…
Browse files Browse the repository at this point in the history
…rbage collection
  • Loading branch information
sbruens committed Jan 24, 2024
1 parent 973aa55 commit bc6b0dd
Showing 1 changed file with 7 additions and 1 deletion.
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

0 comments on commit bc6b0dd

Please sign in to comment.