Cannot update application when Network Extension (PacketTunnelProvider) is on

Hi guys,


I'm having a problem when trying to update my app. We are implementing the NEPacketTunnelProvider to provide VPN functionality.

The steps to reproduce this problem are:

1. Start the app

2. Start the NEPacketTunnelProvider extension ([with targetManager.connection startVPNTunnelAndReturnError])

3. Confirm VPN sign is showing

4. Install an update for the app through ad-hoc

5. App downloads, but does not install.


Device log below:

Sep 28 17:54:08 iphone SpringBoard(FrontBoard)[57] <Notice>: Error acquiring hold on plugins for com.example: Error Domain=PlugInKit Code=14 "plug-ins are busy" UserInfo={busyPlugInUUIDs=(
        {
        XPCExtensionBundleIdentifier = "com.example.extension";
    }
), NSLocalizedDescription=plug-ins are busy}
Sep 28 17:54:08 iphone SpringBoard(FrontBoard)[57] <Notice>: Failed to acquired plugin hold for com.example
Sep 28 17:54:08 iphone appstored[176] <Error>: [<private>]: Failed to acquire termination assertion for 4557868725721540940 / <private> error: <private>
Sep 28 17:54:08 iphone appstored[176] <Info>: [<private>]: Scheduling another termination attempt for 4557868725721540940 / <private>


I can't seem to get any listener to be called, for example stopTunnelWithReason(). Any ideas why the plugin would be busy?


Thanks

Replies

Check out this thread.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"