IOS build with eas fails with cryptic errors

Hello,

I’m setuping up a new react native project, my company decided to use expo to handle our build.
The project is really new (2 weeks), we are building the stack / CI for the moment.

All the credentials has been set remotely with eas command the first time we launched a build, I can see them on your platform dashboard, and also on apple developer page.

Locally eas -v => eas-cli/0.60.0 darwin-x64 node-v16.16.0

We’re experiencing a weird error while running this command eas build --non-interactive --profile=development --platform=ios

I add the build logs at the end of my post.

Maybe the error is XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process., but I’m not sure.

I’m available if you need more information. Any clue is much appreciated
Thanks in advance :slight_smile:

Creating Gymfile
Gymfile created
Successfully loaded '/Users/expo/workingdir/build/ios/Gymfile' 📄
+-----------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
|                                                                  Detected Values from './Gymfile'                                                                   |
+-----------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| suppress_xcode_output | true                                                                                                                                        |
| clean                 | false                                                                                                                                       |
| scheme                | OurApplicationName                                                                                                                    |
| configuration         | Debug                                                                                                                                       |
| export_options        |                                                                                                                                             |
| export_xcargs         | OTHER_CODE_SIGN_FLAGS="--keychain /var/folders/h2/gp9wlkv11lg0qj6y2mnqgc_40000gn/T/turtle-v2-a47e9f29-5ed8-49f2-9682-4066a8eb36fe.keychain" |
| disable_xcpretty      | true                                                                                                                                        |
| buildlog_path         | /Users/expo/workingdir/logs                                                                                                                 |
| output_directory      | ./build                                                                                                                                     |
+-----------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
Resolving Swift Package Manager dependencies...
$ xcodebuild -resolvePackageDependencies -workspace ./OurApplicationName.xcworkspace -scheme OurApplicationName -configuration Debug
▸ 2022-08-12 04:04:32.541 xcodebuild[4238:13067] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
▸ 2022-08-12 04:04:32.541 xcodebuild[4238:13067] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
▸ 2022-08-12 04:04:32.622 xcodebuild[4238:13067] XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process.}
▸ 2022-08-12 04:04:32.622 xcodebuild[4238:13067] Font server protocol version mismatch (expected:5 got:0), falling back to local fonts
▸ 2022-08-12 04:04:32.622 xcodebuild[4238:13067] XType: unable to make a connection to the font daemon!
▸ 2022-08-12 04:04:32.622 xcodebuild[4238:13067] XType: XTFontStaticRegistry is enabled as fontd is not available.
▸ Command line invocation:
▸     /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace ./OurApplicationName.xcworkspace -scheme OurApplicationName -configuration Debug
▸ User defaults from command line:
▸     IDEPackageSupportUseBuiltinSCM = YES
▸ --- xcodebuild: WARNING: Using the first of multiple matching destinations:
▸ { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
▸ { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
▸ { platform:iOS Simulator, id:C89A7627-9DD2-4915-8B21-53DC8F84BA7A, OS:15.4, name:iPhone 8 }
▸ resolved source packages:
$ xcodebuild -showBuildSettings -workspace ./OurApplicationName.xcworkspace -scheme OurApplicationName -configuration Debug
[stderr] 2022-08-12 04:04:37.229 xcodebuild[4247:13192] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
[stderr] 2022-08-12 04:04:37.229 xcodebuild[4247:13192] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
[stderr] 2022-08-12 04:04:37.313 xcodebuild[4247:13192] XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process.}
[stderr] 2022-08-12 04:04:37.313 xcodebuild[4247:13192] Font server protocol version mismatch (expected:5 got:0), falling back to local fonts
[stderr] 2022-08-12 04:04:37.313 xcodebuild[4247:13192] XType: unable to make a connection to the font daemon!
[stderr] 2022-08-12 04:04:37.313 xcodebuild[4247:13192] XType: XTFontStaticRegistry is enabled as fontd is not available.
[stderr] --- xcodebuild: WARNING: Using the first of multiple matching destinations:
[stderr] { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
[stderr] { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
[stderr] { platform:iOS Simulator, id:C89A7627-9DD2-4915-8B21-53DC8F84BA7A, OS:15.4, name:iPhone 8 }

Command timed out after 3 seconds on try 1 of 4, trying again with a 6 second timeout...
[stderr] 2022-08-12 04:04:40.273 xcodebuild[4269:13323] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
[stderr] 2022-08-12 04:04:40.273 xcodebuild[4269:13323] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
[stderr] 2022-08-12 04:04:40.334 xcodebuild[4269:13323] XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process.}
[stderr] 2022-08-12 04:04:40.334 xcodebuild[4269:13323] Font server protocol version mismatch (expected:5 got:0), falling back to local fonts
[stderr] 2022-08-12 04:04:40.334 xcodebuild[4269:13323] XType: unable to make a connection to the font daemon!
[stderr] 2022-08-12 04:04:40.334 xcodebuild[4269:13323] XType: XTFontStaticRegistry is enabled as fontd is not available.
[stderr] --- xcodebuild: WARNING: Using the first of multiple matching destinations:
[stderr] { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
[stderr] { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
[stderr] { platform:iOS Simulator, id:C89A7627-9DD2-4915-8B21-53DC8F84BA7A, OS:15.4, name:iPhone 8 }

Detected provisioning profile mapping: {:"com.ourcompany.thevillageoutlet"=>"5149571f-4809-40b4-a76e-558f3dcc2dee"}
+-------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
|                                                                                             Summary for gym 2.205.2                                                                                             |
+-------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| workspace                                                         | ./OurApplicationName.xcworkspace                                                                                                      |
| scheme                                                            | OurApplicationName                                                                                                                    |
| clean                                                             | false                                                                                                                                       |
| output_directory                                                  | ./build                                                                                                                                     |
| output_name                                                       | OurApplicationName                                                                                                                    |
| configuration                                                     | Debug                                                                                                                                       |
| silent                                                            | false                                                                                                                                       |
| skip_package_ipa                                                  | false                                                                                                                                       |
| skip_package_pkg                                                  | false                                                                                                                                       |
| export_options.method                                             | ad-hoc                                                                                                                                      |
| export_options.provisioningProfiles.com.ourcompany.thevillageoutlet | 5149571f-4809-40b4-a76e-558f3dcc2dee                                                                                                        |
| export_xcargs                                                     | OTHER_CODE_SIGN_FLAGS="--keychain /var/folders/h2/gp9wlkv11lg0qj6y2mnqgc_40000gn/T/turtle-v2-a47e9f29-5ed8-49f2-9682-4066a8eb36fe.keychain" |
| build_path                                                        | /Users/expo/Library/Developer/Xcode/Archives/2022-08-12                                                                                     |
| result_bundle                                                     | false                                                                                                                                       |
| buildlog_path                                                     | /Users/expo/workingdir/logs                                                                                                                 |
| destination                                                       | generic/platform=iOS                                                                                                                        |
| suppress_xcode_output                                             | true                                                                                                                                        |
| xcodebuild_formatter                                              | xcpretty                                                                                                                                    |
| disable_xcpretty                                                  | true                                                                                                                                        |
| skip_profile_detection                                            | false                                                                                                                                       |
| xcodebuild_command                                                | xcodebuild                                                                                                                                  |
| skip_package_dependencies_resolution                              | false                                                                                                                                       |
| disable_package_automatic_updates                                 | false                                                                                                                                       |
| use_system_scm                                                    | false                                                                                                                                       |
| xcode_path                                                        | /Applications/Xcode.app                                                                                                                     |
+-------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
$ set -o pipefail && xcodebuild -workspace ./OurApplicationName.xcworkspace -scheme OurApplicationName -configuration Debug -destination 'generic/platform=iOS' -archivePath /Users/expo/Library/Developer/Xcode/Archives/2022-08-12/OurApplicationName\ 2022-08-12\ 04.04.43.xcarchive archive | tee /Users/expo/workingdir/logs/OurApplicationName-OurApplicationName.log > /dev/null
▸ 2022-08-12 04:04:44.325 xcodebuild[4306:13492] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
▸ 2022-08-12 04:04:44.325 xcodebuild[4306:13492] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
▸ 2022-08-12 04:04:44.390 xcodebuild[4306:13492] XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process.}
▸ 2022-08-12 04:04:44.390 xcodebuild[4306:13492] Font server protocol version mismatch (expected:5 got:0), falling back to local fonts
▸ 2022-08-12 04:04:44.390 xcodebuild[4306:13492] XType: unable to make a connection to the font daemon!
▸ 2022-08-12 04:04:44.390 xcodebuild[4306:13492] XType: XTFontStaticRegistry is enabled as fontd is not available.
› Preparing Pods/expo-dev-menu-EXDevMenu » ResourceBundle-EXDevMenu-expo-dev-menu-Info.plist
› Compiling react-native Pods/fmt » format.cc
› Compiling react-native Pods/fmt » fmt-dummy.m
› Compiling react-native Pods/glog » vlog_is_on.cc
› Compiling react-native Pods/glog » utilities.cc
› Compiling react-native Pods/glog » symbolize.cc
› Compiling react-native Pods/glog » signalhandler.cc
› Compiling react-native Pods/glog » raw_logging.cc
› Compiling react-native Pods/glog » logging.cc
› Compiling react-native Pods/glog » glog-dummy.m
› Compiling react-native Pods/glog » demangle.cc
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuExtensionProtocol.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuGroup.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuItem.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuItemsContainer.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuItemsContainerProtocol.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuLink.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuAction.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuBridgeProtocol.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuDataSource.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuEASUpdates.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuExpoApiClientProtocol.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuExportedCallable.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuManagerProtocol.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuScreen.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuScreenItem.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuSelectionList.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » DevMenuUIResponderExtensionProtocol.swift
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » EXDevExtensions.swift
› Packaging react-native Pods/fmt » libfmt.a
› Packaging react-native Pods/glog » libglog.a
› Copying   ../../../Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/EXDevMenu.bundle/MaterialCommunityIcons.ttf ➜ ../../../Users/expo/workingdir/build/node_modules/expo-dev-menu/assets/MaterialCommunityIcons.ttf
› Copying   ../../../Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/EXDevMenu.bundle/Ionicons.ttf ➜ ../../../Users/expo/workingdir/build/node_modules/expo-dev-menu/assets/Ionicons.ttf
› Copying   ../../../Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/EXDevMenu.bundle/Inter-Thin.otf ➜ ../../../Users/expo/workingdir/build/node_modules/expo-dev-menu/assets/Inter-Thin.otf
› Copying   ../../../Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/EXDevMenu.bundle/Inter-SemiBold.otf ➜ ../../../Users/expo/workingdir/build/node_modules/expo-dev-menu/assets/Inter-SemiBold.otf
› Copying   ../../../Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/EXDevMenu.bundle/Inter-Medium.otf ➜ ../../../Users/expo/workingdir/build/node_modules/expo-dev-menu/assets/Inter-Medium.otf
› Copying   ../../../Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/EXDevMenu.bundle/Inter-Light.otf ➜ ../../../Users/expo/workingdir/build/node_modules/expo-dev-menu/assets/Inter-Light.otf
› Copying   ../../../Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/EXDevMenu.bundle/Inter-ExtraLight.otf ➜ ../../../Users/expo/workingdir/build/node_modules/expo-dev-menu/assets/Inter-ExtraLight.otf
› Copying   ../../../Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/EXDevMenu.bundle/Inter-ExtraBold.otf ➜ ../../../Users/expo/workingdir/build/node_modules/expo-dev-menu/assets/Inter-ExtraBold.otf
› Copying   ../../../Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/EXDevMenu.bundle/Inter-Bold.otf ➜ ../../../Users/expo/workingdir/build/node_modules/expo-dev-menu/assets/Inter-Bold.otf
› Copying   ../../../Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/EXDevMenu.bundle/Inter-Black.otf ➜ ../../../Users/expo/workingdir/build/node_modules/expo-dev-menu/assets/Inter-Black.otf
› Copying   ../../../Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/EXDevMenu.bundle/EXDevMenuApp.ios.js ➜ ../../../Users/expo/workingdir/build/node_modules/expo-dev-menu/assets/EXDevMenuApp.ios.js
› Copying   ../../../Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/EXDevLauncher.bundle/main.jsbundle ➜ ../../../Users/expo/workingdir/build/node_modules/expo-dev-launcher/ios/main.jsbundle
› Compiling expo-dev-launcher Pods/expo-dev-launcher-EXDevLauncher » EXDevLauncherErrorView.storyboard
› Compiling react-native Pods/Yoga » log.cpp
› Compiling react-native Pods/Yoga » experiments.cpp
› Compiling react-native Pods/Yoga » event.cpp
› Compiling react-native Pods/Yoga » Yoga.cpp
› Compiling react-native Pods/Yoga » Yoga-dummy.m
› Compiling react-native Pods/Yoga » YGValue.cpp
› Compiling react-native Pods/Yoga » YGStyle.cpp
› Compiling react-native Pods/Yoga » YGNodePrint.cpp
› Compiling react-native Pods/Yoga » YGNode.cpp
› Compiling react-native Pods/Yoga » YGLayout.cpp
› Compiling react-native Pods/Yoga » YGEnums.cpp
› Compiling react-native Pods/Yoga » YGConfig.cpp
› Compiling react-native Pods/Yoga » Utils.cpp
› Packaging react-native Pods/Yoga » libYoga.a
› Compiling react-native Pods/React-perflogger » React-perflogger-dummy.m
› Compiling react-native Pods/React-perflogger » BridgeNativeModulePerfLogger.cpp
› Compiling expo-dev-menu-interface Pods/expo-dev-menu-interface » expo-dev-menu-interface-dummy.m
› Packaging react-native Pods/React-perflogger » libReact-perflogger.a
› Creating  Pods/expo-dev-menu-EXDevMenu » EXDevMenu.bundle
› Compiling react-native Pods/React-jsinspector » React-jsinspector-dummy.m
› Compiling react-native Pods/React-jsinspector » InspectorInterfaces.cpp
› Packaging expo-dev-menu-interface Pods/expo-dev-menu-interface » libexpo-dev-menu-interface.a
› Packaging react-native Pods/React-jsinspector » libReact-jsinspector.a
› Compiling react-native Pods/React-logger » react_native_log.cpp
› Compiling react-native Pods/React-logger » React-logger-dummy.m
› Executing expo-dev-menu-interface Pods/expo-dev-menu-interface » Copy generated compatibility header
› Packaging react-native Pods/React-logger » libReact-logger.a
› Preparing react-native Pods/React-Core-AccessibilityResources » ResourceBundle-AccessibilityResources-React-Core-Info.plist
› Preparing expo-updates Pods/EXUpdates-EXUpdates » ResourceBundle-EXUpdates-EXUpdates-Info.plist
› Copying   react-native ../../../Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle/en.lproj ➜ ../../../Users/expo/workingdir/build/node_modules/react-native/React/AccessibilityResources/en.lproj
› Compiling expo-updates-interface Pods/EXUpdatesInterface » noop-file.m
-> I removed my Compiling lines because my output is too long to post on the forum ^^"
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ 	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'expo-dev-menu' from project 'Pods')
▸ 	PhaseScriptExecution [CP-User]\ Generate\ app.config\ for\ prebuilt\ Constants.manifest /Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/EXConstants.build/Script-46EB2E00010F00.sh (in target 'EXConstants' from project 'Pods')
▸ 	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'EASClient' from project 'Pods')
▸ (3 failures)
› Compiling expo-dev-menu Pods/expo-dev-menu » MockedSafeAreaViewProvider.swift
› Packaging expo Pods/Expo » libExpo.a
› Executing expo-keep-awake Pods/ExpoKeepAwake » Copy generated compatibility header
2022-08-12 04:04:44.325 xcodebuild[4306:13492] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-08-12 04:04:44.325 xcodebuild[4306:13492] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-08-12 04:04:44.390 xcodebuild[4306:13492] XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process.}
2022-08-12 04:04:44.390 xcodebuild[4306:13492] Font server protocol version mismatch (expected:5 got:0), falling back to local fonts
2022-08-12 04:04:44.390 xcodebuild[4306:13492] XType: unable to make a connection to the font daemon!
2022-08-12 04:04:44.390 xcodebuild[4306:13492] XType: XTFontStaticRegistry is enabled as fontd is not available.
** ARCHIVE FAILED **
The following build commands failed:
	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'expo-dev-menu' from project 'Pods')
	PhaseScriptExecution [CP-User]\ Generate\ app.config\ for\ prebuilt\ Constants.manifest /Users/expo/Library/Developer/Xcode/DerivedData/OurApplicationName-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApplicationName/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/EXConstants.build/Script-46EB2E00010F00.sh (in target 'EXConstants' from project 'Pods')
	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'EASClient' from project 'Pods')
