Expo React Native UIKit build fails

Hi, I’m trying to integrate the UIKit with an app we already have using Expo with SDK 49.
I cloned the repository at GitHub - AmityCo/Amity-Social-UIKit-React-Native-OpenSource

yarn install
yarn pack
copied the tgz to my app.

Then did:
yarn add ./amityco-asc-react-native-ui-kit-v0.1.8.tgz
yarn install
eas build --profile development --platform ios

Eas build is failing in the install pods step:

[!] CocoaPods could not find compatible versions for pod "EXImageLoader":
  In Podfile:
    EXImageLoader (from `../node_modules/expo-image-loader/ios`)
Specs satisfying the `EXImageLoader (from `../node_modules/expo-image-loader/ios`)` dependency were found, but they required a higher minimum deployment target.
[!] `<PBXResourcesBuildPhase UUID=`13B07F8E1A680F5B00A75B9A`>` attempted to initialize an object with an unknown UUID. `AE140E193E454F908CBBA375` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
Error: Some pods require a higher minimum deployment target.
You can use the expo-build-properties config plugin (https://docs.expo.dev/versions/latest/sdk/build-properties/) to override the default native build properties and set a different minimum deployment target.

I’m not using expo-image-loader on my app. Is this related to an outdated dependency on the UIKit?

Hello @Gus let us check with the team and get back to you.

Hi Gus, Are you using React Native CLI or React Native Expo?

I’m using Expo with SDK 49

1 Like