Before posting your question, make sure you’ve read the documentation for both EAS Build & Submit.
If your Android or iOS build is failing- make sure you do your own research on the error message first before posting (this will give you a better understanding, and you might even find that someone else has already solved the issue!) It is not up to the Expo team to debug your project or build.
In your post, please share:
- Whether you are bare or managed workflow
- Your
eas-cli
version >= 3.1.1 - What you have tried so far
Hi,
When I try to build application am getting error both in IOS and Android.
We have tried using below command:
eas build --profile preview --platform android
eas build --profile preview --platform ios
After run this command we are getting below error
Android:
[stderr]
FAILURE: Build failed with an exception.
1654
[stderr]
* What went wrong:
1655
[stderr]
Execution failed for task ':expo-modules-core:downloadDoubleConversion'.
1656
[stderr]
> A failure occurred while executing de.undercouch.gradle.tasks.download.internal.DefaultWorkerExecutorHelper$DefaultWorkAction
1657
[stderr]
> de.undercouch.gradle.tasks.download.org.apache.hc.core5.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 7012573; received: 6373222)
1658
[stderr]
* Try:
1659
[stderr]
> Run with --stacktrace option to get the stack trace.
1660
[stderr]
> Run with --info or --debug option to get more log output.
1661
[stderr]
> Run with --scan to get full insights.
1662
[stderr]
* Get more help at https://help.gradle.org
For IOS:
Analyzing dependencies
6
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
7
[Codegen] Found FBReactNativeSpec
8
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
9
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
10
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
11
Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
12
[!] CDN: trunk Repo update failed - 4 error(s):
13
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/1/2/ASN1Decoder/1.0.1/ASN1Decoder.podspec.json Response: Timeout was reached
14
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/1/2/ASN1Decoder/1.0.2/ASN1Decoder.podspec.json Response: Timeout was reached
15
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/1/2/ASN1Decoder/1.0.3/ASN1Decoder.podspec.json Response: Timeout was reached
16
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/1/2/ASN1Decoder/1.7.0/ASN1Decoder.podspec.json Response: Timeout was reached
17
pod install exited with non-zero code: 1
Thank You,
Chandan.