(3 failures)
Exit status: 65
› Compiling expo-font Pods/EXFont » EXFontScalersManager.m
› Compiling expo-font Pods/EXFont » EXFontScaler.m
› Compiling expo-font Pods/EXFont » EXFontManager.m
› Compiling expo-font Pods/EXFont » EXFontLoaderProcessor.m
+-------------+-------------------------+
|           Build environment           |
+-------------+-------------------------+
| xcode_path  | /Applications/Xcode.app |
| gym_version | 2.205.2                 |
| sdk         | iPhoneOS15.4.sdk        |
+-------------+-------------------------+
› Compiling expo-font Pods/EXFont » EXFontLoader.m
Looks like fastlane ran into a build/archive error with your project
It's hard to tell what's causing the error, so we wrote some guides on how
to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
Before submitting an issue on GitHub, please follow the guide above and make
sure your project is set up correctly.
fastlane uses `xcodebuild` commands to generate your binary, you can see the
the full commands printed out in yellow in the above log.
Make sure to inspect the output above, as usually you'll find more error information there
› Compiling expo-font Pods/EXFont » EXFont.m
[stderr] [!] Error building the application - see the log above
› Compiling expo-font Pods/EXFont » EXFont-dummy.m
› Executing [CP] Copy XCFrameworks
› Packaging expo-font Pods/EXFont » libEXFont.a
› Compiling expo-error-recovery Pods/EXErrorRecovery » EXErrorRecoveryModule.m
› Compiling expo-error-recovery Pods/EXErrorRecovery » EXErrorRecovery-dummy.m
Error: Fastlane build failed with unknown error. Please refer to the "Run fastlane" and "Xcode Logs" phases.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.

Another important information, when I run the following command a cryptic error appears.
Any help is really welcome

eas credentials                                                                                                                                                                                        
✔ Select platform › iOS
✔ Which build profile do you want to configure? › development
✔ Using build profile: development
If you provide your Apple account credentials we will be able to generate all necessary build credentials and fully validate them.
This is optional, but without Apple account access you will need to provide all the missing values manually and we can only run minimal validation on them.
✔ Do you want to log in to your Apple account? … yes

› Log in to your Apple Developer account to continue
✔ Apple ID: … ourAdminEmaim@domain.com
› Restoring session /Users/me/.app-store/auth/ourAdminEmaim@domain.com/cookie
› Team Wishibam (TEAM_ID)
› Provider Wishibam (118406983)
✔ Logged in Local session
✔ What do you want to do? › Build Credentials: Manage everything needed to build your project
✔ What do you want to do? › All: Set up all the required credentials to build your project
AssertionError [ERR_ASSERTION]: You must be in your project directory in order to perform this action
Cryptic error? Learn more: https://expo.fyi/cryptic-error-eas

Hi @kgrenier

I’m not sure what’s wrong with the build there. It looks like it could have been a network issue, though. I assume you’ve tried it again since then and it still fails in the same way?

Does it work if you try an interactive build?

Were you in your app’s root directory when you ran eas credentials? Is this a monorepo? (I haven’t used a monorepo myself, so not sure if it could cause this sort of error.)

Hey @wodin,

First of all thanks for your answer. :grin:

The error about fonts server not reachable appears on expo build servers. I tried many builds during the last week on different days, so I’m almost sure it isn’t a temporary network problem. But it seems to be a network error, maybe due to credentials? I found this stackoverflow post speaking about it.
Another post speaks about xcode version, it’s strange.

The git repository only contains the react native app, all the configuration files are in the root repository (which contains .git folder), pretty basic setup here nothing fancy :confused:

hmmm… ok, it looks like it could have something to do with an SSL cert.

Maybe you could try setting the ios.image to "latest" in eas.json.

Hey wodin,

Ok so I tryied the configuration to use the latest ios image. The error changed, now it’s the following :

Preparing credentials
Creating keychain
Preparing credentials for target 'OurAppName'
Getting distribution certificate fingerprint
Writing distribution certificate to /var/folders/h2/gp9wlkv11lg0qj6y2mnqgc_40000gn/T/4a8b590a-0e5d-4bfa-be84-d580682313c9.p12
Importing distribution certificate into the keychain
Initializing provisioning profile
Validating whether distribution certificate has been imported successfully
Destroying keychain - /var/folders/h2/gp9wlkv11lg0qj6y2mnqgc_40000gn/T/turtle-v2-739634d0-1b82-4ee4-8c96-4b0f820c02a2.keychain
Distribution certificate with fingerprint AC1XXXXXXXXXXXXXXXXXXXXXXXXX30 hasn't been imported successfully

