Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-2168

Warning : Linking against a dylib which is not safe for use in application extensions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 3.0
    • iOS
    • Security Level: Public
    • None
    • Jay 52
    • 5

    Description

      CBL iOS cannot be used in the app extensions. 

      Warning:
      Linking against a dylib which is not safe for use in application extensions: /Users/wayne/Library/Developer/Xcode/DerivedData/.../Debug-iphonesimulator/CouchbaseLiteSwift.framework/CouchbaseLiteSwift

      Currently, we are setting APPLICATION_EXTENSION_API_ONLY to NO. One of the reasons that we are setting it to NO is that we are using the sharedApplication object to detect whether the app is in the background or not for the replicator's backgrounding feature.

      It might be possible that we could remove this restriction by accessing sharedApplication dynamically and limit the backgrounding feature for app extension (not sure how to do it yet).

      Attachments

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

        Activity

          There are no commits yet on this issue.

          People

            Jayahari.Vavachan Jay Vavachan
            pasin Pasin Suriyentrakorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty