Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
78f414d
- Pods Updated to use latest Starscream api as I was seeing some cras…
kamrankhan07 Feb 11, 2020
bc61961
project settings fix
kamrankhan07 Feb 11, 2020
a2f547b
set `webSocketAllowsSelfSignedSSL` to true so that websocket connects…
kamrankhan07 Feb 12, 2020
a3393d8
logs removed
kamrankhan07 Feb 25, 2020
bdbd8ba
fix public interface
kamrankhan07 Mar 2, 2020
732842a
code fix
kamrankhan07 Mar 2, 2020
fa724f1
update name
kamrankhan07 Apr 16, 2020
994dade
Updated for minimum iOS 10 version
kamrankhan07 Aug 30, 2020
5f2eb11
Swift 5.5 update
kamrankhan07 Sep 27, 2021
ac1adb8
Swift version update + podspec update
kamrankhan07 Sep 27, 2021
fef7761
fixes
kamrankhan07 Sep 27, 2021
1752dae
podspec updated
kamrankhan07 Sep 28, 2021
40d97fe
podspec updated with dependency
kamrankhan07 Sep 28, 2021
9afd00d
version info added to podspec
kamrankhan07 Sep 28, 2021
2b928f3
podspec test
kamrankhan07 Sep 28, 2021
f1973f7
fix
kamrankhan07 Sep 28, 2021
44b2096
readme updated
kamrankhan07 Sep 28, 2021
96b8e2f
Crash fix
kamrankhan07 Sep 28, 2021
4f9ea8e
Swift Package Manager files added
kamrankhan07 Sep 21, 2022
d2ba340
Revert "Swift Package Manager files added"
kamrankhan07 Sep 21, 2022
54a592a
package.swift
kamrankhan07 Sep 21, 2022
89aff33
package update
kamrankhan07 Sep 21, 2022
f0c3c99
version update
kamrankhan07 Sep 22, 2022
f883249
2.2.2
kamrankhan07 Sep 22, 2022
78df753
update pacakge swift file
kamrankhan07 Sep 22, 2022
97a4d45
updates
kamrankhan07 Sep 22, 2022
650d124
dependency version update
kamrankhan07 Sep 22, 2022
1ae03f1
Remove references
kamrankhan07 Sep 22, 2022
9c509b3
changes
kamrankhan07 Sep 22, 2022
48f4f55
swift version change
kamrankhan07 Sep 22, 2022
24884f2
update
kamrankhan07 Oct 5, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

67 changes: 67 additions & 0 deletions .swiftpm/xcode/xcshareddata/xcschemes/SignalRSwift.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1400"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "SignalRSwift"
BuildableName = "SignalRSwift"
BlueprintName = "SignalRSwift"
ReferencedContainer = "container:">
</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 = "SignalRSwift"
BuildableName = "SignalRSwift"
BlueprintName = "SignalRSwift"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
23 changes: 23 additions & 0 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// swift-tools-version: 5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "SignalRSwift",
platforms: [.macOS(.v10_13),
.iOS(.v11),
.tvOS(.v11),
.watchOS(.v4)],
products: [
.library(
name: "SignalRSwift",
targets: ["SignalRSwift"]),
],
dependencies: [
.package(url: "https://github.com/Alamofire/Alamofire", from: "5.6.2"),
.package(url: "https://github.com/kamrankhan07/Starscream", from: "4.0.5"),
],
targets: [
.target(
name: "SignalRSwift",
dependencies: ["Alamofire", "Starscream"],
path: "SignalR-Swift",
exclude: ["Info.plist"])
],
swiftLanguageVersions: [.v5]
)
18 changes: 4 additions & 14 deletions Podfile
Original file line number Diff line number Diff line change
@@ -1,30 +1,20 @@
# Uncomment the next line to define a global platform for your project
platform :ios, '10.3'
platform :ios, '10.0'

target 'SignalRSwift' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

# Pods for SignalR-Swift
pod 'Alamofire', '~> 4.2'
pod 'Starscream', '~> 3.0'
pod 'Alamofire', '~> 5.6.2'
pod 'Starscream', :git => 'https://github.com/kamrankhan07/Starscream.git'

target 'SignalR-SwiftTests' do
inherit! :search_paths
# Pods for testing
pod 'Quick'
pod 'Nimble'
pod 'Mockit', '~> 1.3'
pod 'Mockit'
end

end

