ExpoKit: Pod install fails (SDK 37)


I am trying to complete a run of pod install for an app that was built based on Expo SDK 37 and using the ExpoKit workflow.

I know that ExpoKit was deprecated after SDK 36, and that the last ExpoKit version came with SDK 38. Further, I am aware that existing ExpoKit apps would no longer receive fixes or feature updates. According to “Migrating from ExpoKit”, apps in the App Store and Play Store are supposed to “continue to run indefinitely”. But would the pod installation break?

Running pod install provides me with the following error:

[!] Error installing ExpoKit
[!] Failed to download 'ExpoKit': [!] /usr/local/bin/git clone http://github.com/expo/expo.git /var/folders/tc/qkdgb3cn01gdl6s797ndsn7c0000gn/T/d20210714-35165-cjmcbh --template= --single-branch --depth 1 --branch ios/2.15.1

Cloning into '/var/folders/tc/qkdgb3cn01gdl6s797ndsn7c0000gn/T/d20210714-35165-cjmcbh'...
warning: redirecting to https://github.com/expo/expo.git/
warning: Could not find remote branch ios/2.15.1 to clone.
fatal: Remote branch ios/2.15.1 not found in upstream origin

Running pod --version returns 1.9.1 .

There are some older posts (2019 and before) on the forum related to the issue I am experiencing (e.g. https://forums.expo.io/t/pod-install-fail-to-download-expokit-2-9-0/), and I have tried the suggestions there ( brew install git-lfs or pod repo update etc), but to no avail.

Looking at the git repository, there are no tags/branches that match the branch that pod install is trying to clone ( ios/2.15.1 ).

Is there anything else I can do to get the ExpoKit pod/source? Of course, the project would need to migrate to Bare, but being able to install ExpoKit again in the meantime would be good regardless.

Thank you very much.

1 Like


Just following this up as I am still having this issue.

I thought ExpoKit would continue to work indefinitely, just not receive new updates and fixes?

Any reply would be greatly appreciated, as this is now blocking me from developing any further.