could not execute support code to read Objective-C class data in the process. at real iPhone device

后端 未结 4 1637
借酒劲吻你
借酒劲吻你 2021-01-04 03:19

when this objective-c based method call in Simulator, it doesn\'t matter. But in real iPhone device, it occurs Thread 1: signal SIGABRT

warning: c

4条回答
  •  不知归路
    2021-01-04 03:31

    There maybe linking problem with Objective C code.

    Try one of the following:

    • Go to your project
    • Add -ObjC to your Other Linker Flags
    • Enable Modules (C and ObjC) = Yes

提交回复
热议问题