Skip to content

Commit

Permalink
Release 1.1.7 (#31)
Browse files Browse the repository at this point in the history
* 1.1.7

* Readme
  • Loading branch information
lexi-msft authored Jul 24, 2024
1 parent 34a035d commit 34b8e55
Show file tree
Hide file tree
Showing 78 changed files with 423 additions and 934 deletions.
10 changes: 5 additions & 5 deletions MCPCommon.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,30 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>MCPCommon.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>MCPCommon.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file modified MCPCommon.xcframework/_CodeSignature/CodeDirectory
Binary file not shown.
Binary file modified MCPCommon.xcframework/_CodeSignature/CodeRequirements-1
Binary file not shown.
72 changes: 51 additions & 21 deletions MCPCommon.xcframework/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<dict>
<key>files</key>
<dict>
<key>ios-arm64/MCPCommon.framework/Headers/ECS.h</key>
<data>
auy2/nzOQYSNZcvk3dzJvf2+m+w=
</data>
<key>ios-arm64/MCPCommon.framework/Headers/IMCPPluginLoaderService.h</key>
<data>
2E75QLhSI843dtx0PkYpk05OBhc=
Expand Down Expand Up @@ -50,7 +54,7 @@
</data>
<key>ios-arm64/MCPCommon.framework/Headers/Relinker.h</key>
<data>
JA0i/XlE5m7XXFx8M6y46axVQSg=
M+GcVbhjS7Gygpc8+nGpCVa33cg=
</data>
<key>ios-arm64/MCPCommon.framework/Headers/SwizzleInfo.h</key>
<data>
Expand All @@ -74,11 +78,11 @@
</data>
<key>ios-arm64/MCPCommon.framework/Info.plist</key>
<data>
TerCSLDfGncOZCALz3dvQU4Ab5k=
ut717Ik5lkKWRg61v93WhyCNbUo=
</data>
<key>ios-arm64/MCPCommon.framework/MCPCommon</key>
<data>
vM8skepoxgtdWpIJXYHxjNsxZDs=
7547Bs+wdZkjZr4ET4YUV8FfrWM=
</data>
<key>ios-arm64/MCPCommon.framework/Modules/module.modulemap</key>
<data>
Expand All @@ -88,6 +92,10 @@
<data>
+Z4PDaFys/4rjKas8qtOTC+2zcg=
</data>
<key>ios-arm64_x86_64-simulator/MCPCommon.framework/Headers/ECS.h</key>
<data>
auy2/nzOQYSNZcvk3dzJvf2+m+w=
</data>
<key>ios-arm64_x86_64-simulator/MCPCommon.framework/Headers/IMCPPluginLoaderService.h</key>
<data>
2E75QLhSI843dtx0PkYpk05OBhc=
Expand Down Expand Up @@ -134,7 +142,7 @@
</data>
<key>ios-arm64_x86_64-simulator/MCPCommon.framework/Headers/Relinker.h</key>
<data>
JA0i/XlE5m7XXFx8M6y46axVQSg=
M+GcVbhjS7Gygpc8+nGpCVa33cg=
</data>
<key>ios-arm64_x86_64-simulator/MCPCommon.framework/Headers/SwizzleInfo.h</key>
<data>
Expand All @@ -158,11 +166,11 @@
</data>
<key>ios-arm64_x86_64-simulator/MCPCommon.framework/Info.plist</key>
<data>
j61y0eI6i7g3Q6rGVt9qFY3nJJs=
lWsqYDHZuhmQ12lu/1mv52opEyU=
</data>
<key>ios-arm64_x86_64-simulator/MCPCommon.framework/MCPCommon</key>
<data>
EvMsawNS+iFGFr5U367SGQr1g20=
WTFb2i7Z+okqaDRZMYtSMfhikC4=
</data>
<key>ios-arm64_x86_64-simulator/MCPCommon.framework/Modules/module.modulemap</key>
<data>
Expand All @@ -174,11 +182,22 @@
</data>
<key>ios-arm64_x86_64-simulator/MCPCommon.framework/_CodeSignature/CodeResources</key>
<data>
Xo5dXZEWuY8i2oDmN1ecOXnXFMY=
nHIvHBxoc6Ohfn5/vZ/AE+Yr/RI=
</data>
</dict>
<key>files2</key>
<dict>
<key>ios-arm64/MCPCommon.framework/Headers/ECS.h</key>
<dict>
<key>hash</key>
<data>
auy2/nzOQYSNZcvk3dzJvf2+m+w=
</data>
<key>hash2</key>
<data>
2G1HTfv2Pxzp3MtmR1nh47YyqRipKPlCdtgJxEQbhLk=
</data>
</dict>
<key>ios-arm64/MCPCommon.framework/Headers/IMCPPluginLoaderService.h</key>
<dict>
<key>hash</key>
Expand Down Expand Up @@ -304,11 +323,11 @@
<dict>
<key>hash</key>
<data>
JA0i/XlE5m7XXFx8M6y46axVQSg=
M+GcVbhjS7Gygpc8+nGpCVa33cg=
</data>
<key>hash2</key>
<data>
6ZbenJFX0rf3uJvxGMg5mz+VIH9xZ4AyB/1MNO3kUSU=
NJ0d+Se7tiMuJq989h8AWuHO9DzanR1W2Fhe5QKyOnY=
</data>
</dict>
<key>ios-arm64/MCPCommon.framework/Headers/SwizzleInfo.h</key>
Expand Down Expand Up @@ -370,22 +389,22 @@
<dict>
<key>hash</key>
<data>
TerCSLDfGncOZCALz3dvQU4Ab5k=
ut717Ik5lkKWRg61v93WhyCNbUo=
</data>
<key>hash2</key>
<data>
PXSfdpDBWgkr6I3KR7t1lW+qkEXw7lp0+88iqQt+sVM=
ClPwCHpyW3VpbVkn3tiuzDF1DYvIeiDoZQiSUuiS1ic=
</data>
</dict>
<key>ios-arm64/MCPCommon.framework/MCPCommon</key>
<dict>
<key>hash</key>
<data>
vM8skepoxgtdWpIJXYHxjNsxZDs=
7547Bs+wdZkjZr4ET4YUV8FfrWM=
</data>
<key>hash2</key>
<data>
uugfR8rDTlS88xCZX1hF5LI4qESwKrAkE9a8VsQ+rc8=
Ahjgxv7BJ4GfZ+ioYVJNRkOi2DuTzxgXqth5XusqppE=
</data>
</dict>
<key>ios-arm64/MCPCommon.framework/Modules/module.modulemap</key>
Expand All @@ -410,6 +429,17 @@
Y6g2d1s7h8zT24hy6Ka6zu8nNByTMnwkV2KWMWkP0P0=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/MCPCommon.framework/Headers/ECS.h</key>
<dict>
<key>hash</key>
<data>
auy2/nzOQYSNZcvk3dzJvf2+m+w=
</data>
<key>hash2</key>
<data>
2G1HTfv2Pxzp3MtmR1nh47YyqRipKPlCdtgJxEQbhLk=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/MCPCommon.framework/Headers/IMCPPluginLoaderService.h</key>
<dict>
<key>hash</key>
Expand Down Expand Up @@ -535,11 +565,11 @@
<dict>
<key>hash</key>
<data>
JA0i/XlE5m7XXFx8M6y46axVQSg=
M+GcVbhjS7Gygpc8+nGpCVa33cg=
</data>
<key>hash2</key>
<data>
6ZbenJFX0rf3uJvxGMg5mz+VIH9xZ4AyB/1MNO3kUSU=
NJ0d+Se7tiMuJq989h8AWuHO9DzanR1W2Fhe5QKyOnY=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/MCPCommon.framework/Headers/SwizzleInfo.h</key>
Expand Down Expand Up @@ -601,22 +631,22 @@
<dict>
<key>hash</key>
<data>
j61y0eI6i7g3Q6rGVt9qFY3nJJs=
lWsqYDHZuhmQ12lu/1mv52opEyU=
</data>
<key>hash2</key>
<data>
FsDrmHOfT2LVzVsYglEQAbnK0BQjnsfOfBYJa4o2N/Y=
yoYGyTjhWNpTH3/dsddoOYcT0Uz7EI5pVPy3avz8h3c=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/MCPCommon.framework/MCPCommon</key>
<dict>
<key>hash</key>
<data>
EvMsawNS+iFGFr5U367SGQr1g20=
WTFb2i7Z+okqaDRZMYtSMfhikC4=
</data>
<key>hash2</key>
<data>
46JazhFsQPdrLkRZ6zYz9FyzKC+/sJbN1SZW1g5HJgM=
TTWEVTPeI8T76LVAMRnMJEzgccOdEnmiP1+gGlLMgKI=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/MCPCommon.framework/Modules/module.modulemap</key>
Expand Down Expand Up @@ -645,11 +675,11 @@
<dict>
<key>hash</key>
<data>
Xo5dXZEWuY8i2oDmN1ecOXnXFMY=
nHIvHBxoc6Ohfn5/vZ/AE+Yr/RI=
</data>
<key>hash2</key>
<data>
d12/g1DPzw03kgzuTfOubtn48J49k+4IQRaT8jdHZ7c=
a3GcX6dwWL/+sa8fk3J1aqTSd8wSZF+2Txf1byAGfAw=
</data>
</dict>
</dict>
Expand Down
Binary file modified MCPCommon.xcframework/_CodeSignature/CodeSignature
Binary file not shown.
22 changes: 22 additions & 0 deletions MCPCommon.xcframework/ios-arm64/MCPCommon.framework/Headers/ECS.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//
// ECS.h
//
// Created by Todd Bohman on 7/3/24.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//

#import <Foundation/Foundation.h>

__attribute__ ((visibility ("default")))
@interface ECS : NSObject

+(ECS*)sharedInstance;

-(BOOL)urlSchemeHandlerEnabled;
-(BOOL)mamServiceUrlBypassEnabled;
-(BOOL)loginServiceUrlBypassEnabled;

-(void)fetchIfNeeded;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,8 @@ class Relinker
static std::string getStringFromErrorCode(unsigned int errorCode);

static MBSTATUS setErrorListener(RelinkerErrorListener* cb);

#if defined(__APPLE__)
virtual void* getCodeSignature(const std::string &libraryName) = 0;
virtual void* getEmbeddedEntitlements(const std::string &libraryName, uint32_t &size) = 0;
#endif

// Send error condition to listener and obtain flag whether the error should be ignored (result = true)
static bool foundErrorCondition(unsigned int errorCode, const std::string& explanation);
Expand Down Expand Up @@ -397,9 +394,7 @@ MBSTATUS RELINKER_AddExclusiveRelink(BaseRelinkTrigger *trigger, RelinkMap &reli
MBSTATUS RELINKER_AddSupplementalRelink(BaseRelinkTrigger *trigger, RelinkMap &relinkEntries);
MBSTATUS RELINKER_PerformForcedRelink(const std::string &imageName, RelinkMap &relinkEntries, BaseRelinkTrigger::PartialRelinkType partialType);
MBSTATUS RELINKER_PerformForcedRelinkForAll(RelinkMap &relinkEntries, BaseRelinkTrigger::PartialRelinkType partialType);
#if defined(__APPLE__)
void *RELINKER_GetEmbeddedEntitlements(const char *libraryName, uint32_t &size);
#endif
/* Assign Relinker function pointers to passed in struct. */
MBSTATUS RELINKER_setCallbacks(RELINKER_FUNCTION_CALLBACKS *pCallbacks);
#endif
Expand Down Expand Up @@ -427,9 +422,7 @@ MBSTATUS RELINKER_CheckAddressInLibrary(const char *libraryName, void *addr);
MBSTATUS RELINKER_CheckAddressInOpaqueLibraryInfo(void *opaqueLibInfo, void *addr);
void *RELINKER_GetOpaqueLibraryInfo(const char *libraryName);
bool RELINKER_CheckSymbolExists(const char *libraryName, const char *symbolName);
#if defined(__APPLE__)
void *RELINKER_GetCodeSignature(const char *libraryName);
#endif

#pragma GCC visibility pop

Expand Down
Binary file modified MCPCommon.xcframework/ios-arm64/MCPCommon.framework/Info.plist
Binary file not shown.
Binary file modified MCPCommon.xcframework/ios-arm64/MCPCommon.framework/MCPCommon
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//
// ECS.h
//
// Created by Todd Bohman on 7/3/24.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//

#import <Foundation/Foundation.h>

__attribute__ ((visibility ("default")))
@interface ECS : NSObject

+(ECS*)sharedInstance;

-(BOOL)urlSchemeHandlerEnabled;
-(BOOL)mamServiceUrlBypassEnabled;
-(BOOL)loginServiceUrlBypassEnabled;

-(void)fetchIfNeeded;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,8 @@ class Relinker
static std::string getStringFromErrorCode(unsigned int errorCode);

static MBSTATUS setErrorListener(RelinkerErrorListener* cb);

#if defined(__APPLE__)
virtual void* getCodeSignature(const std::string &libraryName) = 0;
virtual void* getEmbeddedEntitlements(const std::string &libraryName, uint32_t &size) = 0;
#endif

// Send error condition to listener and obtain flag whether the error should be ignored (result = true)
static bool foundErrorCondition(unsigned int errorCode, const std::string& explanation);
Expand Down Expand Up @@ -397,9 +394,7 @@ MBSTATUS RELINKER_AddExclusiveRelink(BaseRelinkTrigger *trigger, RelinkMap &reli
MBSTATUS RELINKER_AddSupplementalRelink(BaseRelinkTrigger *trigger, RelinkMap &relinkEntries);
MBSTATUS RELINKER_PerformForcedRelink(const std::string &imageName, RelinkMap &relinkEntries, BaseRelinkTrigger::PartialRelinkType partialType);
MBSTATUS RELINKER_PerformForcedRelinkForAll(RelinkMap &relinkEntries, BaseRelinkTrigger::PartialRelinkType partialType);
#if defined(__APPLE__)
void *RELINKER_GetEmbeddedEntitlements(const char *libraryName, uint32_t &size);
#endif
/* Assign Relinker function pointers to passed in struct. */
MBSTATUS RELINKER_setCallbacks(RELINKER_FUNCTION_CALLBACKS *pCallbacks);
#endif
Expand Down Expand Up @@ -427,9 +422,7 @@ MBSTATUS RELINKER_CheckAddressInLibrary(const char *libraryName, void *addr);
MBSTATUS RELINKER_CheckAddressInOpaqueLibraryInfo(void *opaqueLibInfo, void *addr);
void *RELINKER_GetOpaqueLibraryInfo(const char *libraryName);
bool RELINKER_CheckSymbolExists(const char *libraryName, const char *symbolName);
#if defined(__APPLE__)
void *RELINKER_GetCodeSignature(const char *libraryName);
#endif

#pragma GCC visibility pop

Expand Down
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 34b8e55

Please sign in to comment.