Add Swift module for libburrow
This commit also renames the app target to App.
This commit is contained in:
parent
5e265632a3
commit
eeb0130156
12 changed files with 57 additions and 36 deletions
1
.github/actions/build-for-testing/action.yml
vendored
1
.github/actions/build-for-testing/action.yml
vendored
|
|
@ -30,6 +30,7 @@ runs:
|
||||||
-authenticationKeyIssuerID ${{ inputs.app-store-key-issuer-id }} \
|
-authenticationKeyIssuerID ${{ inputs.app-store-key-issuer-id }} \
|
||||||
-authenticationKeyPath "${PWD}/AuthKey_${{ inputs.app-store-key-id }}.p8" \
|
-authenticationKeyPath "${PWD}/AuthKey_${{ inputs.app-store-key-id }}.p8" \
|
||||||
-onlyUsePackageVersionsFromResolvedFile \
|
-onlyUsePackageVersionsFromResolvedFile \
|
||||||
|
-skipPackagePluginValidation \
|
||||||
-scheme '${{ inputs.scheme }}' \
|
-scheme '${{ inputs.scheme }}' \
|
||||||
-destination '${{ inputs.destination }}' \
|
-destination '${{ inputs.destination }}' \
|
||||||
-resultBundlePath BuildResults.xcresult
|
-resultBundlePath BuildResults.xcresult
|
||||||
|
|
|
||||||
6
.github/workflows/build-apple.yml
vendored
6
.github/workflows/build-apple.yml
vendored
|
|
@ -14,20 +14,20 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- scheme: Burrow
|
- scheme: App
|
||||||
destination: generic/platform=iOS
|
destination: generic/platform=iOS
|
||||||
platform: iOS
|
platform: iOS
|
||||||
sdk-name: iphoneos
|
sdk-name: iphoneos
|
||||||
rust-targets:
|
rust-targets:
|
||||||
- aarch64-apple-ios
|
- aarch64-apple-ios
|
||||||
- scheme: Burrow
|
- scheme: App
|
||||||
destination: platform=iOS Simulator,OS=16.2,name=iPhone 14 Pro
|
destination: platform=iOS Simulator,OS=16.2,name=iPhone 14 Pro
|
||||||
platform: iOS Simulator
|
platform: iOS Simulator
|
||||||
sdk-name: iphonesimulator
|
sdk-name: iphonesimulator
|
||||||
rust-targets:
|
rust-targets:
|
||||||
- aarch64-apple-ios-sim
|
- aarch64-apple-ios-sim
|
||||||
- x86_64-apple-ios
|
- x86_64-apple-ios
|
||||||
- scheme: Burrow
|
- scheme: App
|
||||||
destination: platform=macOS
|
destination: platform=macOS
|
||||||
platform: macOS
|
platform: macOS
|
||||||
sdk-name: macos
|
sdk-name: macos
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
PRODUCT_NAME = Burrow
|
PRODUCT_NAME = Burrow
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = $(APP_BUNDLE_IDENTIFIER)
|
PRODUCT_BUNDLE_IDENTIFIER = $(APP_BUNDLE_IDENTIFIER)
|
||||||
|
PRODUCT_MODULE_NAME = BurrowApp
|
||||||
|
|
||||||
INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphone*] = YES
|
INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphone*] = YES
|
||||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphone*] = YES
|
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphone*] = YES
|
||||||
|
|
@ -11,7 +12,7 @@ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad[sdk=iphone*] = UIInterfaceOr
|
||||||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone[sdk=iphone*] = UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight
|
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone[sdk=iphone*] = UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight
|
||||||
TARGETED_DEVICE_FAMILY[sdk=iphone*] = 1,2
|
TARGETED_DEVICE_FAMILY[sdk=iphone*] = 1,2
|
||||||
|
|
||||||
INFOPLIST_KEY_LSApplicationCategoryType[sdk=macos*] = public.app-category.utilities
|
INFOPLIST_KEY_LSApplicationCategoryType[sdk=macosx*] = public.app-category.utilities
|
||||||
|
|
||||||
CODE_SIGN_ENTITLEMENTS = App/App-iOS.entitlements
|
CODE_SIGN_ENTITLEMENTS = App/App-iOS.entitlements
|
||||||
CODE_SIGN_ENTITLEMENTS[sdk=macos*] = App/App-macOS.entitlements
|
CODE_SIGN_ENTITLEMENTS[sdk=macosx*] = App/App-macOS.entitlements
|
||||||
|
|
@ -12,7 +12,8 @@
|
||||||
D05B9F7629E39EEC008CB1F9 /* BurrowApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = D05B9F7529E39EEC008CB1F9 /* BurrowApp.swift */; };
|
D05B9F7629E39EEC008CB1F9 /* BurrowApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = D05B9F7529E39EEC008CB1F9 /* BurrowApp.swift */; };
|
||||||
D05B9F7829E39EEC008CB1F9 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D05B9F7729E39EEC008CB1F9 /* ContentView.swift */; };
|
D05B9F7829E39EEC008CB1F9 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D05B9F7729E39EEC008CB1F9 /* ContentView.swift */; };
|
||||||
D05B9F7A29E39EED008CB1F9 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D05B9F7929E39EED008CB1F9 /* Assets.xcassets */; };
|
D05B9F7A29E39EED008CB1F9 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D05B9F7929E39EED008CB1F9 /* Assets.xcassets */; };
|
||||||
D0B98FC529FDA49E004E7149 /* libburrow.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D0B98FC429FDA476004E7149 /* libburrow.a */; };
|
D0BCC6092A09A03E00AD070D /* libburrow.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D0BCC6032A09535900AD070D /* libburrow.a */; };
|
||||||
|
D0BCC60A2A09A0B800AD070D /* build-rust.sh in Resources */ = {isa = PBXBuildFile; fileRef = D0B98FBF29FD8072004E7149 /* build-rust.sh */; };
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXContainerItemProxy section */
|
/* Begin PBXContainerItemProxy section */
|
||||||
|
|
@ -43,7 +44,7 @@
|
||||||
D020F63D29E4A1FF002790F6 /* Identity.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Identity.xcconfig; sourceTree = "<group>"; };
|
D020F63D29E4A1FF002790F6 /* Identity.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Identity.xcconfig; sourceTree = "<group>"; };
|
||||||
D020F64029E4A1FF002790F6 /* Compiler.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Compiler.xcconfig; sourceTree = "<group>"; };
|
D020F64029E4A1FF002790F6 /* Compiler.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Compiler.xcconfig; sourceTree = "<group>"; };
|
||||||
D020F64229E4A1FF002790F6 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
D020F64229E4A1FF002790F6 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||||
D020F64929E4A34B002790F6 /* Burrow.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Burrow.xcconfig; sourceTree = "<group>"; };
|
D020F64929E4A34B002790F6 /* App.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = App.xcconfig; sourceTree = "<group>"; };
|
||||||
D020F64A29E4A452002790F6 /* App.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = App.xcconfig; sourceTree = "<group>"; };
|
D020F64A29E4A452002790F6 /* App.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = App.xcconfig; sourceTree = "<group>"; };
|
||||||
D020F65329E4A697002790F6 /* BurrowNetworkExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = BurrowNetworkExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; };
|
D020F65329E4A697002790F6 /* BurrowNetworkExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = BurrowNetworkExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
D020F65729E4A697002790F6 /* PacketTunnelProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PacketTunnelProvider.swift; sourceTree = "<group>"; };
|
D020F65729E4A697002790F6 /* PacketTunnelProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PacketTunnelProvider.swift; sourceTree = "<group>"; };
|
||||||
|
|
@ -59,7 +60,10 @@
|
||||||
D05B9F7729E39EEC008CB1F9 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
|
D05B9F7729E39EEC008CB1F9 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
|
||||||
D05B9F7929E39EED008CB1F9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
D05B9F7929E39EED008CB1F9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
||||||
D0B98FBF29FD8072004E7149 /* build-rust.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "build-rust.sh"; sourceTree = "<group>"; };
|
D0B98FBF29FD8072004E7149 /* build-rust.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "build-rust.sh"; sourceTree = "<group>"; };
|
||||||
D0B98FC429FDA476004E7149 /* libburrow.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libburrow.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
D0B98FD829FDDB6F004E7149 /* libburrow.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = libburrow.h; sourceTree = "<group>"; };
|
||||||
|
D0B98FDC29FDDDCF004E7149 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = module.modulemap; sourceTree = "<group>"; };
|
||||||
|
D0BCC5FE2A086E1C00AD070D /* Status.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Status.swift; sourceTree = "<group>"; };
|
||||||
|
D0BCC6032A09535900AD070D /* libburrow.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libburrow.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
/* Begin PBXFrameworksBuildPhase section */
|
||||||
|
|
@ -67,7 +71,7 @@
|
||||||
isa = PBXFrameworksBuildPhase;
|
isa = PBXFrameworksBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
D0B98FC529FDA49E004E7149 /* libburrow.a in Frameworks */,
|
D0BCC6092A09A03E00AD070D /* libburrow.a in Frameworks */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
|
|
@ -88,7 +92,6 @@
|
||||||
D020F64A29E4A452002790F6 /* App.xcconfig */,
|
D020F64A29E4A452002790F6 /* App.xcconfig */,
|
||||||
D020F66329E4A703002790F6 /* Extension.xcconfig */,
|
D020F66329E4A703002790F6 /* Extension.xcconfig */,
|
||||||
D020F64029E4A1FF002790F6 /* Compiler.xcconfig */,
|
D020F64029E4A1FF002790F6 /* Compiler.xcconfig */,
|
||||||
D0B98FBF29FD8072004E7149 /* build-rust.sh */,
|
|
||||||
D020F64229E4A1FF002790F6 /* Info.plist */,
|
D020F64229E4A1FF002790F6 /* Info.plist */,
|
||||||
);
|
);
|
||||||
path = Configuration;
|
path = Configuration;
|
||||||
|
|
@ -102,6 +105,7 @@
|
||||||
D020F66729E4A95D002790F6 /* NetworkExtension-iOS.entitlements */,
|
D020F66729E4A95D002790F6 /* NetworkExtension-iOS.entitlements */,
|
||||||
D020F66629E4A95D002790F6 /* NetworkExtension-macOS.entitlements */,
|
D020F66629E4A95D002790F6 /* NetworkExtension-macOS.entitlements */,
|
||||||
D020F66229E4A6E5002790F6 /* NetworkExtension.xcconfig */,
|
D020F66229E4A6E5002790F6 /* NetworkExtension.xcconfig */,
|
||||||
|
D0B98FD729FDDB57004E7149 /* libburrow */,
|
||||||
);
|
);
|
||||||
path = NetworkExtension;
|
path = NetworkExtension;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
|
@ -113,7 +117,6 @@
|
||||||
D020F65629E4A697002790F6 /* NetworkExtension */,
|
D020F65629E4A697002790F6 /* NetworkExtension */,
|
||||||
D020F63C29E4A1FF002790F6 /* Configuration */,
|
D020F63C29E4A1FF002790F6 /* Configuration */,
|
||||||
D05B9F7329E39EEC008CB1F9 /* Products */,
|
D05B9F7329E39EEC008CB1F9 /* Products */,
|
||||||
D0B98FC129FDA45D004E7149 /* Frameworks */,
|
|
||||||
);
|
);
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
|
|
@ -130,21 +133,27 @@
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
D05B9F7529E39EEC008CB1F9 /* BurrowApp.swift */,
|
D05B9F7529E39EEC008CB1F9 /* BurrowApp.swift */,
|
||||||
D05B9F7729E39EEC008CB1F9 /* ContentView.swift */,
|
D05B9F7729E39EEC008CB1F9 /* TunnelView.swift */,
|
||||||
|
D0B98FC629FDC5B5004E7149 /* Tunnel.swift */,
|
||||||
|
D0BCC5FE2A086E1C00AD070D /* Status.swift */,
|
||||||
|
D0BCC5FC2A086D4700AD070D /* NetworkExtension+Async.swift */,
|
||||||
D05B9F7929E39EED008CB1F9 /* Assets.xcassets */,
|
D05B9F7929E39EED008CB1F9 /* Assets.xcassets */,
|
||||||
D020F66829E4AA74002790F6 /* App-iOS.entitlements */,
|
D020F66829E4AA74002790F6 /* App-iOS.entitlements */,
|
||||||
D020F66929E4AA74002790F6 /* App-macOS.entitlements */,
|
D020F66929E4AA74002790F6 /* App-macOS.entitlements */,
|
||||||
D020F64929E4A34B002790F6 /* Burrow.xcconfig */,
|
D020F64929E4A34B002790F6 /* App.xcconfig */,
|
||||||
);
|
);
|
||||||
path = App;
|
path = App;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
D0B98FC129FDA45D004E7149 /* Frameworks */ = {
|
D0B98FD729FDDB57004E7149 /* libburrow */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
D0B98FC429FDA476004E7149 /* libburrow.a */,
|
D0B98FBF29FD8072004E7149 /* build-rust.sh */,
|
||||||
|
D0B98FDC29FDDDCF004E7149 /* module.modulemap */,
|
||||||
|
D0B98FD829FDDB6F004E7149 /* libburrow.h */,
|
||||||
|
D0BCC6032A09535900AD070D /* libburrow.a */,
|
||||||
);
|
);
|
||||||
name = Frameworks;
|
path = libburrow;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
/* End PBXGroup section */
|
/* End PBXGroup section */
|
||||||
|
|
@ -154,7 +163,7 @@
|
||||||
isa = PBXNativeTarget;
|
isa = PBXNativeTarget;
|
||||||
buildConfigurationList = D020F65E29E4A697002790F6 /* Build configuration list for PBXNativeTarget "NetworkExtension" */;
|
buildConfigurationList = D020F65E29E4A697002790F6 /* Build configuration list for PBXNativeTarget "NetworkExtension" */;
|
||||||
buildPhases = (
|
buildPhases = (
|
||||||
D0B98FC029FD809A004E7149 /* Compile Rust */,
|
D0BCC60B2A09A0C100AD070D /* Compile Rust */,
|
||||||
D020F64F29E4A697002790F6 /* Sources */,
|
D020F64F29E4A697002790F6 /* Sources */,
|
||||||
D020F65029E4A697002790F6 /* Frameworks */,
|
D020F65029E4A697002790F6 /* Frameworks */,
|
||||||
D020F65129E4A697002790F6 /* Resources */,
|
D020F65129E4A697002790F6 /* Resources */,
|
||||||
|
|
@ -168,9 +177,9 @@
|
||||||
productReference = D020F65329E4A697002790F6 /* BurrowNetworkExtension.appex */;
|
productReference = D020F65329E4A697002790F6 /* BurrowNetworkExtension.appex */;
|
||||||
productType = "com.apple.product-type.app-extension";
|
productType = "com.apple.product-type.app-extension";
|
||||||
};
|
};
|
||||||
D05B9F7129E39EEC008CB1F9 /* Burrow */ = {
|
D05B9F7129E39EEC008CB1F9 /* App */ = {
|
||||||
isa = PBXNativeTarget;
|
isa = PBXNativeTarget;
|
||||||
buildConfigurationList = D05B9F8129E39EED008CB1F9 /* Build configuration list for PBXNativeTarget "Burrow" */;
|
buildConfigurationList = D05B9F8129E39EED008CB1F9 /* Build configuration list for PBXNativeTarget "App" */;
|
||||||
buildPhases = (
|
buildPhases = (
|
||||||
D05B9F6E29E39EEC008CB1F9 /* Sources */,
|
D05B9F6E29E39EEC008CB1F9 /* Sources */,
|
||||||
D05B9F6F29E39EEC008CB1F9 /* Frameworks */,
|
D05B9F6F29E39EEC008CB1F9 /* Frameworks */,
|
||||||
|
|
@ -182,7 +191,7 @@
|
||||||
dependencies = (
|
dependencies = (
|
||||||
D020F65C29E4A697002790F6 /* PBXTargetDependency */,
|
D020F65C29E4A697002790F6 /* PBXTargetDependency */,
|
||||||
);
|
);
|
||||||
name = Burrow;
|
name = App;
|
||||||
productName = Burrow;
|
productName = Burrow;
|
||||||
productReference = D05B9F7229E39EEC008CB1F9 /* Burrow.app */;
|
productReference = D05B9F7229E39EEC008CB1F9 /* Burrow.app */;
|
||||||
productType = "com.apple.product-type.application";
|
productType = "com.apple.product-type.application";
|
||||||
|
|
@ -218,7 +227,7 @@
|
||||||
projectDirPath = "";
|
projectDirPath = "";
|
||||||
projectRoot = "";
|
projectRoot = "";
|
||||||
targets = (
|
targets = (
|
||||||
D05B9F7129E39EEC008CB1F9 /* Burrow */,
|
D05B9F7129E39EEC008CB1F9 /* App */,
|
||||||
D020F65229E4A697002790F6 /* NetworkExtension */,
|
D020F65229E4A697002790F6 /* NetworkExtension */,
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
@ -229,6 +238,7 @@
|
||||||
isa = PBXResourcesBuildPhase;
|
isa = PBXResourcesBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
|
D0BCC60A2A09A0B800AD070D /* build-rust.sh in Resources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
|
|
@ -243,7 +253,7 @@
|
||||||
/* End PBXResourcesBuildPhase section */
|
/* End PBXResourcesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXShellScriptBuildPhase section */
|
/* Begin PBXShellScriptBuildPhase section */
|
||||||
D0B98FC029FD809A004E7149 /* Compile Rust */ = {
|
D0BCC60B2A09A0C100AD070D /* Compile Rust */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
alwaysOutOfDate = 1;
|
alwaysOutOfDate = 1;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
|
|
@ -257,11 +267,10 @@
|
||||||
outputFileListPaths = (
|
outputFileListPaths = (
|
||||||
);
|
);
|
||||||
outputPaths = (
|
outputPaths = (
|
||||||
"$(BUILT_PRODUCTS_DIR)/libburrow.a",
|
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
shellPath = /bin/sh;
|
shellPath = /bin/sh;
|
||||||
shellScript = "\"${PROJECT_DIR}/Configuration/build-rust.sh\"\n";
|
shellScript = "\"${PROJECT_DIR}/NetworkExtension/libburrow/build-rust.sh\"\n";
|
||||||
showEnvVarsInLog = 0;
|
showEnvVarsInLog = 0;
|
||||||
};
|
};
|
||||||
/* End PBXShellScriptBuildPhase section */
|
/* End PBXShellScriptBuildPhase section */
|
||||||
|
|
@ -325,14 +334,14 @@
|
||||||
};
|
};
|
||||||
D05B9F8229E39EED008CB1F9 /* Debug */ = {
|
D05B9F8229E39EED008CB1F9 /* Debug */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
baseConfigurationReference = D020F64929E4A34B002790F6 /* Burrow.xcconfig */;
|
baseConfigurationReference = D020F64929E4A34B002790F6 /* App.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
};
|
};
|
||||||
D05B9F8329E39EED008CB1F9 /* Release */ = {
|
D05B9F8329E39EED008CB1F9 /* Release */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
baseConfigurationReference = D020F64929E4A34B002790F6 /* Burrow.xcconfig */;
|
baseConfigurationReference = D020F64929E4A34B002790F6 /* App.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
|
|
@ -358,7 +367,7 @@
|
||||||
defaultConfigurationIsVisible = 0;
|
defaultConfigurationIsVisible = 0;
|
||||||
defaultConfigurationName = Release;
|
defaultConfigurationName = Release;
|
||||||
};
|
};
|
||||||
D05B9F8129E39EED008CB1F9 /* Build configuration list for PBXNativeTarget "Burrow" */ = {
|
D05B9F8129E39EED008CB1F9 /* Build configuration list for PBXNativeTarget "App" */ = {
|
||||||
isa = XCConfigurationList;
|
isa = XCConfigurationList;
|
||||||
buildConfigurations = (
|
buildConfigurations = (
|
||||||
D05B9F8229E39EED008CB1F9 /* Debug */,
|
D05B9F8229E39EED008CB1F9 /* Debug */,
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "D05B9F7129E39EEC008CB1F9"
|
BlueprintIdentifier = "D05B9F7129E39EEC008CB1F9"
|
||||||
BuildableName = "Burrow.app"
|
BuildableName = "Burrow.app"
|
||||||
BlueprintName = "Burrow"
|
BlueprintName = "App"
|
||||||
ReferencedContainer = "container:Burrow.xcodeproj">
|
ReferencedContainer = "container:Burrow.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildActionEntry>
|
</BuildActionEntry>
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "D05B9F7129E39EEC008CB1F9"
|
BlueprintIdentifier = "D05B9F7129E39EEC008CB1F9"
|
||||||
BuildableName = "Burrow.app"
|
BuildableName = "Burrow.app"
|
||||||
BlueprintName = "Burrow"
|
BlueprintName = "App"
|
||||||
ReferencedContainer = "container:Burrow.xcodeproj">
|
ReferencedContainer = "container:Burrow.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildableProductRunnable>
|
</BuildableProductRunnable>
|
||||||
|
|
@ -62,7 +62,7 @@
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "D05B9F7129E39EEC008CB1F9"
|
BlueprintIdentifier = "D05B9F7129E39EEC008CB1F9"
|
||||||
BuildableName = "Burrow.app"
|
BuildableName = "Burrow.app"
|
||||||
BlueprintName = "Burrow"
|
BlueprintName = "App"
|
||||||
ReferencedContainer = "container:Burrow.xcodeproj">
|
ReferencedContainer = "container:Burrow.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildableProductRunnable>
|
</BuildableProductRunnable>
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Scheme
|
<Scheme
|
||||||
LastUpgradeVersion = "1430"
|
LastUpgradeVersion = "1430"
|
||||||
wasCreatedForAppExtension = "YES"
|
|
||||||
version = "2.0">
|
version = "2.0">
|
||||||
<BuildAction
|
<BuildAction
|
||||||
parallelizeBuildables = "YES"
|
parallelizeBuildables = "YES"
|
||||||
|
|
@ -31,7 +30,7 @@
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "D05B9F7129E39EEC008CB1F9"
|
BlueprintIdentifier = "D05B9F7129E39EEC008CB1F9"
|
||||||
BuildableName = "Burrow.app"
|
BuildableName = "Burrow.app"
|
||||||
BlueprintName = "Burrow"
|
BlueprintName = "App"
|
||||||
ReferencedContainer = "container:Burrow.xcodeproj">
|
ReferencedContainer = "container:Burrow.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildActionEntry>
|
</BuildActionEntry>
|
||||||
|
|
@ -62,7 +61,7 @@
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "D05B9F7129E39EEC008CB1F9"
|
BlueprintIdentifier = "D05B9F7129E39EEC008CB1F9"
|
||||||
BuildableName = "Burrow.app"
|
BuildableName = "Burrow.app"
|
||||||
BlueprintName = "Burrow"
|
BlueprintName = "App"
|
||||||
ReferencedContainer = "container:Burrow.xcodeproj">
|
ReferencedContainer = "container:Burrow.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildableProductRunnable>
|
</BuildableProductRunnable>
|
||||||
|
|
@ -81,7 +80,7 @@
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "D05B9F7129E39EEC008CB1F9"
|
BlueprintIdentifier = "D05B9F7129E39EEC008CB1F9"
|
||||||
BuildableName = "Burrow.app"
|
BuildableName = "Burrow.app"
|
||||||
BlueprintName = "Burrow"
|
BlueprintName = "App"
|
||||||
ReferencedContainer = "container:Burrow.xcodeproj">
|
ReferencedContainer = "container:Burrow.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildableProductRunnable>
|
</BuildableProductRunnable>
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ FUSE_BUILD_SCRIPT_PHASES = YES
|
||||||
|
|
||||||
APP_GROUP_IDENTIFIER = group.$(APP_BUNDLE_IDENTIFIER)
|
APP_GROUP_IDENTIFIER = group.$(APP_BUNDLE_IDENTIFIER)
|
||||||
APP_GROUP_IDENTIFIER[sdk=macosx*] = $(DEVELOPMENT_TEAM).$(APP_BUNDLE_IDENTIFIER)
|
APP_GROUP_IDENTIFIER[sdk=macosx*] = $(DEVELOPMENT_TEAM).$(APP_BUNDLE_IDENTIFIER)
|
||||||
|
NETWORK_EXTENSION_BUNDLE_IDENTIFIER = $(APP_BUNDLE_IDENTIFIER).network
|
||||||
|
|
||||||
// Swift
|
// Swift
|
||||||
SWIFT_VERSION = 5.0
|
SWIFT_VERSION = 5.0
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>$(INFOPLIST_KEY_CFBundleDisplayName)</string>
|
||||||
<key>NSExtension</key>
|
<key>NSExtension</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>NSExtensionPointIdentifier</key>
|
<key>NSExtensionPointIdentifier</key>
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,11 @@
|
||||||
#include "../Configuration/Extension.xcconfig"
|
#include "../Configuration/Extension.xcconfig"
|
||||||
|
|
||||||
PRODUCT_NAME = BurrowNetworkExtension
|
PRODUCT_NAME = BurrowNetworkExtension
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = $(APP_BUNDLE_IDENTIFIER).network
|
PRODUCT_BUNDLE_IDENTIFIER = $(NETWORK_EXTENSION_BUNDLE_IDENTIFIER)
|
||||||
|
|
||||||
INFOPLIST_FILE = NetworkExtension/Info.plist
|
INFOPLIST_FILE = NetworkExtension/Info.plist
|
||||||
|
|
||||||
CODE_SIGN_ENTITLEMENTS = NetworkExtension/NetworkExtension-iOS.entitlements
|
CODE_SIGN_ENTITLEMENTS = NetworkExtension/NetworkExtension-iOS.entitlements
|
||||||
CODE_SIGN_ENTITLEMENTS[sdk=macos*] = NetworkExtension/NetworkExtension-macOS.entitlements
|
CODE_SIGN_ENTITLEMENTS[sdk=macos*] = NetworkExtension/NetworkExtension-macOS.entitlements
|
||||||
|
|
||||||
|
SWIFT_INCLUDE_PATHS = $(inherited) $(PROJECT_DIR)/NetworkExtension
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
cd -- "$(dirname -- "${BASH_SOURCE[0]}")"/../../burrow
|
cd -- "$(dirname -- "${BASH_SOURCE[0]}")"/../../../burrow
|
||||||
|
|
||||||
RUST_TARGETS=()
|
RUST_TARGETS=()
|
||||||
|
|
||||||
1
Apple/NetworkExtension/libburrow/libburrow.h
Normal file
1
Apple/NetworkExtension/libburrow/libburrow.h
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
|
||||||
4
Apple/NetworkExtension/libburrow/module.modulemap
Normal file
4
Apple/NetworkExtension/libburrow/module.modulemap
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
module libburrow {
|
||||||
|
header "libburrow.h"
|
||||||
|
export *
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue