Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-2997

clarify 2.0 installation steps

    XMLWordPrintable

Details

    • DOC-S4-Dec01, DOC-S7-Jan12, DOC-S8-Jan26

    Description

      [8:29 PM] sridevi saragadam: hi Pasin, quick question on CBL 2.0 for iOS
      [8:29 PM] sridevi saragadam: https://developer.couchbase.com/documentation/mobile/2.0/guides/couchbase-lite/index.html?language=s...
      [8:30 PM] sridevi saragadam: Under Carthage, we need to add github "couchbase/couchbase-lite-ios" "2.0DB020" to your Cartfile.
      [8:30 PM] sridevi saragadam: Will this help in updating to latest CBL when we do "carthage update --platform ios"
      [8:31 PM] Priya Rajagopal: Yes
      [8:33 PM] sridevi saragadam: Thanks @PriyaRajagopal , so we do not need to copy "CouchbaseLiteSwift.framework" to frameworks folder everytime
      [8:35 PM] Priya Rajagopal: It depends on your project. if you have your project such that it references the framework in "builds" folder, then it will automatically pick up the new one that's generated. Otherwise, you will have to copy it over to your project
      [8:46 PM] Priya Rajagopal: @SrideviSaragadam  did that make sense?
      [8:46 PM] sridevi saragadam: yeah Priya, Thanks for checking. I am playing around. Will ping if I have questions
      [8:47 PM] Priya Rajagopal: (thumbsup)
      [8:49 PM] sridevi saragadam: @PriyaRajagopal , according to this doc https://developer.couchbase.com/documentation/mobile/2.0/guides/couchbase-lite/index.html?language=s...
      [8:50 PM] sridevi saragadam: it has Frameworks section, Carthage section. Does it mean either of them we can perform?
      [8:50 PM] sridevi saragadam: in both cases, we need to add CouchbaseLiteSwift.framework
      [8:50 PM] Priya Rajagopal: Yes. Frameworks section you directly download the prebuilt fwk. Carthage and Cocapods are package dependency managers that you can otherwise use
      [8:51 PM] sridevi saragadam: okay great, Can we have that mentioned in the doc too?
      [8:51 PM] Priya Rajagopal: Pros and Cons to each. But you should be fine pulling just the fwk as long as you are on latest Xcode 9.1 - because our pre-built binary is only for latest swift
      [8:54 PM] sridevi saragadam: (thumbsup) , I have xcode 9.0, will upgrade to 9.1
      [8:54 PM] Priya Rajagopal: Yeah - you could file a JIRA ticket with @jamiltz  to clarify the same,  But I think assumption is that iOS developers would be familiar enough to know that they all ultimately achieve the same goal

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jamiltz James Nocentini
            jamiltz James Nocentini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty