MMKV icon indicating copy to clipboard operation
MMKV copied to clipboard

[iOS] Issues when archiving project

Open vs47864 opened this issue 1 year ago • 2 comments

Note:

The language of MMKV

Swift

The version of MMKV

1.3.3

The platform of MMKV

iOS

The installation of MMKV

Cocoapods but with modular_headers set to true

What's the issue?

Archiving is failing with attached error when in pod file we have both MMKV and MMKVAppExenstion. This started to happen with Xcode 15 on Xcode 14 all is good. When I remove MMKV and MMKVAppExenstion archiving succeeds. I tried with just MMKV and modular headers set to true and that works same with just MMKVAppExenstion. The issue is if I import both of them like this:

#if APP_EXTENSION import MMKVAppExtension #else import MMKV #endif

swift_error.txt

What's the log of MMKV when that happened?

Your detail logs. As much as possible. For how to forward MMKV's log, you can checkout the wiki on each platform. An crash issue will be ignored & closed in a week without logs.

vs47864 avatar Jan 26 '24 10:01 vs47864

4 swift-frontend 0x0000000107ebcadc swift::SILDeserializer::readVTable(llvm::PointerEmbeddedInt<unsigned int, 31>) + 1492

Looks like a Swift compiler bug to me.

lingol avatar Jan 29 '24 03:01 lingol

Anyway, would you like to provide a demo project to further investigate?

lingol avatar Jan 29 '24 03:01 lingol

Closed due to inactive.

lingol avatar Mar 18 '24 03:03 lingol