Production build can't be created SDK36

I 've a build error once I am trying to create a production android build or production ios build for Stories.
I’ve expokit workflow, expo-cli 4.1.3 version, expo SDK 36
Steps which I did

  1. expo eject(choosing expokit)
  2. expo publish
  3. cd android, ./gradlew clean assembleRelease
    It respond the following error

[20:02:17] Error: getaddrinfo ENOTFOUND assets
[20:02:17] Before making a release build, make sure you have run ‘expo publish’ at least once. Learn more. (​​)

> Task :app:bundleReleaseExpoAssets FAILED

FAILURE: Build failed with an exception.

** What went wrong:*
Execution failed for task ‘:app:bundleReleaseExpoAssets’.
> Process ‘command ‘./node_modules/expokit/detach-scripts/’’ finished with non-zero exit value 1

I noticed also resources were not added to the folder

Please help - we have been struggling this issue and need to immediately produce a Production build! Enterprise Support - please help!

Expokit was deprecated almost 2 years ago, it’s not supported anymore. You can try ejecting to bare workflow, but there is a high chance that even if you are able to build it, it won’t be accepted to stores. I don’t remember anything specific, but it’s likely that there were some changes to playstore and appstore policies that will not allow uploading sdk36 builds now.

1 Like

Thanks, wkozyra!

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.