diff --git a/.swift-version b/.swift-version new file mode 100644 index 0000000..9f55b2c --- /dev/null +++ b/.swift-version @@ -0,0 +1 @@ +3.0 diff --git a/SwiftR/SwiftR.swift b/SwiftR/SwiftR.swift index 0813193..7808c7e 100644 --- a/SwiftR/SwiftR.swift +++ b/SwiftR/SwiftR.swift @@ -199,7 +199,7 @@ open class SignalR: NSObject, SwiftRWebDelegate { super.init() #if COCOAPODS - let bundle = NSBundle(identifier: "org.cocoapods.SwiftR")! + let bundle = Bundle(identifier: "org.cocoapods.SwiftR")! #elseif SWIFTR_FRAMEWORK let bundle = Bundle(identifier: "com.adamhartford.SwiftR")! #else