fix: macos compilation

This commit is contained in:
SoLongAndThanksForAllThePizza
2022-06-02 16:13:34 +08:00
parent aefc968246
commit d756551791
15 changed files with 1344 additions and 236 deletions

View File

@@ -26,6 +26,9 @@
33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
C5E54335B73C89F72DB1B606 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 26C84465887F29AE938039CB /* Pods_Runner.framework */; };
CC13D44B2847D53E00EF8B54 /* librustdesk.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = CC13D4362847C8C200EF8B54 /* librustdesk.dylib */; };
CC13D4502847D5E800EF8B54 /* librustdesk.dylib in Bundle Framework */ = {isa = PBXBuildFile; fileRef = CC13D4362847C8C200EF8B54 /* librustdesk.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -36,6 +39,41 @@
remoteGlobalIDString = 33CC111A2044C6BA0003C045;
remoteInfo = FLX;
};
CC13D4352847C8C200EF8B54 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = CC13D42E2847C8C200EF8B54 /* rustdesk.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = CA6071B5A0F5A7A3EF2297AA;
remoteInfo = "librustdesk-cdylib";
};
CC13D4372847C8C200EF8B54 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = CC13D42E2847C8C200EF8B54 /* rustdesk.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = CA604C7415FB2A3731F5016A;
remoteInfo = "librustdesk-staticlib";
};
CC13D4392847C8C200EF8B54 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = CC13D42E2847C8C200EF8B54 /* rustdesk.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = CA60D3BC5386D3D7DBD96893;
remoteInfo = "naming-bin";
};
CC13D43B2847C8C200EF8B54 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = CC13D42E2847C8C200EF8B54 /* rustdesk.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = CA60D3BC5386B357B2AB834F;
remoteInfo = "rustdesk-bin";
};
CC13D43D2847C8CB00EF8B54 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = CC13D42E2847C8C200EF8B54 /* rustdesk.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = CA6071B5A0F5D6691E4C3FF1;
remoteInfo = "librustdesk-cdylib";
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
@@ -45,6 +83,7 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
CC13D4502847D5E800EF8B54 /* librustdesk.dylib in Bundle Framework */,
);
name = "Bundle Framework";
runOnlyForDeploymentPostprocessing = 0;
@@ -52,9 +91,11 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
26C84465887F29AE938039CB /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
295AD07E63F13855C270A0E0 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
33CC10ED2044A3C60003C045 /* flutter_hbb.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "flutter_hbb.app"; sourceTree = BUILT_PRODUCTS_DIR; };
33CC10ED2044A3C60003C045 /* flutter_hbb.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = flutter_hbb.app; sourceTree = BUILT_PRODUCTS_DIR; };
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
@@ -66,8 +107,12 @@
33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = "<group>"; };
33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = "<group>"; };
33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = "<group>"; };
7436B85D94E8F7B5A9324869 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
C3BB669FF6190AE1B11BCAEA /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
CC13D42E2847C8C200EF8B54 /* rustdesk.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = rustdesk.xcodeproj; sourceTree = SOURCE_ROOT; };
CCB6FE9A2848A6B800E58D48 /* bridge_generated.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = bridge_generated.h; path = Runner/bridge_generated.h; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -75,6 +120,8 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
CC13D44B2847D53E00EF8B54 /* librustdesk.dylib in Frameworks */,
C5E54335B73C89F72DB1B606 /* Pods_Runner.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -95,10 +142,12 @@
33CC10E42044A3C60003C045 = {
isa = PBXGroup;
children = (
CCB6FE9A2848A6B800E58D48 /* bridge_generated.h */,
33FAB671232836740065AC1E /* Runner */,
33CEB47122A05771004F2AC0 /* Flutter */,
33CC10EE2044A3C60003C045 /* Products */,
D73912EC22F37F3D000D13A0 /* Frameworks */,
A6C450E1C32EC39A23170131 /* Pods */,
);
sourceTree = "<group>";
};
@@ -135,6 +184,7 @@
33FAB671232836740065AC1E /* Runner */ = {
isa = PBXGroup;
children = (
CC13D42E2847C8C200EF8B54 /* rustdesk.xcodeproj */,
33CC10F02044A3C60003C045 /* AppDelegate.swift */,
33CC11122044BFA00003C045 /* MainFlutterWindow.swift */,
33E51913231747F40026EE4D /* DebugProfile.entitlements */,
@@ -145,9 +195,31 @@
path = Runner;
sourceTree = "<group>";
};
A6C450E1C32EC39A23170131 /* Pods */ = {
isa = PBXGroup;
children = (
7436B85D94E8F7B5A9324869 /* Pods-Runner.debug.xcconfig */,
295AD07E63F13855C270A0E0 /* Pods-Runner.release.xcconfig */,
C3BB669FF6190AE1B11BCAEA /* Pods-Runner.profile.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
};
CC13D42F2847C8C200EF8B54 /* Products */ = {
isa = PBXGroup;
children = (
CC13D4362847C8C200EF8B54 /* librustdesk.dylib */,
CC13D4382847C8C200EF8B54 /* liblibrustdesk_static.a */,
CC13D43A2847C8C200EF8B54 /* naming */,
CC13D43C2847C8C200EF8B54 /* rustdesk */,
);
name = Products;
sourceTree = "<group>";
};
D73912EC22F37F3D000D13A0 /* Frameworks */ = {
isa = PBXGroup;
children = (
26C84465887F29AE938039CB /* Pods_Runner.framework */,
);
name = Frameworks;
sourceTree = "<group>";
@@ -159,15 +231,18 @@
isa = PBXNativeTarget;
buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = (
610B125EE2B990E4D4B30D05 /* [CP] Check Pods Manifest.lock */,
33CC10E92044A3C60003C045 /* Sources */,
33CC10EA2044A3C60003C045 /* Frameworks */,
33CC10EB2044A3C60003C045 /* Resources */,
33CC110E2044A8840003C045 /* Bundle Framework */,
3399D490228B24CF009A79C7 /* ShellScript */,
4688A20DD8E4F3E900927B2C /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
dependencies = (
CC13D43E2847C8CB00EF8B54 /* PBXTargetDependency */,
33CC11202044C79F0003C045 /* PBXTargetDependency */,
);
name = Runner;
@@ -212,6 +287,12 @@
mainGroup = 33CC10E42044A3C60003C045;
productRefGroup = 33CC10EE2044A3C60003C045 /* Products */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = CC13D42F2847C8C200EF8B54 /* Products */;
ProjectRef = CC13D42E2847C8C200EF8B54 /* rustdesk.xcodeproj */;
},
);
projectRoot = "";
targets = (
33CC10EC2044A3C60003C045 /* Runner */,
@@ -220,6 +301,37 @@
};
/* End PBXProject section */
/* Begin PBXReferenceProxy section */
CC13D4362847C8C200EF8B54 /* librustdesk.dylib */ = {
isa = PBXReferenceProxy;
fileType = "compiled.mach-o.dylib";
path = librustdesk.dylib;
remoteRef = CC13D4352847C8C200EF8B54 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
CC13D4382847C8C200EF8B54 /* liblibrustdesk_static.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = liblibrustdesk_static.a;
remoteRef = CC13D4372847C8C200EF8B54 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
CC13D43A2847C8C200EF8B54 /* naming */ = {
isa = PBXReferenceProxy;
fileType = "compiled.mach-o.executable";
path = naming;
remoteRef = CC13D4392847C8C200EF8B54 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
CC13D43C2847C8C200EF8B54 /* rustdesk */ = {
isa = PBXReferenceProxy;
fileType = "compiled.mach-o.executable";
path = rustdesk;
remoteRef = CC13D43B2847C8C200EF8B54 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */
/* Begin PBXResourcesBuildPhase section */
33CC10EB2044A3C60003C045 /* Resources */ = {
isa = PBXResourcesBuildPhase;
@@ -270,6 +382,45 @@
shellPath = /bin/sh;
shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
};
4688A20DD8E4F3E900927B2C /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
610B125EE2B990E4D4B30D05 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
@@ -291,6 +442,11 @@
target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */;
targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */;
};
CC13D43E2847C8CB00EF8B54 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "librustdesk-cdylib";
targetProxy = CC13D43D2847C8CB00EF8B54 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
@@ -493,6 +649,7 @@
"@executable_path/../Frameworks",
);
PROVISIONING_PROFILE_SPECIFIER = "";
"SWIFT_OBJC_BRIDGING_HEADER[arch=*]" = Runner/bridge_generated.h;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
};
@@ -513,6 +670,7 @@
"@executable_path/../Frameworks",
);
PROVISIONING_PROFILE_SPECIFIER = "";
"SWIFT_OBJC_BRIDGING_HEADER[arch=*]" = Runner/bridge_generated.h;
SWIFT_VERSION = 5.0;
};
name = Release;