This is “good news” because the error is now the same in local and on expo build servers :tada:
But I have no clue how to fix this.
I can debug this with console.log into node_modules folder @expo/build-tools, if you want more information.
Today our team will try recreate apple certificate/profile to see if it fix something (we already tried it, but we are out of ideas how to fix this ! ^^)

hmmm… here’s another post indicating that an updated CA Cert might fix it, but I have no idea how that would apply to the EAS Build servers:

Just a guess, but does eas build -p ios ... --clear-cache make any difference?

Hello, I’m working with @kgrenier , I updated expo and react to the latest versions and hit the exact same issue as the first one.

I tried to review credentials with the EAS cli tool, but hit issues too:

✔ What do you want to do? › Set up your project to use an API Key for EAS Submit
✔ Generate a new App Store Connect API Key? … yes
✖ Failed to create App Store Connect API Key.
UnexpectedAppleResponse: The specified resource does not exist - There is no resource of type 'apiKeys' with id 'RK29FQC425'
Cryptic error? Learn more: https://expo.fyi/cryptic-error-eas
Press any key to continue...

I think it’s unrelated though. The build credentials for development seem to be ok. But still, I get the same error on EAS (while executing fastlane):

Command timed out after 3 seconds on try 1 of 4, trying again with a 6 second timeout...
[stderr] 2022-08-18 08:34:50.674 xcodebuild[4341:12507] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
[stderr] 2022-08-18 08:34:50.675 xcodebuild[4341:12507] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
[stderr] 2022-08-18 08:34:50.738 xcodebuild[4341:12507] XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process.}
[stderr] 2022-08-18 08:34:50.738 xcodebuild[4341:12507] Font server protocol version mismatch (expected:5 got:0), falling back to local fonts
[stderr] 2022-08-18 08:34:50.738 xcodebuild[4341:12507] XType: unable to make a connection to the font daemon!
[stderr] 2022-08-18 08:34:50.738 xcodebuild[4341:12507] XType: XTFontStaticRegistry is enabled as fontd is not available.

