I’ve a React Native venture that features a bundle utilizing an XCFramework.
Just lately, I added a brand new operate known as validateToken to the XCFramework. Once I run the venture regionally, all the things works completely — the brand new operate is acknowledged and runs with out points.
Nevertheless, when I attempt to construct the app on Expo.dev (utilizing a clear cache), I get the next error in the course of the Run fastlane:
'MyClass' has no member 'validateToken'
To substantiate that the operate exists, I even added a post-install script within the Podfile to print the XCFramework contents — and it’s undoubtedly there.
My greatest guess is that Expo.dev continues to be utilizing an older cached model of the XCFramework or not correctly rebuilding it.
What I’ve tried:
- Cleared Expo’s construct cache (–clear-cache flag)
- Verified the XCFramework is up to date regionally earlier than importing
- Confirmed that the Podspec and model numbers are right
- Used
Podfilepost_install operate to be sure that the brand new operate is there
Query:
How can I be sure that Expo.dev really makes use of the newest model of my XCFramework in the course of the construct course of?
