EAS Build fails only on iOS -- fastlane error

Error:

› Generating debug AppName » AppName.app.dSYM


1163

:warning: No such file or directory: /var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/C/org.llvm.clang.distiller/ModuleCache/OEL3R4BB85DS/FBSDKLoginKit-ROJFAQUX0UXS.pcm


1164

:warning: No such file or directory: /var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/C/org.llvm.clang.distiller/ModuleCache/OEL3R4BB85DS/UIKit-7ENARD7F75QG.pcm


1165

:warning: No such file or directory: /var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/C/org.llvm.clang.distiller/ModuleCache/OEL3R4BB85DS/Foundation-3ESNQVWWD07IL.pcm


1166

:warning: No such file or directory: /var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/C/org.llvm.clang.distiller/ModuleCache/OEL3R4BB85DS/SwiftShims-3E5PYOC7W29IN.pcm


1167

▸ ** ARCHIVE FAILED **


1168

▸ The following build commands failed:


1169

▸ PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/expo/Library/Developer/Xcode/DerivedData/AppName-bamqgdyzucunyfawqucikrqhvkok/Build/Intermediates.noindex/ArchiveIntermediates/AppName/IntermediateBuildFilesPath/AppName.build/Release-iphoneos/AppName.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target ‘AppName’ from project ‘AppName’)


1170

▸ (1 failure)


1171

** ARCHIVE FAILED **


1172

PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/expo/Library/Developer/Xcode/DerivedData/AppName-bamqgdyzucunyfawqucikrqhvkok/Build/Intermediates.noindex/ArchiveIntermediates/AppName/IntermediateBuildFilesPath/AppName.build/Release-iphoneos/AppName.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target 'AppName' from project 'AppName')

1173

(1 failure)


1174

eas.json file:
{
“cli”: {
“version”: “>= 0.45.1”
},
“build”: {
“development”: {
“developmentClient”: true,
“distribution”: “internal”
},
“preview”: {
“distribution”: “internal”
},
“production”: {}
},
“submit”: {
“production”: {}
}
}

app.json:
{
“expo”: {
“name”: “AppName”,
“slug”: “AppName”,
“scheme”: “AppName”,
“privacy”: “unlisted”,
“platforms”: [
“ios”,
“android”
],
“version”: “1.3.0”,
“orientation”: “portrait”,
“primaryColor”: “#ffffff”,
“backgroundColor”: “#ffffff”,
“notification”: {
“icon”: “./assets/appIcon.png”,
“color”: “#fa3e3e
},
“icon”: “./assets/appIcon.png”,
“splash”: {
“image”: “./assets/images/splash.png”,
“resizeMode”: “cover”,
“backgroundColor”: “#fa8712
},
“assetBundlePatterns”: [
“**/*”
],
“updates”: {
“fallbackToCacheTimeout”: 10000
},
“facebookAppId”: “XXXX”,
“facebookDisplayName”: “AppName”,
“facebookScheme”: “XXXXX”,
“ios”: {
“icon”: “./assets/appIcon.png”,
“bundleIdentifier”: “com.AppName.AppName”,
“associatedDomains”: [
“applinks:AppName.app.link”,
“applinks:AppName-alternate.app.link”
],
“buildNumber”: “1.3.0”,
“supportsTablet”: false,
“usesAppleSignIn”: true,
“userInterfaceStyle”: “light”,
“infoPlist”: {
“UIUserInterfaceStyle”: “Light”,
“NSLocationWhenInUseUsageDescription”: “XXXXXXX”,
“NSPhotoLibraryUsageDescription”: “XXXXXXXXXX”
},
“config”: {
“googleSignIn”: {
“reservedClientId”: “XXXXXXX”
},
“branch”: {
“apiKey”: “XXXXXXXX”
},
“usesNonExemptEncryption”: false
},
“googleServicesFile”: “./GoogleService-Info.plist”
},
“android”: {
“icon”: “./assets/appIcon.png”,
“adaptiveIcon”: {
“foregroundImage”: “./assets/appIcon.png”,
“backgroundColor”: “#fa8712
},
“backgroundColor”: “#ffffff”,
“versionCode”: 23,
“package”: “com.AppName.AppName”,
“googleServicesFile”: “./google-services.json”,
“config”: {
“branch”: {
“apiKey”: “XXXXXXXXXXXX”
}
},
“intentFilters”: [
{
“action”: “VIEW”,
“data”: {
“scheme”: “https”,
“host”: “AppName.app.link”
},
“category”: [
“BROWSABLE”,
“DEFAULT”
]
}
]
}
}
}

Hi, I’ve checked that document and it doesn’t provide much detail. I should add that since my last successful build the only changes i’ve made are to upgrade from sdk 43 to expo sdk 44 and update my metro.config.js and .babelrc files.

the doc explains that you should look into the full xcode build logs. this is what you need to do. notice:

PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/expo/Library/Developer/Xcode/DerivedData/AppName-bamqgdyzucunyfawqucikrqhvkok/Build/Intermediates.noindex/ArchiveIntermediates/AppName/IntermediateBuildFilesPath/AppName.build/Release-iphoneos/AppName.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target ‘AppName’ from project ‘AppName’)

your javascript app failed to build. the full xcode logs will give you more info.

Hi, it seems to have resolved itself. Yesterday, both expo build and eas build were not working. Even though eas build is not working, I just retried expo build today and for some reason it worked today even though I have not changed anything.