About the comment regarding the cache, we have no cache since we run the build on the Github Action.

If you create a new Expo app, does that build OK? What if you then add all of the dependencies from your app to this new app?

Hello again. Building an app from scratch is working properly. It does not look related to the font issue since I also have this issue on a green build (on the app working).

But it seems like there’s a problem with expo-dev-menu. And I’m afraid I have not much logs:

▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ 	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'expo-dev-menu' from project 'Pods')
▸ 	PhaseScriptExecution [CP-User]\ Generate\ app.config\ for\ prebuilt\ Constants.manifest /Users/expo/Library/Developer/Xcode/DerivedData/OurApp-arkafauevkrvfefccrxaaoxtebvu/Build/Intermediates.noindex/ArchiveIntermediates/OurApp/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/EXConstants.build/Script-46EB2E00012820.sh (in target 'EXConstants' from project 'Pods')
▸ (2 failures)

Just to second this, i am having the same problem. Any other thoughts on how to go about resolving this issue?

Unfortunately I’m not sure why this is happening, so all I can suggest is trying a process of elimination.

You can try this from two directions:

  • Create a new app and make sure it builds and runs. Then start adding dependencies (maybe all of them to start with and if that fails, then in chunks) to see if maybe there’s something weird with your dependencies causing the problem. Then try copying your code across to the new app. Either it will work after this or at some point it will fail in the same way. If it works… well, you can try to see what the differences are between the working and failing app (e.g. check the JSON files and npm/yarn lock files, etc. for differences).
  • Otherwise try removing/disabling stuff from your app until things start working.

Hopefully, by doing this you will get a better understanding of what is wrong and maybe how to fix it.

I’m having the same issue… I tried upgrading from SDK44 to SDK45, creating a new Distribution certificate and some other stuff but nothing worked. Any progress on that issue ?

Hi, @georgipavlov

See if creating a new app for testing purposes gives you the same error. If a new app works, then you should be able to figure out what’s different between the test app and the real app by a process of elimination.

e.g. see my previous message in this thread and also: fyi/manual-debugging.md at main · expo/fyi · GitHub