objc: class **** is implemented in both xxxx and xxxx. One of the two will be used. Which one is undefined.

I got my own app project which include a framework, when i try to install my app into my iPhone, Xcode display the log as below, and the app will be crash.

  • IoTWrappedRepresentation is the method from the framework.
  • Reactive-Smart-Reference is my app name
  • AIoTControllerSDK_swift is my framework name
objc[26097]: Class IoTWrappedRepresentation is implemented in both /private/var/containers/Bundle/Application/95BA51A0-5E83-453D-B25C-23AFF1675E21/Reactive-Smart-Reference.app/Frameworks/TAIoTControllerSDK_swift.framework/TAIoTControllerSDK_swift (0x102e786b0) and /private/var/containers/Bundle/Application/95BA51A0-5E83-453D-B25C-23AFF1675E21/Reactive-Smart-Reference.app/Reactive-Smart-Reference (0x100f400c8). One of the two will be used. Which one is undefined.
objc: class **** is implemented in both xxxx and xxxx. One of the two will be used. Which one is undefined.
 
 
Q