Swift +load methods crash on the device

#1

Hello,
We’ve got an issue with:

Xcode: 10.2 (10E125)
sdkVersion: "32.0.0"

both on simulator and real device (iPhone XR after update to newest iOS). While running, app hangs on simulator and crashes on the device with following error:

objc[25339]: Swift class extensions and categories on Swift classes are not allowed to have +load methods

(lldb)

Our app is detached and use NativeModule written in Swift based on the RN docs. Before update everything works fine. Any suggested fixes?

closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.