Closed tamc closed 4 years ago
I'm sorry, I have no knowledge. Someone may share a solution, so this issue will open for a while. If you have a self-solving solution, please share it.
We have fixed this issue by adding DifferenceKit as a static framework (in our case by adding it as a swift package manager). Hope that helps for you @tamc
@WesleyJacobsMP i am running into the Sam issue. Are you saying in package.swift you marked the package as static? I tried doing that and I am still running into issues. Is there somewhere else where the package needs to be marked?
@thecheatah We haven't marked it as static no. But we use DifferenceKit through another library (DiffableDataSources), adding that one as a SPM has resolved the issue for us.
This may be an Apple bug, but if anyone has time to give me pointers in diagnosing the root cause, I would appreciate it.
I'm seeing a crash:
The crash trace says it occurs in this line:
And inside that this line:
The crash only seems to occur on iOS 9.x devices (specifically, the old iPad Minis, so possibly the key is that it is 32 bit).
The crash does not occur in builds that are directly loaded from XCode onto a device, only on builds that are processed in TestFlight or the AppStore.
My guess is that this is therefore an Apple bug in how they are recompiling for older devices.
But if you have the time to offer any clues or hints as to the root cause of the bug so I can try and work around it, that would be very much appreciated.