Skip to content

Commit

Permalink
Removing dependency on AlamoFire.
Browse files Browse the repository at this point in the history
  • Loading branch information
rnine committed Jan 27, 2021
1 parent 1242ad0 commit 9ab21a0
Show file tree
Hide file tree
Showing 22 changed files with 185 additions and 206 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Change Log
==========

Version 2.6.0 (*TBD*)
----------------------------

- Removed dependency on `AlamoFire`.

Version 2.5.2 (2020-10-22)
----------------------------

Expand Down
29 changes: 24 additions & 5 deletions Demo/FilestackDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 48;
objectVersion = 52;
objects = {

/* Begin PBXBuildFile section */
Expand All @@ -13,6 +13,8 @@
4540548C1F98A69A00C12B2F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4540548B1F98A69A00C12B2F /* Assets.xcassets */; };
4540548F1F98A69A00C12B2F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4540548D1F98A69A00C12B2F /* LaunchScreen.storyboard */; };
455AB6C2232FD680001ABE81 /* UIViewController+PresentAlert.swift in Sources */ = {isa = PBXBuildFile; fileRef = 455AB6C1232FD680001ABE81 /* UIViewController+PresentAlert.swift */; };
4577A47025BB022700A2CEB9 /* FilestackSDK in Frameworks */ = {isa = PBXBuildFile; productRef = 4577A46F25BB022700A2CEB9 /* FilestackSDK */; };
4577A47125BB022700A2CEB9 /* FilestackSDK in Embed Frameworks */ = {isa = PBXBuildFile; productRef = 4577A46F25BB022700A2CEB9 /* FilestackSDK */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
45A758C52535DE6800C8547F /* Filestack.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 45A758C32535DE6200C8547F /* Filestack.framework */; };
45A758C62535DE6800C8547F /* Filestack.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 45A758C32535DE6200C8547F /* Filestack.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
/* End PBXBuildFile section */
Expand All @@ -24,6 +26,7 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
4577A47125BB022700A2CEB9 /* FilestackSDK in Embed Frameworks */,
45A758C62535DE6800C8547F /* Filestack.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
Expand All @@ -48,6 +51,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
4577A47025BB022700A2CEB9 /* FilestackSDK in Frameworks */,
45A758C52535DE6800C8547F /* Filestack.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -120,6 +124,7 @@
);
name = FilestackDemo;
packageProductDependencies = (
4577A46F25BB022700A2CEB9 /* FilestackSDK */,
);
productName = FilestackDemo;
productReference = 454054811F98A69A00C12B2F /* FilestackDemo.app */;
Expand All @@ -132,7 +137,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0900;
LastUpgradeCheck = 1210;
LastUpgradeCheck = 1230;
ORGANIZATIONNAME = Filestack;
TargetAttributes = {
454054801F98A69A00C12B2F = {
Expand Down Expand Up @@ -315,7 +320,8 @@
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 5.0;
VALIDATE_PRODUCT = YES;
};
Expand All @@ -330,7 +336,10 @@
DEVELOPMENT_TEAM = ZBJR46PSPF;
INFOPLIST_FILE = FilestackDemo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
LLVM_LTO = YES_THIN;
PRODUCT_BUNDLE_IDENTIFIER = com.filestack.FilestackDemo;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -348,7 +357,10 @@
DEVELOPMENT_TEAM = ZBJR46PSPF;
INFOPLIST_FILE = FilestackDemo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
LLVM_LTO = YES_THIN;
PRODUCT_BUNDLE_IDENTIFIER = com.filestack.FilestackDemo;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -379,6 +391,13 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCSwiftPackageProductDependency section */
4577A46F25BB022700A2CEB9 /* FilestackSDK */ = {
isa = XCSwiftPackageProductDependency;
productName = FilestackSDK;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 454054791F98A69A00C12B2F /* Project object */;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1210"
LastUpgradeVersion = "1230"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
3 changes: 1 addition & 2 deletions Filestack.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Pod::Spec.new do |spec|

spec.swift_versions = [4.2, 5.2]

spec.dependency 'Alamofire', '~> 4.9'
spec.dependency 'FilestackSDK', '~> 2.5'
spec.dependency 'FilestackSDK', '~> 2.6'
spec.dependency 'Zip', '~> 2.1'
end
45 changes: 23 additions & 22 deletions Filestack.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
4540BB712535CF860053CDBB /* AVAsset+Export.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4540BAFA2535CF860053CDBB /* AVAsset+Export.swift */; };
4540BB722535CF860053CDBB /* UICollectionView+Reusable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4540BAFB2535CF860053CDBB /* UICollectionView+Reusable.swift */; };
4540BB732535CF860053CDBB /* UIColor+Predefined.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4540BAFC2535CF860053CDBB /* UIColor+Predefined.swift */; };
4540BB742535CF860053CDBB /* SessionManager+FilestackDefault.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4540BAFD2535CF860053CDBB /* SessionManager+FilestackDefault.swift */; };
4540BB742535CF860053CDBB /* URLSession+FilestackDefault.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4540BAFD2535CF860053CDBB /* URLSession+FilestackDefault.swift */; };
4540BB752535CF860053CDBB /* Math+Clamp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4540BAFE2535CF860053CDBB /* Math+Clamp.swift */; };
4540BB762535CF860053CDBB /* String+UTI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4540BAFF2535CF860053CDBB /* String+UTI.swift */; };
4540BB772535CF860053CDBB /* UIImage+Bundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4540BB002535CF860053CDBB /* UIImage+Bundle.swift */; };
Expand Down Expand Up @@ -117,13 +117,27 @@
4540BB9C2535CF860053CDBB /* Client+ObjC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4540BB2F2535CF860053CDBB /* Client+ObjC.swift */; };
4540BB9D2535CF860053CDBB /* Client+Deprecated.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4540BB302535CF860053CDBB /* Client+Deprecated.swift */; };
45453E8D2535E3540090F78D /* Bundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45453E8C2535E3540090F78D /* Bundle.swift */; };
4564B90D2535B3DA0045A3C7 /* Alamofire in Frameworks */ = {isa = PBXBuildFile; productRef = 4564B90C2535B3DA0045A3C7 /* Alamofire */; };
4564B9112535B3E70045A3C7 /* Zip in Frameworks */ = {isa = PBXBuildFile; productRef = 4564B9102535B3E70045A3C7 /* Zip */; };
4564B9152535B4030045A3C7 /* FilestackSDK in Frameworks */ = {isa = PBXBuildFile; productRef = 4564B9142535B4030045A3C7 /* FilestackSDK */; };
4577A46D25BB01CF00A2CEB9 /* FilestackSDK in Embed Frameworks */ = {isa = PBXBuildFile; productRef = 4564B9142535B4030045A3C7 /* FilestackSDK */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
4581FF55253869260019B70F /* URL+Move.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4581FF54253869260019B70F /* URL+Move.swift */; };
4581FF5D25388EBD0019B70F /* PhotosPickerFilter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4581FF5C25388EBD0019B70F /* PhotosPickerFilter.swift */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
4577A46E25BB01CF00A2CEB9 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
4577A46D25BB01CF00A2CEB9 /* FilestackSDK in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
450FE2CF2539AEC40035D67C /* Zip+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Zip+Extensions.swift"; sourceTree = "<group>"; };
4518BDF51FC6DE0400FB7D9D /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
Expand Down Expand Up @@ -193,7 +207,7 @@
4540BAFA2535CF860053CDBB /* AVAsset+Export.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "AVAsset+Export.swift"; sourceTree = "<group>"; };
4540BAFB2535CF860053CDBB /* UICollectionView+Reusable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UICollectionView+Reusable.swift"; sourceTree = "<group>"; };
4540BAFC2535CF860053CDBB /* UIColor+Predefined.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIColor+Predefined.swift"; sourceTree = "<group>"; };
4540BAFD2535CF860053CDBB /* SessionManager+FilestackDefault.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "SessionManager+FilestackDefault.swift"; sourceTree = "<group>"; };
4540BAFD2535CF860053CDBB /* URLSession+FilestackDefault.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "URLSession+FilestackDefault.swift"; sourceTree = "<group>"; };
4540BAFE2535CF860053CDBB /* Math+Clamp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Math+Clamp.swift"; sourceTree = "<group>"; };
4540BAFF2535CF860053CDBB /* String+UTI.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "String+UTI.swift"; sourceTree = "<group>"; };
4540BB002535CF860053CDBB /* UIImage+Bundle.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIImage+Bundle.swift"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -238,6 +252,7 @@
4540BB312535CF860053CDBB /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
45453E8C2535E3540090F78D /* Bundle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Bundle.swift; sourceTree = "<group>"; };
457084FF1F975C6C00991340 /* Filestack.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Filestack.framework; sourceTree = BUILT_PRODUCTS_DIR; };
4577A46925BB017600A2CEB9 /* filestack-swift */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "filestack-swift"; path = "../filestack-swift"; sourceTree = "<group>"; };
4581FF54253869260019B70F /* URL+Move.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "URL+Move.swift"; sourceTree = "<group>"; };
4581FF5C25388EBD0019B70F /* PhotosPickerFilter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PhotosPickerFilter.swift; sourceTree = "<group>"; };
45BFF67A23290B1E00944028 /* Filestack.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Filestack.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
Expand All @@ -252,7 +267,6 @@
buildActionMask = 2147483647;
files = (
4564B9152535B4030045A3C7 /* FilestackSDK in Frameworks */,
4564B90D2535B3DA0045A3C7 /* Alamofire in Frameworks */,
4564B9112535B3E70045A3C7 /* Zip in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -603,7 +617,7 @@
4540BB052535CF860053CDBB /* Data+JSON.swift */,
4540BB012535CF860053CDBB /* ImageURLExportPreset+asImagePickerControllerImageURLExportPreset.swift */,
4540BAFE2535CF860053CDBB /* Math+Clamp.swift */,
4540BAFD2535CF860053CDBB /* SessionManager+FilestackDefault.swift */,
4540BAFD2535CF860053CDBB /* URLSession+FilestackDefault.swift */,
4540BAFF2535CF860053CDBB /* String+UTI.swift */,
4540BAFB2535CF860053CDBB /* UICollectionView+Reusable.swift */,
4540BB062535CF860053CDBB /* UIColor+Bundle.swift */,
Expand Down Expand Up @@ -734,6 +748,7 @@
457084F51F975C6B00991340 = {
isa = PBXGroup;
children = (
4577A46925BB017600A2CEB9 /* filestack-swift */,
45BFF67B23290B1E00944028 /* LICENSE */,
45BFF67D23290B1F00944028 /* VERSION */,
45BFF67C23290B1F00944028 /* CHANGELOG.md */,
Expand Down Expand Up @@ -776,14 +791,14 @@
457084FC1F975C6C00991340 /* Headers */,
457084FD1F975C6C00991340 /* Resources */,
452B6ADB1FA89A4F00FFD490 /* Set Version and Build Number */,
4577A46E25BB01CF00A2CEB9 /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = Filestack;
packageProductDependencies = (
4564B90C2535B3DA0045A3C7 /* Alamofire */,
4564B9102535B3E70045A3C7 /* Zip */,
4564B9142535B4030045A3C7 /* FilestackSDK */,
);
Expand All @@ -798,7 +813,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0900;
LastUpgradeCheck = 1210;
LastUpgradeCheck = 1230;
ORGANIZATIONNAME = Filestack;
TargetAttributes = {
457084FE1F975C6C00991340 = {
Expand All @@ -818,7 +833,6 @@
);
mainGroup = 457084F51F975C6B00991340;
packageReferences = (
4564B90B2535B3DA0045A3C7 /* XCRemoteSwiftPackageReference "Alamofire" */,
4564B90F2535B3E70045A3C7 /* XCRemoteSwiftPackageReference "Zip" */,
4564B9132535B4030045A3C7 /* XCRemoteSwiftPackageReference "filestack-swift" */,
4564B91A2535B4670045A3C7 /* XCRemoteSwiftPackageReference "OHHTTPStubs" */,
Expand Down Expand Up @@ -905,7 +919,7 @@
4540BB3E2535CF860053CDBB /* UserDefaults+State.swift in Sources */,
4540BB842535CF860053CDBB /* CGRect+Scale.swift in Sources */,
4540BB9D2535CF860053CDBB /* Client+Deprecated.swift in Sources */,
4540BB742535CF860053CDBB /* SessionManager+FilestackDefault.swift in Sources */,
4540BB742535CF860053CDBB /* URLSession+FilestackDefault.swift in Sources */,
4540BB6E2535CF860053CDBB /* TrackingProgress.swift in Sources */,
4540BB782535CF860053CDBB /* ImageURLExportPreset+asImagePickerControllerImageURLExportPreset.swift in Sources */,
4540BB592535CF860053CDBB /* SelectionCell.swift in Sources */,
Expand Down Expand Up @@ -1181,14 +1195,6 @@
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
4564B90B2535B3DA0045A3C7 /* XCRemoteSwiftPackageReference "Alamofire" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/Alamofire/Alamofire.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 4.9.1;
};
};
4564B90F2535B3E70045A3C7 /* XCRemoteSwiftPackageReference "Zip" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/marmelroy/Zip.git";
Expand Down Expand Up @@ -1216,11 +1222,6 @@
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
4564B90C2535B3DA0045A3C7 /* Alamofire */ = {
isa = XCSwiftPackageProductDependency;
package = 4564B90B2535B3DA0045A3C7 /* XCRemoteSwiftPackageReference "Alamofire" */;
productName = Alamofire;
};
4564B9102535B3E70045A3C7 /* Zip */ = {
isa = XCSwiftPackageProductDependency;
package = 4564B90F2535B3E70045A3C7 /* XCRemoteSwiftPackageReference "Zip" */;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1210"
LastUpgradeVersion = "1230"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
18 changes: 0 additions & 18 deletions Filestack.xcworkspace/xcshareddata/swiftpm/Package.resolved
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
{
"object": {
"pins": [
{
"package": "Alamofire",
"repositoryURL": "https://github.com/Alamofire/Alamofire.git",
"state": {
"branch": null,
"revision": "747c8db8d57b68d5e35275f10c92d55f982adbd4",
"version": "4.9.1"
}
},
{
"package": "FilestackSDK",
"repositoryURL": "https://github.com/filestack/filestack-swift.git",
"state": {
"branch": null,
"revision": "d86a55e6528f4fd4bf376938b3a397acb8de489f",
"version": "2.5.1"
}
},
{
"package": "OHHTTPStubs",
"repositoryURL": "https://github.com/AliSoftware/OHHTTPStubs.git",
Expand Down
6 changes: 3 additions & 3 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"pins": [
{
"package": "Alamofire",
"repositoryURL": "https://github.com/Alamofire/Alamofire",
"repositoryURL": "https://github.com/Alamofire/Alamofire.git",
"state": {
"branch": null,
"revision": "747c8db8d57b68d5e35275f10c92d55f982adbd4",
Expand All @@ -15,8 +15,8 @@
"repositoryURL": "https://github.com/filestack/filestack-swift",
"state": {
"branch": null,
"revision": "d79c189741f59b4004abee5862e7b4b3d82f1f2a",
"version": "2.5.1"
"revision": "411eb13794f021c8429c5c2de2e0b4ea10de4ecf",
"version": "2.5.2"
}
},
{
Expand Down
10 changes: 3 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,13 @@ let package = Package(
),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/Alamofire/Alamofire", from: "4.9.1"),
.package(name: "FilestackSDK", url: "https://github.com/filestack/filestack-swift", from: "2.4.1"),
.package(url: "https://github.com/marmelroy/Zip", from: "2.1.1")
.package(name: "FilestackSDK", url: "https://github.com/filestack/filestack-swift", .upToNextMajor(from: Version(2, 5, 0))),
.package(url: "https://github.com/marmelroy/Zip", .upToNextMajor(from: Version(2, 1, 0)))
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "Filestack",
dependencies: ["Alamofire", "FilestackSDK", "Zip"],
dependencies: ["FilestackSDK", "Zip"],
exclude: ["Filestack.h", "Info.plist"],
resources: [
.copy("VERSION")
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ platform :ios, '11.0'
use_frameworks!
target '<Your Target Name>' do
pod 'Filestack', '~> 2.5.2'
pod 'Filestack', '~> 2.6.0'
end
```

Expand All @@ -52,9 +52,9 @@ $ brew install carthage

To integrate Filestack into your Xcode project using Carthage, specify it in your `Cartfile`:

`github "filestack/filestack-ios" ~> 2.5.2`
`github "filestack/filestack-ios" ~> 2.6.0`

Run `carthage update` to build the framework and drag the built `Filestack.framework` into your Xcode project. Additionally, add `Filestack.framework`, `FilestackSDK.framework`, `Alamofire.framework`, and `Zip.framework` to the embedded frameworks build phase of your app's target.
Run `carthage update` to build the framework and drag the built `Filestack.framework` into your Xcode project. Additionally, add `Filestack.framework`, `FilestackSDK.framework`, and `Zip.framework` to the embedded frameworks build phase of your app's target.

### Swift Package Manager

Expand All @@ -64,7 +64,7 @@ Alternatively, if you are adding `Filestack` to your own Swift Package, declare

```swift
dependencies: [
.package(name: "Filestack", url: "https://github.com/filestack/filestack-ios.git", .upToNextMajor(from: "2.5.2"))
.package(name: "Filestack", url: "https://github.com/filestack/filestack-ios.git", .upToNextMajor(from: "2.6.0"))
]
```

Expand All @@ -81,7 +81,6 @@ Add Filestack and its dependencies as git submodules by running the following co
```shell
$ git submodule add https://github.com/filestack/filestack-ios.git
$ git submodule add https://github.com/filestack/filestack-swift.git
$ git submodule add https://github.com/Alamofire/Alamofire.git
$ git submodule add https://github.com/marmelroy/Zip.git
```

Expand All @@ -96,7 +95,7 @@ In the tab bar at the top of that window, open the "General" panel.

Click on the + button under the "Embedded Binaries" section and choose the `Filestack.framework` for iOS.

Repeat the same process for adding `Alamofire`, `FilestackSDK`, and `Zip` dependent frameworks.
Repeat the same process for adding `FilestackSDK`, and `Zip` dependent frameworks.

## Usage

Expand Down
Loading

0 comments on commit 9ab21a0

Please sign in to comment.