Sendbird SyncManager Offline Issues

  1. I’m getting this error on launch of the application. The version of pods are

    • SendBirdSyncManager (1.1.34):
    • SendBirdSDK (~> 3.0.203)

    CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/EE78AA99-D318-4594-B621-56AE1AFEE553/Application.app/Frameworks/SendBirdSyncManager.framework/SendBirdDataModels.momd/SendBirdDataModels 1.1.32.omo’

    2020-12-08 17:59:45.258000+0530 Application[1311:1225716] [error] fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using “NSSecureUnarchiveFromData” or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using “NSSecureUnarchiveFromData” when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.

    CoreData: fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using “NSSecureUnarchiveFromData” or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using “NSSecureUnarchiveFromData” when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.

    2020-12-08 17:59:45.259454+0530 Application[1311:1225716] [error] CoreData: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using “NSSecureUnarchiveFromData” or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using “NSSecureUnarchiveFromData” when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.

    CoreData: warning: Property ‘filter’ on Entity ‘Chunk’ is using nil or an insecure NSValueTransformer. Please switch to using “NSSecureUnarchiveFromData” or a subclass of NSSecureUnarchiveFromDataTransformer instead.

  2. The second time When I run the application with/without internet connection the ChannelCollection initialization returns nil.

func initGroupChannelListQuery() {
self.channelListQuery = SBDGroupChannel.createMyGroupChannelListQuery()
self.channelListQuery?.order = .latestLastMessage
self.channelListQuery?.limit = 20
self.channelListQuery?.includeEmptyChannel = true
}

func initChannelCollection() {
    if let query = self.channelListQuery {
        self.collection = SBSMChannelCollection(query: query)

        self.collection?.delegate = self
    }
}