Private
Public Access
1
0

Try to not use private entitlements

This commit is contained in:
James Magahern
2018-11-13 22:39:03 -08:00
parent ce7e6e7dd8
commit f462ee68ca
12 changed files with 309 additions and 51 deletions

View File

@@ -11,6 +11,8 @@
CD60205C219B623F0024D9C5 /* MBIMMessagesListOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = CD60205B219B623F0024D9C5 /* MBIMMessagesListOperation.m */; };
CD60205F219B674B0024D9C5 /* MBIMConversationListOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = CD60205E219B674B0024D9C5 /* MBIMConversationListOperation.m */; };
CD602062219B68950024D9C5 /* MBIMSendMessageOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = CD602061219B68950024D9C5 /* MBIMSendMessageOperation.m */; };
CD83E156219BE10A00F4CCEA /* hooking.m in Sources */ = {isa = PBXBuildFile; fileRef = CD83E155219BE10A00F4CCEA /* hooking.m */; };
CD83E166219BE91600F4CCEA /* agentHook.m in Sources */ = {isa = PBXBuildFile; fileRef = CD83E165219BE91600F4CCEA /* agentHook.m */; };
CDF62335219A895D00690038 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = CDF62334219A895D00690038 /* main.m */; };
CDF62339219A8A5600690038 /* MBIMBridge.h in Sources */ = {isa = PBXBuildFile; fileRef = 1A0C4469219A4BC300F2AC00 /* MBIMBridge.h */; };
CDF6233A219A8A5600690038 /* MBIMBridge.m in Sources */ = {isa = PBXBuildFile; fileRef = 1A0C446A219A4BC300F2AC00 /* MBIMBridge.m */; };
@@ -21,6 +23,13 @@
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
CD83E16A219BE9AB00F4CCEA /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1A0C443F219A38E100F2AC00 /* Project object */;
proxyType = 1;
remoteGlobalIDString = CD83E160219BE91500F4CCEA;
remoteInfo = agentHook;
};
CDF6231D219A869000690038 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = CDF62312219A869000690038 /* GCDWebServer.xcodeproj */;
@@ -92,7 +101,6 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
1A0C4455219A38E200F2AC00 /* kordophone.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = kordophone.entitlements; sourceTree = "<group>"; };
1A0C445D219A458400F2AC00 /* SOAPlugInControllerProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SOAPlugInControllerProtocol.h; sourceTree = "<group>"; };
1A0C445F219A45B400F2AC00 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.Internal.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
1A0C4461219A45B900F2AC00 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.Internal.sdk/System/Library/Frameworks/AppKit.framework; sourceTree = DEVELOPER_DIR; };
@@ -114,6 +122,11 @@
CD60205E219B674B0024D9C5 /* MBIMConversationListOperation.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MBIMConversationListOperation.m; sourceTree = "<group>"; };
CD602060219B68950024D9C5 /* MBIMSendMessageOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MBIMSendMessageOperation.h; sourceTree = "<group>"; };
CD602061219B68950024D9C5 /* MBIMSendMessageOperation.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MBIMSendMessageOperation.m; sourceTree = "<group>"; };
CD83E154219BDBA200F4CCEA /* hooking.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = hooking.h; sourceTree = "<group>"; };
CD83E155219BE10A00F4CCEA /* hooking.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = hooking.m; sourceTree = "<group>"; };
CD83E161219BE91500F4CCEA /* libagentHook.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libagentHook.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
CD83E165219BE91600F4CCEA /* agentHook.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = agentHook.m; sourceTree = "<group>"; };
CD83E1B5219BF78E00F4CCEA /* hookAgent.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = hookAgent.sh; sourceTree = "<group>"; };
CDF62312219A869000690038 /* GCDWebServer.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GCDWebServer.xcodeproj; path = GCDWebServer/GCDWebServer.xcodeproj; sourceTree = "<group>"; };
CDF62332219A895D00690038 /* kordophoned */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = kordophoned; sourceTree = BUILT_PRODUCTS_DIR; };
CDF62334219A895D00690038 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
@@ -122,6 +135,13 @@
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
CD83E15F219BE91500F4CCEA /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
CDF6232F219A895D00690038 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
@@ -144,6 +164,7 @@
CDF62333219A895D00690038 /* kordophone */,
1A33B439219A5ACD0034485A /* Config Files */,
1A0C445C219A457C00F2AC00 /* Pilfered Headers */,
CD83E162219BE91600F4CCEA /* agentHook */,
1A0C4448219A38E100F2AC00 /* Products */,
1A0C445E219A45B400F2AC00 /* Frameworks */,
);
@@ -153,6 +174,7 @@
isa = PBXGroup;
children = (
CDF62332219A895D00690038 /* kordophoned */,
CD83E161219BE91500F4CCEA /* libagentHook.dylib */,
);
name = Products;
sourceTree = "<group>";
@@ -215,6 +237,24 @@
path = Operations;
sourceTree = "<group>";
};
CD83E150219BDB4F00F4CCEA /* Hooking */ = {
isa = PBXGroup;
children = (
CD83E154219BDBA200F4CCEA /* hooking.h */,
CD83E155219BE10A00F4CCEA /* hooking.m */,
);
path = Hooking;
sourceTree = "<group>";
};
CD83E162219BE91600F4CCEA /* agentHook */ = {
isa = PBXGroup;
children = (
CD83E1B5219BF78E00F4CCEA /* hookAgent.sh */,
CD83E165219BE91600F4CCEA /* agentHook.m */,
);
path = agentHook;
sourceTree = "<group>";
};
CDF62313219A869000690038 /* Products */ = {
isa = PBXGroup;
children = (
@@ -232,8 +272,8 @@
CDF62333219A895D00690038 /* kordophone */ = {
isa = PBXGroup;
children = (
CD83E150219BDB4F00F4CCEA /* Hooking */,
1A0C446D219A4BCD00F2AC00 /* Bridge */,
1A0C4455219A38E200F2AC00 /* kordophone.entitlements */,
CDF62334219A895D00690038 /* main.m */,
);
path = kordophone;
@@ -241,7 +281,34 @@
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
CD83E15D219BE91500F4CCEA /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
CD83E160219BE91500F4CCEA /* agentHook */ = {
isa = PBXNativeTarget;
buildConfigurationList = CD83E167219BE91600F4CCEA /* Build configuration list for PBXNativeTarget "agentHook" */;
buildPhases = (
CD83E15D219BE91500F4CCEA /* Headers */,
CD83E15E219BE91500F4CCEA /* Sources */,
CD83E15F219BE91500F4CCEA /* Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = agentHook;
productName = agentHook;
productReference = CD83E161219BE91500F4CCEA /* libagentHook.dylib */;
productType = "com.apple.product-type.library.dynamic";
};
CDF62331219A895D00690038 /* kordophoned */ = {
isa = PBXNativeTarget;
buildConfigurationList = CDF62336219A895D00690038 /* Build configuration list for PBXNativeTarget "kordophoned" */;
@@ -253,6 +320,7 @@
buildRules = (
);
dependencies = (
CD83E16B219BE9AB00F4CCEA /* PBXTargetDependency */,
CDF6233C219A8A6600690038 /* PBXTargetDependency */,
);
name = kordophoned;
@@ -269,6 +337,9 @@
LastUpgradeCheck = 1100;
ORGANIZATIONNAME = "James Magahern";
TargetAttributes = {
CD83E160219BE91500F4CCEA = {
CreatedOnToolsVersion = 11.0;
};
CDF62331219A895D00690038 = {
CreatedOnToolsVersion = 11.0;
};
@@ -294,6 +365,7 @@
projectRoot = "";
targets = (
CDF62331219A895D00690038 /* kordophoned */,
CD83E160219BE91500F4CCEA /* agentHook */,
);
};
/* End PBXProject section */
@@ -351,11 +423,20 @@
/* End PBXReferenceProxy section */
/* Begin PBXSourcesBuildPhase section */
CD83E15E219BE91500F4CCEA /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
CD83E166219BE91600F4CCEA /* agentHook.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
CDF6232E219A895D00690038 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
CDF62339219A8A5600690038 /* MBIMBridge.h in Sources */,
CD83E156219BE10A00F4CCEA /* hooking.m in Sources */,
CDF6233A219A8A5600690038 /* MBIMBridge.m in Sources */,
CDF62335219A895D00690038 /* main.m in Sources */,
CD60205C219B623F0024D9C5 /* MBIMMessagesListOperation.m in Sources */,
@@ -368,6 +449,11 @@
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
CD83E16B219BE9AB00F4CCEA /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = CD83E160219BE91500F4CCEA /* agentHook */;
targetProxy = CD83E16A219BE9AB00F4CCEA /* PBXContainerItemProxy */;
};
CDF6233C219A8A6600690038 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "GCDWebServers (Mac)";
@@ -495,11 +581,44 @@
};
name = Release;
};
CD83E168219BE91600F4CCEA /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
EXECUTABLE_PREFIX = lib;
OTHER_LDFLAGS = (
"-undefined",
dynamic_lookup,
);
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Debug;
};
CD83E169219BE91600F4CCEA /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
EXECUTABLE_PREFIX = lib;
OTHER_LDFLAGS = (
"-undefined",
dynamic_lookup,
);
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Release;
};
CDF62337219A895D00690038 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = NO;
CODE_SIGN_ENTITLEMENTS = kordophone/kordophone.entitlements;
CODE_SIGN_STYLE = Automatic;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx.internal;
@@ -514,7 +633,6 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = NO;
CODE_SIGN_ENTITLEMENTS = kordophone/kordophone.entitlements;
CODE_SIGN_STYLE = Automatic;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx.internal;
@@ -537,6 +655,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
CD83E167219BE91600F4CCEA /* Build configuration list for PBXNativeTarget "agentHook" */ = {
isa = XCConfigurationList;
buildConfigurations = (
CD83E168219BE91600F4CCEA /* Debug */,
CD83E169219BE91600F4CCEA /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
CDF62336219A895D00690038 /* Build configuration list for PBXNativeTarget "kordophoned" */ = {
isa = XCConfigurationList;
buildConfigurations = (

View File

@@ -61,6 +61,12 @@
ReferencedContainer = "container:MessagesBridge.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "${BUILT_PRODUCTS_DIR}/libagentHook.dylib"
isEnabled = "YES">
</CommandLineArgument>
</CommandLineArguments>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>