Skip to content

Commit

Permalink
Fix Carthage support
Browse files Browse the repository at this point in the history
Adding shared scheme to fix Carthage support
  • Loading branch information
KarimEbrahemAbdelaziz committed Apr 7, 2020
1 parent acbe673 commit 04677fa
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 5 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.2-green.svg?style=flat" alt="Version" />
<img src="http://img.shields.io/badge/version-0.1.3-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.2'
pod 'Zen', '~> 0.1.3'
```

### 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.2
github "KarimEbrahemAbdelaziz/Zen" ~> 0.1.3
```

### 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.2"))
.package(url: "https://github.com/KarimEbrahemAbdelaziz/Zen.git", .upToNextMajor(from: "0.1.3"))
]
```

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.2'
s.version = '0.1.3'
s.summary = 'Zero Effort Networking Library in Swift.'

# This description is used to generate tags and improve search results.
Expand Down
67 changes: 67 additions & 0 deletions Zen/Zen.xcodeproj/xcshareddata/xcschemes/Zen.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1130"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BCC88A54243C12090087AFAB"
BuildableName = "Zen.framework"
BlueprintName = "Zen"
ReferencedContainer = "container:Zen.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BCC88A54243C12090087AFAB"
BuildableName = "Zen.framework"
BlueprintName = "Zen"
ReferencedContainer = "container:Zen.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

0 comments on commit 04677fa

Please sign in to comment.