diff --git a/Gemfile b/Gemfile index 0e4e2d01..86e07994 100644 --- a/Gemfile +++ b/Gemfile @@ -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" diff --git a/Gemfile.lock b/Gemfile.lock index 8020991c..1d936ae1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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) @@ -275,6 +277,7 @@ PLATFORMS DEPENDENCIES cocoapods (~> 1.13.0) + cocoapods-pod-linkage (= 0.0.1) fastlane (~> 2.216.0) BUNDLED WITH diff --git a/Podfile b/Podfile index c5ff5e0e..eea6218f 100644 --- a/Podfile +++ b/Podfile @@ -1,5 +1,6 @@ # 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 @@ -7,7 +8,9 @@ abstract_target 'iMastShared' do 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' @@ -47,6 +50,7 @@ abstract_target 'iMastShared' do end target 'iMastiOSCore' do + core_pods end end @@ -59,6 +63,7 @@ abstract_target 'iMastShared' do end target 'iMastMacCore' do + core_pods end end end diff --git a/Podfile.lock b/Podfile.lock index db58ae53..e8e4be6d 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -76,6 +76,6 @@ SPEC CHECKSUMS: SwiftLint: 1cc5cd61ba9bacb2194e340aeb47a2a37fda00b3 SwiftyJSON: 36413e04c44ee145039d332b4f4e2d3e8d6c4db7 -PODFILE CHECKSUM: 16ea1823fabeb9f045560909120735c124fc0bc9 +PODFILE CHECKSUM: eec6d544bb8107e88e88e4075992f435b33bed36 COCOAPODS: 1.13.0 diff --git a/iMast.xcodeproj/project.pbxproj b/iMast.xcodeproj/project.pbxproj index e2e3e2be..7f9e034b 100644 --- a/iMast.xcodeproj/project.pbxproj +++ b/iMast.xcodeproj/project.pbxproj @@ -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 */; }; @@ -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; @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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",