| 79294b5e | 27-Jun-2023 |
Kudo Chien <[email protected]> |
[ios][updates][tools] fix swift casting runtime exception (#23132)
# Why
close ENG-9094
# How
- this is again the swift runtime exception for casting versioned class to unversioned class li
[ios][updates][tools] fix swift casting runtime exception (#23132)
# Why
close ENG-9094
# How
- this is again the swift runtime exception for casting versioned class to unversioned class like https://github.com/expo/expo/pull/23012#discussion_r1237294135. this time it's the `EXUpdatesUpdate` and solved by the `object_setClass` too.
- moving the `object_setClass` to expo-go only `EXUpdatesBinding` class which is a proper place to do the casting. however, this requires more swift <-> objc interop like adding swift compatibility header to search paths and adding `-fmodule-map`.
- some refactoring for the expokit podspec
# Test Plan
- ci passed
- test local expo-go to load sdk 49 updates (both classic updates and eas updates)
show more ...
|