Skip to content

Commit

Permalink
Fix Carthage support
Browse files Browse the repository at this point in the history
  • Loading branch information
KarimEbrahemAbdelaziz committed Apr 8, 2020
1 parent 06e2a63 commit dd62c81
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 25 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<a href="https://github.com/KarimEbrahemAbdelaziz/Zen">
<img src="http://img.shields.io/badge/Swift Package Manager-available-green.svg?style=flat" alt="Swift Package Manager" />
</a>
<img src="http://img.shields.io/badge/version-0.1.4-green.svg?style=flat" alt="Version" />
<img src="http://img.shields.io/badge/version-0.1.5-green.svg?style=flat" alt="Version" />
<br>
<a href="https://www.facebook.com/KarimEbrahemAbdelaziz">
<img src="http://img.shields.io/badge/facebook-%40KarimEbrahemAbdelaziz-70a1fb.svg?style=flat" alt="Facebook: @KarimEbrahemAbdelaziz" />
Expand Down Expand Up @@ -56,15 +56,15 @@ Zen is simple yet powerfull Networking library for iOS. It leverage the powerful
[CocoaPods](https://cocoapods.org) is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Zen into your Xcode project using CocoaPods, specify it in your `Podfile`:

```ruby
pod 'Zen', '~> 0.1.4'
pod 'Zen', '~> 0.1.5'
```

### Carthage

[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate Zen into your Xcode project using Carthage, specify it in your `Cartfile`:

```ogdl
github "KarimEbrahemAbdelaziz/Zen" ~> 0.1.4
github "KarimEbrahemAbdelaziz/Zen" ~> 0.1.5
```

### SPM
Expand All @@ -75,7 +75,7 @@ Once you have your Swift package set up, adding Zen as a dependency is as easy a

```swift
dependencies: [
.package(url: "https://github.com/KarimEbrahemAbdelaziz/Zen.git", .upToNextMajor(from: "0.1.4"))
.package(url: "https://github.com/KarimEbrahemAbdelaziz/Zen.git", .upToNextMajor(from: "0.1.5"))
]
```

Expand Down
2 changes: 1 addition & 1 deletion Zen.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'Zen'
s.version = '0.1.4'
s.version = '0.1.5'
s.summary = 'Zero Effort Networking Library in Swift.'

# This description is used to generate tags and improve search results.
Expand Down
1 change: 0 additions & 1 deletion Zen/Cartfile

This file was deleted.

1 change: 0 additions & 1 deletion Zen/Cartfile.resolved

This file was deleted.

35 changes: 17 additions & 18 deletions Zen/Zen.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
objects = {

/* Begin PBXBuildFile section */
BC27B52B243D60C1005E6E0E /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BCC88A65243C1CF10087AFAB /* Alamofire.framework */; };
BC27B52C243D60C1005E6E0E /* Alamofire.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BCC88A65243C1CF10087AFAB /* Alamofire.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
BC27B530243D617C005E6E0E /* Zen in Frameworks */ = {isa = PBXBuildFile; productRef = BC27B52F243D617C005E6E0E /* Zen */; };
BCC88A5A243C12090087AFAB /* Zen.h in Headers */ = {isa = PBXBuildFile; fileRef = BCC88A58243C12090087AFAB /* Zen.h */; settings = {ATTRIBUTES = (Public, ); }; };
BCC88A63243C125F0087AFAB /* GET.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCC88A62243C125F0087AFAB /* GET.swift */; };
Expand All @@ -20,22 +18,9 @@
BCC88A7C243C1D100087AFAB /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BCC88A7A243C1D100087AFAB /* LaunchScreen.storyboard */; };
BCC88A84243C1D400087AFAB /* APIClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCC88A83243C1D400087AFAB /* APIClient.swift */; };
BCC88A87243C1D4C0087AFAB /* Todo.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCC88A86243C1D4C0087AFAB /* Todo.swift */; };
BCDB9AC2243D7E5100D23B0F /* Alamofire in Frameworks */ = {isa = PBXBuildFile; productRef = BCDB9AC1243D7E5100D23B0F /* Alamofire */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
BC27B52D243D60C1005E6E0E /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
BC27B52C243D60C1005E6E0E /* Alamofire.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
BCC88A55243C12090087AFAB /* Zen.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Zen.framework; sourceTree = BUILT_PRODUCTS_DIR; };
BCC88A58243C12090087AFAB /* Zen.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Zen.h; sourceTree = "<group>"; };
Expand All @@ -59,7 +44,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
BC27B52B243D60C1005E6E0E /* Alamofire.framework in Frameworks */,
BCDB9AC2243D7E5100D23B0F /* Alamofire in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -165,14 +150,14 @@
BCC88A51243C12090087AFAB /* Sources */,
BCC88A52243C12090087AFAB /* Frameworks */,
BCC88A53243C12090087AFAB /* Resources */,
BC27B52D243D60C1005E6E0E /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = Zen;
packageProductDependencies = (
BCDB9AC1243D7E5100D23B0F /* Alamofire */,
);
productName = Zen;
productReference = BCC88A55243C12090087AFAB /* Zen.framework */;
Expand Down Expand Up @@ -228,6 +213,7 @@
mainGroup = BCC88A4B243C12090087AFAB;
packageReferences = (
BC27B52E243D617C005E6E0E /* XCRemoteSwiftPackageReference "Zen" */,
BCDB9AC0243D7E5100D23B0F /* XCRemoteSwiftPackageReference "Alamofire" */,
);
productRefGroup = BCC88A56243C12090087AFAB /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -554,6 +540,14 @@
minimumVersion = 0.1.3;
};
};
BCDB9AC0243D7E5100D23B0F /* XCRemoteSwiftPackageReference "Alamofire" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/Alamofire/Alamofire.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 5.1.0;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
Expand All @@ -562,6 +556,11 @@
package = BC27B52E243D617C005E6E0E /* XCRemoteSwiftPackageReference "Zen" */;
productName = Zen;
};
BCDB9AC1243D7E5100D23B0F /* Alamofire */ = {
isa = XCSwiftPackageProductDependency;
package = BCDB9AC0243D7E5100D23B0F /* XCRemoteSwiftPackageReference "Alamofire" */;
productName = Alamofire;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = BCC88A4C243C12090087AFAB /* Project object */;
Expand Down

0 comments on commit dd62c81

Please sign in to comment.