Skip to content
Open
Show file tree
Hide file tree
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
Binary file removed .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ jobs:
fi
echo "Found App Extension at: $APPEX_PATH"
# Use the specific entitlements for the extension
ldid -S"${GITHUB_WORKSPACE}/TunnelProv/TunnelProv.entitlements" "$APPEX_PATH/$(basename "$APPEX_PATH" .appex)"
ldid -S"${GITHUB_WORKSPACE}/Entitlements/TunnelProv.xml" "$APPEX_PATH/$(basename "$APPEX_PATH" .appex)"
echo "Signed App Extension."

- name: Sign Main App Bundle
run: |
APP_BINARY_PATH="Payload/StosVPN.app/StosVPN"
# Use the specific entitlements for the main app
ldid -S"${GITHUB_WORKSPACE}/StosVPN/StosVPN.entitlements" "$APP_BINARY_PATH"
ldid -S"${GITHUB_WORKSPACE}/Entitlements/StosVPN.xml" "$APP_BINARY_PATH"
echo "Signed Main App Bundle."

- name: Create IPA
Expand Down
18 changes: 18 additions & 0 deletions Entitlements/StosVPN.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>application-identifier</key>
<string>95J8WZ4TN8.com.stossy11.StosVPN</string>
<key>com.apple.developer.networking.vpn.api</key>
<array>
<string>allow-vpn</string>
</array>
<key>com.apple.developer.team-identifier</key>
<string>95J8WZ4TN8</string>
<key>com.apple.developer.networking.networkextension</key>
<array>
<string>packet-tunnel-provider</string>
</array>
</dict>
</plist>
14 changes: 14 additions & 0 deletions Entitlements/TunnelProv.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>application-identifier</key>
<string>95J8WZ4TN8.com.stossy11.StosVPN.TunnelProv</string>
<key>com.apple.developer.team-identifier</key>
<string>95J8WZ4TN8</string>
<key>com.apple.developer.networking.networkextension</key>
<array>
<string>packet-tunnel-provider</string>
</array>
</dict>
</plist>