From 80fe44e05de6ba1cec8365f1b11d4ef066cafe65 Mon Sep 17 00:00:00 2001 From: Anatoli Shmanai Date: Thu, 15 Aug 2024 13:19:25 +0300 Subject: [PATCH] Added pods --- .gitignore | 41 ++++++++++ Podfile | 12 +++ Podfile.lock | 16 ++++ WeatherPlus.xcodeproj/project.pbxproj | 71 ++++++++++++++++++ .../UserInterfaceState.xcuserstate | Bin 34523 -> 34523 bytes .../xcshareddata/swiftpm/Package.resolved | 15 ++++ WeatherPlus/AppDelegate.swift | 1 + 7 files changed, 156 insertions(+) create mode 100644 .gitignore create mode 100644 Podfile create mode 100644 Podfile.lock create mode 100644 WeatherPlus.xcworkspace/xcshareddata/swiftpm/Package.resolved diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2e346d2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,41 @@ +# macOS +.DS_Store + +# Xcode +build/ +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +xcuserdata/ +*.xccheckout +*.moved-aside +DerivedData +*.hmap +*.ipa + +# Bundler +.bundle + +# Add this line if you want to avoid checking in source code from Carthage dependencies. +# Carthage/Checkouts + +Carthage/Build + +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control +# +# Note: if you ignore the Pods directory, make sure to uncomment +# `pod install` in .travis.yml +# +# Pods/ +*.h +/Example/Pods +/WeatherPlus/Pods +/SEUnified/Pods +Pods/ diff --git a/Podfile b/Podfile new file mode 100644 index 0000000..303f379 --- /dev/null +++ b/Podfile @@ -0,0 +1,12 @@ +# Uncomment the next line to define a global platform for your project +# platform :ios, '9.0' + +target 'WeatherPlus' do + # Comment the next line if you don't want to use dynamic frameworks + use_frameworks! + + # Pods for WeatherPlus + + +pod 'Alamofire' +end diff --git a/Podfile.lock b/Podfile.lock new file mode 100644 index 0000000..fe7b1fc --- /dev/null +++ b/Podfile.lock @@ -0,0 +1,16 @@ +PODS: + - Alamofire (5.9.1) + +DEPENDENCIES: + - Alamofire + +SPEC REPOS: + trunk: + - Alamofire + +SPEC CHECKSUMS: + Alamofire: f36a35757af4587d8e4f4bfa223ad10be2422b8c + +PODFILE CHECKSUM: 5ca41f4278df966b99beb3ab7144174bc0292c39 + +COCOAPODS: 1.15.2 diff --git a/WeatherPlus.xcodeproj/project.pbxproj b/WeatherPlus.xcodeproj/project.pbxproj index 64bb2bc..fb7e510 100644 --- a/WeatherPlus.xcodeproj/project.pbxproj +++ b/WeatherPlus.xcodeproj/project.pbxproj @@ -35,9 +35,11 @@ 5CF1C26D258373DC00C7C9B6 /* Extension + Configure.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CF1C26C258373DC00C7C9B6 /* Extension + Configure.swift */; }; 5CF1C2732583753B00C7C9B6 /* Extenison + HConfigure.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CF1C2722583753B00C7C9B6 /* Extenison + HConfigure.swift */; }; 5CF1C2762583BFA500C7C9B6 /* Extension + BackupData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CF1C2752583BFA500C7C9B6 /* Extension + BackupData.swift */; }; + BAC589F79C4AEA7C5FCE928F /* Pods_WeatherPlus.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DDCD505A500496DF6A25139D /* Pods_WeatherPlus.framework */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + 0E852B12DBF14EFBD6A24184 /* Pods-WeatherPlus.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WeatherPlus.debug.xcconfig"; path = "Target Support Files/Pods-WeatherPlus/Pods-WeatherPlus.debug.xcconfig"; sourceTree = ""; }; 5C0FF1B02583FA5200BF4E22 /* Extension + DateRormatterM.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Extension + DateRormatterM.swift"; sourceTree = ""; }; 5C4DF03B257FD585009DBD05 /* WeatherPlus.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WeatherPlus.app; sourceTree = BUILT_PRODUCTS_DIR; }; 5C4DF03E257FD585009DBD05 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -66,6 +68,8 @@ 5CF1C26F258374F600C7C9B6 /* Extension + FetchHImage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Extension + FetchHImage.swift"; sourceTree = ""; }; 5CF1C2722583753B00C7C9B6 /* Extenison + HConfigure.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Extenison + HConfigure.swift"; sourceTree = ""; }; 5CF1C2752583BFA500C7C9B6 /* Extension + BackupData.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Extension + BackupData.swift"; sourceTree = ""; }; + A8AD49C83BAE9A3EF520DDD7 /* Pods-WeatherPlus.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WeatherPlus.release.xcconfig"; path = "Target Support Files/Pods-WeatherPlus/Pods-WeatherPlus.release.xcconfig"; sourceTree = ""; }; + DDCD505A500496DF6A25139D /* Pods_WeatherPlus.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WeatherPlus.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -75,17 +79,30 @@ files = ( 5C2C7E362C6DFDAD000A6DA3 /* SwiftProtobufPluginLibrary in Frameworks */, 5C2C7E342C6DFDAD000A6DA3 /* SwiftProtobuf in Frameworks */, + BAC589F79C4AEA7C5FCE928F /* Pods_WeatherPlus.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 0A1383F7AA137E51C97241BC /* Pods */ = { + isa = PBXGroup; + children = ( + 0E852B12DBF14EFBD6A24184 /* Pods-WeatherPlus.debug.xcconfig */, + A8AD49C83BAE9A3EF520DDD7 /* Pods-WeatherPlus.release.xcconfig */, + ); + name = Pods; + path = Pods; + sourceTree = ""; + }; 5C4DF032257FD585009DBD05 = { isa = PBXGroup; children = ( 5C4DF03D257FD585009DBD05 /* WeatherPlus */, 5C4DF03C257FD585009DBD05 /* Products */, + 0A1383F7AA137E51C97241BC /* Pods */, + C55FE579251107D24B72AD68 /* Frameworks */, ); sourceTree = ""; }; @@ -187,6 +204,14 @@ path = DescriptionCell; sourceTree = ""; }; + C55FE579251107D24B72AD68 /* Frameworks */ = { + isa = PBXGroup; + children = ( + DDCD505A500496DF6A25139D /* Pods_WeatherPlus.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -194,9 +219,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5C4DF04F257FD586009DBD05 /* Build configuration list for PBXNativeTarget "WeatherPlus" */; buildPhases = ( + 42E326642FC67F3FC831156D /* [CP] Check Pods Manifest.lock */, 5C4DF037257FD585009DBD05 /* Sources */, 5C4DF038257FD585009DBD05 /* Frameworks */, 5C4DF039257FD585009DBD05 /* Resources */, + 4BEB186F0DBBADD3054DED29 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -262,6 +289,48 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 42E326642FC67F3FC831156D /* [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-WeatherPlus-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; + }; + 4BEB186F0DBBADD3054DED29 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-WeatherPlus/Pods-WeatherPlus-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-WeatherPlus/Pods-WeatherPlus-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-WeatherPlus/Pods-WeatherPlus-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 5C4DF037257FD585009DBD05 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -430,6 +499,7 @@ }; 5C4DF050257FD586009DBD05 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 0E852B12DBF14EFBD6A24184 /* Pods-WeatherPlus.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; @@ -449,6 +519,7 @@ }; 5C4DF051257FD586009DBD05 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = A8AD49C83BAE9A3EF520DDD7 /* Pods-WeatherPlus.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; diff --git a/WeatherPlus.xcodeproj/project.xcworkspace/xcuserdata/anatolishmanai.xcuserdatad/UserInterfaceState.xcuserstate b/WeatherPlus.xcodeproj/project.xcworkspace/xcuserdata/anatolishmanai.xcuserdatad/UserInterfaceState.xcuserstate index c87ed3b0f28945190bc8220e34e6f31538bd3991..57c33cbcce56311405b2dfabe9f02f75f0293eb1 100644 GIT binary patch delta 412 zcmW;GOGuPa6u|NCUeC<2a-7O1_!!608J(|te4yq77t+E+80g$`C61x9ol(PhN- zECe7ZkB#UyqQ{14G7xgYP;B2dHwNK~pI7ZCx)v^jN~e5D4nsxygAsi;*HmRQH_@tLe%3YHX%8IiN1rSzO9umPL=2W-SRCXB2#GGb(1Rvu## z-Sml(Q6uZqal6SeJ2BE~CkC7G5ZjzEw%ap~2Ri-g^4}V4N*8*sw43aoQ9Ei^?WukB zRee)O>Zi)9-|7z)QZJ3t1A0bN^palFTiT)>+NCeFNBeX@-|3Kkcz>Ut2Krr2@hIQp y`}~j}@e>~7aWH2=LBXLM5M9Q$t?uG%EVEbdvl2|(~$1@A@+ zH{-$!25o|wO{*wg#1Irn5N)hMT{)}BRko;Ae<0}XzQ4_fU#qHHRsCXH`v~oD9J-(z zPQb}%UvDYDfFn4HMV!D%oQj^oV}vJr?Y+^J&WW75xDf>IZGOBDJVd*m4q0_12df1ln($M3cj*TRt zFV22f(CVQ&X7vFMTOEYotj>m`u4&G@@8!89 zp7PQ-7ApnZ!BX55s#%I^* zCB38f^npIoHZ^I7_UJ49pkMTt{;|i%9qe8m? zl+A)!G)v}&xn-8kJ+op~&3*ISd^W#DNlJ2(my%4&H7U!2T$e>zlACfzDzY3EAHCB5 E0riY`rvLx| diff --git a/WeatherPlus.xcworkspace/xcshareddata/swiftpm/Package.resolved b/WeatherPlus.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000..8d09d80 --- /dev/null +++ b/WeatherPlus.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,15 @@ +{ + "originHash" : "9f1e4ec4211205225a9be53f971e143ca4f7b80574f1ff773ebee5bf69ffe8ab", + "pins" : [ + { + "identity" : "swift-protobuf", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-protobuf.git", + "state" : { + "revision" : "e17d61f26df0f0e06f58f6977ba05a097a720106", + "version" : "1.27.1" + } + } + ], + "version" : 3 +} diff --git a/WeatherPlus/AppDelegate.swift b/WeatherPlus/AppDelegate.swift index ea55ff4..20f95bd 100644 --- a/WeatherPlus/AppDelegate.swift +++ b/WeatherPlus/AppDelegate.swift @@ -6,6 +6,7 @@ // import UIKit +import Alamofire @main class AppDelegate: UIResponder, UIApplicationDelegate {