post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'Mockit'
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.2'
end
end
end
end
46 changes: 31 additions & 15 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,24 +1,40 @@
PODS:
- Alamofire (4.6.0)
- Mockit (1.3.4)
- Nimble (7.0.3)
- Quick (1.2.0)
- Starscream (3.0.3)
- Alamofire (5.4.4)
- Mockit (1.5.0)
- Nimble (9.2.1)
- Quick (4.0.0)
- Starscream (4.0.4.1)

DEPENDENCIES:
- Alamofire (~> 4.2)
- Mockit (~> 1.3)
- Alamofire
- Mockit
- Nimble
- Quick
- Starscream (~> 3.0)
- Starscream (from `https://github.com/kamrankhan07/Starscream.git`)

SPEC REPOS:
trunk:
- Alamofire
- Mockit
- Nimble
- Quick

EXTERNAL SOURCES:
Starscream:
:git: https://github.com/kamrankhan07/Starscream.git

CHECKOUT OPTIONS:
Starscream:
:commit: 99bc549b6e2c3d7ddc6ccb7ca0aecaff8b745a6c
:git: https://github.com/kamrankhan07/Starscream.git

SPEC CHECKSUMS:
Alamofire: f41a599bd63041760b26d393ec1069d9d7b917f4
Mockit: 1b253f229dde898b268f8bd5dffcf2fd0151ff75
Nimble: 7f5a9c447a33002645a071bddafbfb24ea70e0ac
Quick: 58d203b1c5e27fff7229c4c1ae445ad7069a7a08
Starscream: dfb1b3f39506717ee52b67fb48de0c8269504cbc
Alamofire: f3b09a368f1582ab751b3fff5460276e0d2cf5c9
Mockit: 09492d654a2945096603d76ea77b131bdcfb2233
Nimble: e7e615c0335ee4bf5b0d786685451e62746117d5
Quick: 6473349e43b9271a8d43839d9ba1c442ed1b7ac4
Starscream: 88daa4735c36fd75a3e609af08ca5081f0f2c377

PODFILE CHECKSUM: 79d0be02a68490c1ac445f39448ee90e8f37cad7
PODFILE CHECKSUM: 54cea80c0b7fcd8f0543026a052ccbd7d232a0d1

COCOAPODS: 1.3.1
COCOAPODS: 1.11.2
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ $ gem install cocoapods
To integrate SignalR-Swift into your Xcode project using CocoaPods, specify it in your Podfile:

```
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
source 'https://github.com/kamrankhan07/SignalR-Swift.git'
platform :ios, '9.0' (2.1.6)
pod 'SignalRSwift', :git => 'https://github.com/kamrankhan07/SignalR-Swift.git', :tag => '2.1.6'

pod 'SignalRSwift', '~> 2.0.2'

platform :ios, '10.0' (onwards)
pod 'Starscream', :git => 'https://github.com/kamrankhan07/Starscream'
pod 'SignalRSwift', :git => 'https://github.com/kamrankhan07/SignalR-Swift.git'
```

Then, run the following command:
Expand Down
2 changes: 1 addition & 1 deletion SignalR-Swift-Example/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment the next line to define a global platform for your project
platform :ios, '10.3'
platform :ios, '10.0'

target 'SignalR-Swift-Example' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
Expand Down
27 changes: 16 additions & 11 deletions SignalR-Swift-Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
PODS:
- Alamofire (4.6.0)
- SignalRSwift (2.0.1):
- Alamofire (~> 4.2)
- Starscream (~> 3.0)
- Starscream (3.0.3)
- Alamofire (5.4.4)
- SignalRSwift (2.1.9):
- Alamofire
- Starscream
- Starscream (4.0.4)

DEPENDENCIES:
- SignalRSwift (from `../`)

SPEC REPOS:
trunk:
- Alamofire
- Starscream

EXTERNAL SOURCES:
SignalRSwift:
:path: ../
:path: "../"

SPEC CHECKSUMS:
Alamofire: f41a599bd63041760b26d393ec1069d9d7b917f4
SignalRSwift: 92b0536d81f0dea4bb3f941adea7422dc26886e8
Starscream: dfb1b3f39506717ee52b67fb48de0c8269504cbc
Alamofire: f3b09a368f1582ab751b3fff5460276e0d2cf5c9
SignalRSwift: e1e4a08c45e9c6dcaa7e126c8c57fed0e7c93efa
Starscream: 5178aed56b316f13fa3bc55694e583d35dd414d9

PODFILE CHECKSUM: 0b670b9c4ac8d7df99f98ba1a30595cebc4466a9
PODFILE CHECKSUM: b21ec611911e40f8919863b5c067ce599c15f03e

COCOAPODS: 1.3.1
COCOAPODS: 1.11.2
Loading