Skip to content

Commit

Permalink
chore: GRDB static link
Browse files Browse the repository at this point in the history
  • Loading branch information
rinsuki committed Sep 29, 2023
1 parent 5efd19c commit d732afd
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ source "https://rubygems.org"

gem "fastlane", "~> 2.216.0"
gem "cocoapods", "~> 1.13.0"
gem "cocoapods-pod-linkage", "0.0.1"
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ GEM
cocoapods-downloader (1.6.3)
cocoapods-plugins (1.0.0)
nap
cocoapods-pod-linkage (0.0.1)
cocoapods (~> 1.0)
cocoapods-search (1.0.1)
cocoapods-trunk (1.6.0)
nap (>= 0.8, < 2.0)
Expand Down Expand Up @@ -275,6 +277,7 @@ PLATFORMS

DEPENDENCIES
cocoapods (~> 1.13.0)
cocoapods-pod-linkage (= 0.0.1)
fastlane (~> 2.216.0)

BUNDLED WITH
Expand Down
7 changes: 6 additions & 1 deletion Podfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# Uncomment the next line to define a global platform for your project
source 'https://cdn.cocoapods.org/'
plugin 'cocoapods-pod-linkage'

abstract_target 'iMastShared' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

pod 'SwiftLint', '0.52.4'
pod 'Alamofire', '~> 4.9.1'
pod 'GRDB.swift', '~> 4.6.2'
def core_pods
pod 'GRDB.swift', '~> 4.6.2', :linkage => :static
end
pod 'SwiftyJSON', '5.0.0'
pod 'HydraAsync', '~> 2.0.6'
pod 'SDWebImage', '~> 5.12.6'
Expand Down Expand Up @@ -47,6 +50,7 @@ abstract_target 'iMastShared' do
end

target 'iMastiOSCore' do
core_pods
end
end

Expand All @@ -59,6 +63,7 @@ abstract_target 'iMastShared' do
end

target 'iMastMacCore' do
core_pods
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ SPEC CHECKSUMS:
SwiftLint: 1cc5cd61ba9bacb2194e340aeb47a2a37fda00b3
SwiftyJSON: 36413e04c44ee145039d332b4f4e2d3e8d6c4db7

PODFILE CHECKSUM: 16ea1823fabeb9f045560909120735c124fc0bc9
PODFILE CHECKSUM: eec6d544bb8107e88e88e4075992f435b33bed36

