Jigsaw-Code / outline-apps

Outline Client and Manager, developed by Jigsaw. Outline Manager makes it easy to create your own VPN server. Outline Client lets you share access to your VPN with anyone in your network, giving them access to the free and open internet.
https://getoutline.org/
Apache License 2.0
8.22k stars 1.35k forks source link

IOS(iphone) Connection failure #850

Open wooinwon opened 3 years ago

wooinwon commented 3 years ago

I worked as below.

  1. git clone https://github.com/Jigsaw-Code/outline-client.git

  2. yarn run clean && yarn && yarn gulp build --platform=ios

  3. open xcode > outline-client\platforms\ios\Outline.xcodeproj xcode version 11.3

  4. Create Identifiers & group 1) xxx.client Enabled Capabilities App Groups, Game Center, In-App Purchase, Network Extensions 2) xxx.client.vpnextension Enabled Capabilities App Groups, Game Center, In-App Purchase, Network Extensions 3) group.xxx.client

  5. xcode > outline 1) General 9 8

2) Signing & Capabillities 1 2 3

  1. Build & Run 1) Add Access key 2) Create VPN allow 3) Connect Fail 4) end outline app 5) restart outline app 6) click connect 7) blocking UI 스크린샷 2020-09-08 오후 8 26 55 4 5 8) click cancel 6

iPhone version 7

Connect success with Appstore installed app.

In my app, there is no server connection attempt.

What is the problem?

sergey-zhuravel commented 3 years ago

I have the same problem, when will there be a solution?

Xedart commented 3 years ago

Same problem

evdodima commented 1 year ago

I found the solution: In the OutlineVpn.swift file there is a hardcoded part of bundle id for extension:

Screenshot 2022-08-08 at 19 51 06

This means that your extension bundle id should be {APP_BUNDLE_ID}.VpnExtension For example: com.app.vpn com.app.vpn.VpnExtension