Skip to content

Commit

Permalink
APPLE: update core to v1.2.0 (#2041) (#2042)
Browse files Browse the repository at this point in the history
  • Loading branch information
rokas-ambrazevicius authored Jan 30, 2025
1 parent bcfb9fa commit 6d78351
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion nym-vpn-apple/Daemon/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundleShortVersionString</key>
<string>1.2.0</string>
<key>CFBundleVersion</key>
<string>37</string>
<string>38</string>
<key>SMAuthorizedClients</key>
<array>
<string>anchor apple generic and identifier "net.nymtech.vpn" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = VW5DZLFHM5)</string>
Expand Down
Binary file modified nym-vpn-apple/Daemon/net.nymtech.vpn.helper
100644 → 100755
Binary file not shown.
4 changes: 2 additions & 2 deletions nym-vpn-apple/MixnetLibrary/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ let package = Package(
),
.binaryTarget(
name: "NymVpnLib",
url: "https://github.com/nymtech/nym-vpn-client/releases/download/nym-vpn-core-v1.2.0-beta.5/nym-vpn-core-v1.2.0-beta.5_ios_universal.zip",
checksum: "69a7e3e131afd78357c2d6dc8a1a4d2e386b92d6643c82ec3a4b667d8cf8faff"
url: "https://github.com/nymtech/nym-vpn-client/releases/download/nym-vpn-core-v1.2.0/nym-vpn-core-v1.2.0_ios_universal.zip",
checksum: "3a17767d98c99068dec9e015cfead11aa774361294e91e97f41a2b0e29b9496c"
),
// .binaryTarget(
// name: "NymVpnLib",
Expand Down
12 changes: 6 additions & 6 deletions nym-vpn-apple/NymVPN.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@
CODE_SIGN_ENTITLEMENTS = NymMixnetTunnel/NymMixnetTunnel.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 340;
CURRENT_PROJECT_VERSION = 341;
DEVELOPMENT_TEAM = VW5DZLFHM5;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GENERATE_INFOPLIST_FILE = NO;
Expand Down Expand Up @@ -849,7 +849,7 @@
CODE_SIGN_ENTITLEMENTS = NymMixnetTunnel/NymMixnetTunnel.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 340;
CURRENT_PROJECT_VERSION = 341;
DEVELOPMENT_TEAM = VW5DZLFHM5;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GENERATE_INFOPLIST_FILE = NO;
Expand Down Expand Up @@ -1008,7 +1008,7 @@
CODE_SIGN_ENTITLEMENTS = NymVPN/NymVPN.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 340;
CURRENT_PROJECT_VERSION = 341;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = VW5DZLFHM5;
ENABLE_PREVIEWS = YES;
Expand Down Expand Up @@ -1048,7 +1048,7 @@
CODE_SIGN_ENTITLEMENTS = NymVPN/NymVPN.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 340;
CURRENT_PROJECT_VERSION = 341;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = VW5DZLFHM5;
ENABLE_PREVIEWS = YES;
Expand Down Expand Up @@ -1087,7 +1087,7 @@
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 52;
CURRENT_PROJECT_VERSION = 53;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"NymVPNDaemon/Preview Content\"";
DEVELOPMENT_TEAM = VW5DZLFHM5;
Expand Down Expand Up @@ -1124,7 +1124,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 52;
CURRENT_PROJECT_VERSION = 53;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"NymVPNDaemon/Preview Content\"";
DEVELOPMENT_TEAM = "";
Expand Down
3 changes: 2 additions & 1 deletion nym-vpn-apple/Scripts/UpdateCore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ fi
# Copy nym-vpnd to ../Daemon folder and rename it to net.nymtech.vpn.helper
if [[ -f "${extracted_folder_name}/nym-vpnd" ]]; then
cp "${extracted_folder_name}/nym-vpnd" "../Daemon/net.nymtech.vpn.helper"
chmod +x "../Daemon/net.nymtech.vpn.helper"
echo "nym-vpnd copied and renamed to net.nymtech.vpn.helper successfully."
else
echo "❌ Error: ${extracted_folder_name}/nym-vpnd not found."
Expand Down Expand Up @@ -197,4 +198,4 @@ sh UpdateDaemonInfoPlist.sh ${VERSION}
rm -f "nym-vpn-core-v${VERSION}.zip"
rm -rf "nym-vpn-client-nym-vpn-core-v${VERSION}"
echo "✅ Cleaned up downloaded and extracted files."
echo "✅ Updated successfully"
echo "✅ Updated successfully"
1 change: 1 addition & 0 deletions nym-vpn-apple/Scripts/UpdateCoreBranch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ DESTINATION_PATH="nym-vpn-apple/Daemon/net.nymtech.vpn.helper"

if [ -e "$SOURCE_PATH" ]; then
cp "$SOURCE_PATH" "$DESTINATION_PATH"
chmod +x "$DESTINATION_PATH"
echo "✅ nym-vpnd has been successfully copied to $DESTINATION_PATH"
else
echo "❌ Error: $SOURCE_PATH does not exist. Copy operation failed." >&2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

public enum AppVersionProvider {
public static let libVersion = "1.2.0-beta.5"
public static let libVersion = "1.2.0"

public static var app: String {
"nym-vpn-app"
Expand Down

0 comments on commit 6d78351

Please sign in to comment.