COCOAPODS: 1.13.0
14 changes: 2 additions & 12 deletions iMast.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
5D337B0226C952F600258CD1 /* UserProfileFieldViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D337B0126C952F600258CD1 /* UserProfileFieldViewController.swift */; };
617DCFFE4FE3CD56EDE14AD4 /* Pods_iMastShared_Mac_iMastMacCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EEED81AAD927A30AFB818324 /* Pods_iMastShared_Mac_iMastMacCore.framework */; };
78E0877ECED7B80513CC23A5 /* Pods_iMastShared_iOS_iMastNotifyService.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AE46AB9BC10111AED90813E9 /* Pods_iMastShared_iOS_iMastNotifyService.framework */; };
904584C585DF8DF528E745A9 /* (null) in Frameworks */ = {isa = PBXBuildFile; };
904584C585DF8DF528E745A9 /* BuildFile in Frameworks */ = {isa = PBXBuildFile; };
A7656BE4690605B053B4F2B1 /* Pods_iMastShared_iOS_iMast_iOS_iMastTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D659691936E0C9F88AA1BC71 /* Pods_iMastShared_iOS_iMast_iOS_iMastTests.framework */; };
C97D891E6594EA490EEDC060 /* Pods_iMastShared_Mac_iMast_Mac__with_Sparkle_.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE03FF8425DCD85E0024BF70 /* Pods_iMastShared_Mac_iMast_Mac__with_Sparkle_.framework */; };
CE030A6B2A42354800170E32 /* AddAccountAcquireTokenViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE030A6A2A42354800170E32 /* AddAccountAcquireTokenViewController.swift */; };
Expand Down Expand Up @@ -1061,7 +1061,7 @@
buildActionMask = 2147483647;
files = (
CEE4E3332377F7D800406371 /* iMastMacCore.framework in Frameworks */,
904584C585DF8DF528E745A9 /* (null) in Frameworks */,
904584C585DF8DF528E745A9 /* BuildFile in Frameworks */,
3CB0034D20C8D2DE04A5A969 /* Pods_iMastShared_Mac_iMast_Mac__App_Store_.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -2854,7 +2854,6 @@
"${PODS_ROOT}/Target Support Files/Pods-iMastShared-Mac-iMast Mac (App Store)/Pods-iMastShared-Mac-iMast Mac (App Store)-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/Alamofire-macOS/Alamofire.framework",
"${BUILT_PRODUCTS_DIR}/Fuzi-macOS/Fuzi.framework",
"${BUILT_PRODUCTS_DIR}/GRDB.swift-macOS/GRDB.framework",
"${BUILT_PRODUCTS_DIR}/HydraAsync-macOS/Hydra.framework",
"${BUILT_PRODUCTS_DIR}/KeychainAccess-macOS/KeychainAccess.framework",
"${BUILT_PRODUCTS_DIR}/SDWebImage-macOS/SDWebImage.framework",
Expand All @@ -2865,7 +2864,6 @@
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Fuzi.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GRDB.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Hydra.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KeychainAccess.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework",
Expand Down Expand Up @@ -2904,7 +2902,6 @@
"${PODS_ROOT}/Target Support Files/Pods-iMastShared-iOS-iMast iOS-iMastUITests/Pods-iMastShared-iOS-iMast iOS-iMastUITests-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/Alamofire-iOS/Alamofire.framework",
"${BUILT_PRODUCTS_DIR}/Fuzi-iOS/Fuzi.framework",
"${BUILT_PRODUCTS_DIR}/GRDB.swift-iOS/GRDB.framework",
"${BUILT_PRODUCTS_DIR}/HydraAsync-iOS/Hydra.framework",
"${BUILT_PRODUCTS_DIR}/KeychainAccess-iOS/KeychainAccess.framework",
"${BUILT_PRODUCTS_DIR}/Mew/Mew.framework",
Expand All @@ -2918,7 +2915,6 @@
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Fuzi.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GRDB.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Hydra.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KeychainAccess.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mew.framework",
Expand Down Expand Up @@ -2978,7 +2974,6 @@
"${PODS_ROOT}/Target Support Files/Pods-iMastShared-iOS-iMast iOS-iMastTests/Pods-iMastShared-iOS-iMast iOS-iMastTests-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/Alamofire-iOS/Alamofire.framework",
"${BUILT_PRODUCTS_DIR}/Fuzi-iOS/Fuzi.framework",
"${BUILT_PRODUCTS_DIR}/GRDB.swift-iOS/GRDB.framework",
"${BUILT_PRODUCTS_DIR}/HydraAsync-iOS/Hydra.framework",
"${BUILT_PRODUCTS_DIR}/KeychainAccess-iOS/KeychainAccess.framework",
"${BUILT_PRODUCTS_DIR}/Mew/Mew.framework",
Expand All @@ -2992,7 +2987,6 @@
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Fuzi.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GRDB.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Hydra.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KeychainAccess.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mew.framework",
Expand Down Expand Up @@ -3034,7 +3028,6 @@
"${PODS_ROOT}/Target Support Files/Pods-iMastShared-iOS-iMast iOS/Pods-iMastShared-iOS-iMast iOS-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/Alamofire-iOS/Alamofire.framework",
"${BUILT_PRODUCTS_DIR}/Fuzi-iOS/Fuzi.framework",
"${BUILT_PRODUCTS_DIR}/GRDB.swift-iOS/GRDB.framework",
"${BUILT_PRODUCTS_DIR}/HydraAsync-iOS/Hydra.framework",
"${BUILT_PRODUCTS_DIR}/KeychainAccess-iOS/KeychainAccess.framework",
"${BUILT_PRODUCTS_DIR}/Mew/Mew.framework",
Expand All @@ -3048,7 +3041,6 @@
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Fuzi.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GRDB.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Hydra.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KeychainAccess.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mew.framework",
Expand Down Expand Up @@ -3285,7 +3277,6 @@
"${PODS_ROOT}/Target Support Files/Pods-iMastShared-Mac-iMast Mac (with Sparkle)/Pods-iMastShared-Mac-iMast Mac (with Sparkle)-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/Alamofire-macOS/Alamofire.framework",
"${BUILT_PRODUCTS_DIR}/Fuzi-macOS/Fuzi.framework",
"${BUILT_PRODUCTS_DIR}/GRDB.swift-macOS/GRDB.framework",
"${BUILT_PRODUCTS_DIR}/HydraAsync-macOS/Hydra.framework",
"${BUILT_PRODUCTS_DIR}/KeychainAccess-macOS/KeychainAccess.framework",
"${BUILT_PRODUCTS_DIR}/SDWebImage-macOS/SDWebImage.framework",
Expand All @@ -3296,7 +3287,6 @@
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Fuzi.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GRDB.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Hydra.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KeychainAccess.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework",
Expand Down

0 comments on commit d732afd

Please sign in to comment.