Skip to content

Swift getObjects Crash  #653

Closed
Closed
@st2340596

Description

@st2340596

The language of WCDB

Swift

The version of WCDB

1.0.8

The platform of WCDB

e.g. iOS

The installation of WCDB

e.g. Git clone

What's the issue?

Post the outputs or screenshots for errors.

image

I use getObjects(on: fromTable:) its Ok , But use getObjects(on: fromTable: orderBy:) crash ?
The error say property is not belong in the object , but I be sure the property is belong , why?
code like this
image

objc[11122]: Class TtGCs23_ContiguousArrayStorageOC8MomentUI15MomentForumContentModel10CodingKeys$ is implemented in both ?? (0x7f95cc14e0c8) and ?? (0x7f95cc14fba0). One of the two will be used. Which one is undefined.

Activity

changed the title [-]OrderBy Crash [/-] [+]getObjects Crash [/+] on Dec 30, 2019
changed the title [-]getObjects Crash [/-] [+]Swift getObjects Crash [/+] on Dec 30, 2019
st2340596

st2340596 commented on Dec 30, 2019

@st2340596
Author

找到了问题的原因. 因为项目采用静态Framework包链接开发,在主程序动态链接了WCDB, 和开发的子framewrok runtime 下可能会触发小几率的链接冲突

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @st2340596

        Issue actions

          Swift getObjects Crash · Issue #653 · Tencent/wcdb