Skip to content

Commit

Permalink
feat: cocoapods to swift package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
qwertyyb committed Sep 15, 2023
1 parent 89e3ccf commit e087b0d
Showing 1 changed file with 97 additions and 92 deletions.
189 changes: 97 additions & 92 deletions Fire.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 51;
objectVersion = 52;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -40,10 +40,14 @@
673C416925468A4800F462A3 /* FireMenu.swift in Sources */ = {isa = PBXBuildFile; fileRef = 673C416825468A4800F462A3 /* FireMenu.swift */; };
673C417225468FFA00F462A3 /* ModifierKeyUpChecker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 673C417125468FFA00F462A3 /* ModifierKeyUpChecker.swift */; };
673C4178254697E400F462A3 /* TipsWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 673C4177254697E400F462A3 /* TipsWindow.swift */; };
676C7E882AB36285008C72D4 /* Settings in Frameworks */ = {isa = PBXBuildFile; productRef = 676C7E872AB36285008C72D4 /* Settings */; };
676C7E8B2AB362D7008C72D4 /* Defaults in Frameworks */ = {isa = PBXBuildFile; productRef = 676C7E8A2AB362D7008C72D4 /* Defaults */; };
676C7E8E2AB363BA008C72D4 /* KeychainSwift in Frameworks */ = {isa = PBXBuildFile; productRef = 676C7E8D2AB363BA008C72D4 /* KeychainSwift */; };
676C7E912AB3640B008C72D4 /* NanoID in Frameworks */ = {isa = PBXBuildFile; productRef = 676C7E902AB3640B008C72D4 /* NanoID */; };
676C7E942AB364DE008C72D4 /* Sparkle in Frameworks */ = {isa = PBXBuildFile; productRef = 676C7E932AB364DE008C72D4 /* Sparkle */; };
677A0874254BD47D000B58D4 /* ToastWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 677A0873254BD47D000B58D4 /* ToastWindow.swift */; };
67E8B515233B97FD00D7CE80 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 67E8B517233B97FD00D7CE80 /* InfoPlist.strings */; };
67E8B521233C537B00D7CE80 /* fire.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 67E8B51E233C537B00D7CE80 /* fire.pdf */; };
AD9F20E5BBFCFE438EB5AADC /* libPods-TableBuilder.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F201F29A49FB26FAD4B666CC /* libPods-TableBuilder.a */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -110,7 +114,6 @@
45E85F732573BE1800F71024 /* wb_98_table.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = wb_98_table.txt; sourceTree = "<group>"; };
45EBB54D283A073000A56CBA /* Statistics.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Statistics.swift; sourceTree = "<group>"; };
45EBB54F283A311C00A56CBA /* StatisticsPane.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StatisticsPane.swift; sourceTree = "<group>"; };
63CA87FF28AC32324A6D50A5 /* Pods-TableBuilder.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TableBuilder.release.xcconfig"; path = "Target Support Files/Pods-TableBuilder/Pods-TableBuilder.release.xcconfig"; sourceTree = "<group>"; };
672C1986287EDAF8002B2540 /* FireInputServer.swift */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = sourcecode.swift; path = FireInputServer.swift; sourceTree = "<group>"; };
673A400B253D9FE70003901E /* InputSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InputSource.swift; sourceTree = "<group>"; };
673C416825468A4800F462A3 /* FireMenu.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FireMenu.swift; sourceTree = "<group>"; };
Expand All @@ -121,52 +124,39 @@
67E8B516233B97FD00D7CE80 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
67E8B518233B994000D7CE80 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
67E8B51E233C537B00D7CE80 /* fire.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; path = fire.pdf; sourceTree = "<group>"; };
79993C01BC909D0DEEFF5E1F /* Pods-Fire.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Fire.debug.xcconfig"; path = "Target Support Files/Pods-Fire/Pods-Fire.debug.xcconfig"; sourceTree = "<group>"; };
84E31A001A3B997360EE5A42 /* Pods-TableBuilder.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TableBuilder.debug.xcconfig"; path = "Target Support Files/Pods-TableBuilder/Pods-TableBuilder.debug.xcconfig"; sourceTree = "<group>"; };
C9B35A5256409EF1557C898C /* Pods-Fire.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Fire.release.xcconfig"; path = "Target Support Files/Pods-Fire/Pods-Fire.release.xcconfig"; sourceTree = "<group>"; };
E5C980F68E92FC39F4BB0E86 /* libPods-Fire.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Fire.a"; sourceTree = BUILT_PRODUCTS_DIR; };
F201F29A49FB26FAD4B666CC /* libPods-TableBuilder.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-TableBuilder.a"; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
451E6041232E227B007B0463 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
676C7E912AB3640B008C72D4 /* NanoID in Frameworks */,
676C7E8B2AB362D7008C72D4 /* Defaults in Frameworks */,
45449B4C23535ED000C9EFEF /* InputMethodKit.framework in Frameworks */,
676C7E942AB364DE008C72D4 /* Sparkle in Frameworks */,
676C7E8E2AB363BA008C72D4 /* KeychainSwift in Frameworks */,
676C7E882AB36285008C72D4 /* Settings in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
45577E5C25442E240064325B /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
AD9F20E5BBFCFE438EB5AADC /* libPods-TableBuilder.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
2361C68F9ECE84E0CA0822C3 /* Pods */ = {
isa = PBXGroup;
children = (
79993C01BC909D0DEEFF5E1F /* Pods-Fire.debug.xcconfig */,
C9B35A5256409EF1557C898C /* Pods-Fire.release.xcconfig */,
84E31A001A3B997360EE5A42 /* Pods-TableBuilder.debug.xcconfig */,
63CA87FF28AC32324A6D50A5 /* Pods-TableBuilder.release.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
};
451E603B232E227B007B0463 = {
isa = PBXGroup;
children = (
451E6046232E227B007B0463 /* Fire */,
45577E6025442E240064325B /* TableBuilder */,
451E6045232E227B007B0463 /* Products */,
451E6057232E2786007B0463 /* Frameworks */,
2361C68F9ECE84E0CA0822C3 /* Pods */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -214,8 +204,6 @@
isa = PBXGroup;
children = (
451E6058232E2787007B0463 /* InputMethodKit.framework */,
E5C980F68E92FC39F4BB0E86 /* libPods-Fire.a */,
F201F29A49FB26FAD4B666CC /* libPods-TableBuilder.a */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -287,20 +275,25 @@
isa = PBXNativeTarget;
buildConfigurationList = 451E6052232E227C007B0463 /* Build configuration list for PBXNativeTarget "Fire" */;
buildPhases = (
92D671001C2691A4592362FC /* [CP] Check Pods Manifest.lock */,
451E6040232E227B007B0463 /* Sources */,
451E6041232E227B007B0463 /* Frameworks */,
451E6042232E227B007B0463 /* Resources */,
45587F2E24E91513005F291B /* lint */,
45577E8325443E080064325B /* CopyFiles */,
F59BCE8B8FEBA89F5AC70F62 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
dependencies = (
45577E6D254438F60064325B /* PBXTargetDependency */,
);
name = Fire;
packageProductDependencies = (
676C7E872AB36285008C72D4 /* Settings */,
676C7E8A2AB362D7008C72D4 /* Defaults */,
676C7E8D2AB363BA008C72D4 /* KeychainSwift */,
676C7E902AB3640B008C72D4 /* NanoID */,
676C7E932AB364DE008C72D4 /* Sparkle */,
);
productName = Fire;
productReference = 451E6044232E227B007B0463 /* Fire.app */;
productType = "com.apple.product-type.application";
Expand All @@ -309,7 +302,6 @@
isa = PBXNativeTarget;
buildConfigurationList = 45577E6325442E240064325B /* Build configuration list for PBXNativeTarget "TableBuilder" */;
buildPhases = (
C7675FA4C92181CC4346D885 /* [CP] Check Pods Manifest.lock */,
45577E5B25442E240064325B /* Sources */,
45577E5C25442E240064325B /* Frameworks */,
45577E5D25442E240064325B /* CopyFiles */,
Expand Down Expand Up @@ -357,6 +349,13 @@
Base,
);
mainGroup = 451E603B232E227B007B0463;
packageReferences = (
676C7E862AB36285008C72D4 /* XCRemoteSwiftPackageReference "Settings" */,
676C7E892AB362D7008C72D4 /* XCRemoteSwiftPackageReference "Defaults" */,
676C7E8C2AB363BA008C72D4 /* XCRemoteSwiftPackageReference "keychain-swift" */,
676C7E8F2AB3640B008C72D4 /* XCRemoteSwiftPackageReference "NanoID" */,
676C7E922AB364DE008C72D4 /* XCRemoteSwiftPackageReference "Sparkle" */,
);
productRefGroup = 451E6045232E227B007B0463 /* Products */;
projectDirPath = "";
projectRoot = "";
Expand Down Expand Up @@ -403,67 +402,6 @@
shellPath = /bin/sh;
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n\"${PODS_ROOT}/SwiftLint/swiftlint\"\n";
};
92D671001C2691A4592362FC /* [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-Fire-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;
};
C7675FA4C92181CC4346D885 /* [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-TableBuilder-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;
};
F59BCE8B8FEBA89F5AC70F62 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Fire/Pods-Fire-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Fire/Pods-Fire-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Fire/Pods-Fire-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -655,15 +593,14 @@
};
451E6053232E227C007B0463 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 79993C01BC909D0DEEFF5E1F /* Pods-Fire.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
BUILD_LIBRARY_FOR_DISTRIBUTION = NO;
CODE_SIGN_ENTITLEMENTS = Fire/Fire.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CONFIGURATION_BUILD_DIR = "/Library/Input Methods";
CONFIGURATION_BUILD_DIR = build/Debug;
DEVELOPMENT_TEAM = T68XK6867P;
ENABLE_HARDENED_RUNTIME = YES;
EXCLUDED_ARCHS = "";
Expand All @@ -686,7 +623,6 @@
};
451E6054232E227C007B0463 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = C9B35A5256409EF1557C898C /* Pods-Fire.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
BUILD_LIBRARY_FOR_DISTRIBUTION = NO;
Expand Down Expand Up @@ -716,7 +652,6 @@
};
45577E6425442E240064325B /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 84E31A001A3B997360EE5A42 /* Pods-TableBuilder.debug.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
Expand All @@ -731,7 +666,6 @@
};
45577E6525442E240064325B /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 63CA87FF28AC32324A6D50A5 /* Pods-TableBuilder.release.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
Expand Down Expand Up @@ -775,6 +709,77 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
676C7E862AB36285008C72D4 /* XCRemoteSwiftPackageReference "Settings" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/sindresorhus/Settings";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 3.0.0;
};
};
676C7E892AB362D7008C72D4 /* XCRemoteSwiftPackageReference "Defaults" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/sindresorhus/Defaults";
requirement = {
branch = main;
kind = branch;
};
};
676C7E8C2AB363BA008C72D4 /* XCRemoteSwiftPackageReference "keychain-swift" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/evgenyneu/keychain-swift.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 20.0.0;
};
};
676C7E8F2AB3640B008C72D4 /* XCRemoteSwiftPackageReference "NanoID" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/Tundaware/NanoID.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 1.0.0;
};
};
676C7E922AB364DE008C72D4 /* XCRemoteSwiftPackageReference "Sparkle" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/sparkle-project/Sparkle";
requirement = {
kind = exactVersion;
version = 1.26.0;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
676C7E872AB36285008C72D4 /* Settings */ = {
isa = XCSwiftPackageProductDependency;
package = 676C7E862AB36285008C72D4 /* XCRemoteSwiftPackageReference "Settings" */;
productName = Settings;
};
676C7E8A2AB362D7008C72D4 /* Defaults */ = {
isa = XCSwiftPackageProductDependency;
package = 676C7E892AB362D7008C72D4 /* XCRemoteSwiftPackageReference "Defaults" */;
productName = Defaults;
};
676C7E8D2AB363BA008C72D4 /* KeychainSwift */ = {
isa = XCSwiftPackageProductDependency;
package = 676C7E8C2AB363BA008C72D4 /* XCRemoteSwiftPackageReference "keychain-swift" */;
productName = KeychainSwift;
};
676C7E902AB3640B008C72D4 /* NanoID */ = {
isa = XCSwiftPackageProductDependency;
package = 676C7E8F2AB3640B008C72D4 /* XCRemoteSwiftPackageReference "NanoID" */;
productName = NanoID;
};
676C7E932AB364DE008C72D4 /* Sparkle */ = {
isa = XCSwiftPackageProductDependency;
package = 676C7E922AB364DE008C72D4 /* XCRemoteSwiftPackageReference "Sparkle" */;
productName = Sparkle;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 451E603C232E227B007B0463 /* Project object */;
}

0 comments on commit e087b0d

Please sign in to comment.