PubNub - iOS - only Carthage?

The question is for someone who is completely fresh with PubNub and iOS-Swift,

Today, can you put PubNub into a project without completely using cocoapods in any way? So pure Carthage?

(PubNub's own doco got a little confused about this issue with a quick glance.)

(Strictly iOS 10, without inheritance)

+4
source share
2 answers

Docs looks pretty clear on how to use the Carthage integration method. You do not need CocoaPods to run this command (the platform can be any: macos, tvos, ios and watchos or without a build platform):

carthage update --platform ios

Cartfile , . ( , ):

github "pubnub/objective-c" ~> 4.1

.framework Carthage/Build/{platform-name}/PubNub.framework. , .

+4

, , Carthage.

. , .

+2

Source: https://habr.com/ru/post/1670083/


All Articles