Open alabash opened 5 years ago
There's nothing that particularly stands out in your code and your screenshot so I'm not sure what's going on. By any chance, is your project's SWIFT_REFLECTION_METADATA_LEVEL
Build Setting set to anything than All
? Also, how are you importing Corestore, by Pod or through Carthage?
Thanks for the response. No, I didn't change it. Just checked it now it is set to "All". I'm using cocoapods.
Hmm.. Does it happen to the mentioned devices on simulator as well?
No, on the simulator it works ok, no crashes.
@evilgeniuz I recently bumped the Minimum Deployment Version in the develop
branch. Can you try pointing your Pod to that branch and see if the behavior changes? (I am assuming your app is at iOS 10+
as minimum deployment version, though)
Unfortunately the same. Gives error on XR and no errors on iPad mini 2.
I've reproduced the issue using the CoreStoreDemo app. It looks like this issue was first in Xcode 10.1: https://github.com/wordpress-mobile/WordPress-iOS/issues/10389
Still investigating...
@evilgeniuz Do you have a released version of the app built with Xcode 10.1? Do you see these crashes there?
Yeah, just checked it, crashes in 10.1 and in 10.0 works ok.
Looks like we'll just have to wait for an update or use Xcode 10.0 for now. Related issues: https://github.com/realm/realm-cocoa/issues/6013 https://github.com/wordpress-mobile/WordPress-iOS/pull/10400
Yeah, using 10.0 for now everywhere. ありがとう!
Have the same issue, only when using a physical device in debugging mode. Even on a iPhone 5s. Thought to just mention it.
Hi!
I'm using your library in several projects and love it. It works great and the problem seems to occur only on new Apple devices which is a mystery for me. And only in development (release build configuration crashes too) while simple Adhoc or Testflight install works fine, like it never happened. I've tested on iPhone XR and iPhone XS Max, they both crash while iPad Air, iPad Air 2 and iPad Mini 2 work as expected. All the devices mentioned above are running under iOS 12.1.
I've isolated crashing code. It is pretty straightforward.
Can you help? :)