Several EAS errors on bundling application

When using EAS to compile my app, i get a lot of errors and most of them look related to xcode. My app can run locally without problem btw.

I think the main errors are these:

[stderr] 2022-10-24 17:00:52.983 xcodebuild[4401:13452] 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-10-24 17:00:52.984 xcodebuild[4401:13452] 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-10-24 17:00:53.038 xcodebuild[4401:13452] 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.}

I have tried to get a fix for this but so far no success.

My EAS version is: eas-cli/1.0.0 darwin-arm64 node-v16.16.0

that is a red herring. scroll through your logs to see the actual error. stderr is used for printing warnings also. share a link to your build page if you want.

Thanks for your answer! Here are the complete logs (without the ‘Compiling…’ lines). It fails in the Run fastlane step.


❌  (node_modules/expo-modules-core/ios/JSI/ExpoModulesProxySpec.mm:12:118)

  10 | using PromiseInvocationBlock = void (^)(RCTPromiseResolveBlock resolveWrapper, RCTPromiseRejectBlock rejectWrapper);
  11 | 
> 12 | static void callPromiseSetupWithBlock(jsi::Runtime &runtime, std::shared_ptr<CallInvoker> jsInvoker, std::shared_ptr<Promise> promise, PromiseInvocationBlock setupBlock)
     |                                                                                                                      ^ use of undeclared identifier 'Promise'
  13 | {
  14 |   auto weakResolveWrapper = CallbackWrapper::createWeak(promise->resolve_.getFunction(runtime), runtime, jsInvoker);
  15 |   auto weakRejectWrapper = CallbackWrapper::createWeak(promise->reject_.getFunction(runtime), runtime, jsInvoker);

❌  (node_modules/expo-modules-core/ios/JSI/ExpoModulesProxySpec.mm:14:29)

  12 | static void callPromiseSetupWithBlock(jsi::Runtime &runtime, std::shared_ptr<CallInvoker> jsInvoker, std::shared_ptr<Promise> promise, PromiseInvocationBlock setupBlock)
  13 | {
> 14 |   auto weakResolveWrapper = CallbackWrapper::createWeak(promise->resolve_.getFunction(runtime), runtime, jsInvoker);
     |                             ^ incomplete type 'facebook::react::CallbackWrapper' named in nested name specifier
  15 |   auto weakRejectWrapper = CallbackWrapper::createWeak(promise->reject_.getFunction(runtime), runtime, jsInvoker);
  16 | 
  17 |   __block BOOL resolveWasCalled = NO;

❌  (node_modules/expo-modules-core/ios/JSI/ExpoModulesProxySpec.mm:15:28)

  13 | {
  14 |   auto weakResolveWrapper = CallbackWrapper::createWeak(promise->resolve_.getFunction(runtime), runtime, jsInvoker);
> 15 |   auto weakRejectWrapper = CallbackWrapper::createWeak(promise->reject_.getFunction(runtime), runtime, jsInvoker);
     |                            ^ incomplete type 'facebook::react::CallbackWrapper' named in nested name specifier
  16 | 
  17 |   __block BOOL resolveWasCalled = NO;
  18 |   __block BOOL rejectWasCalled = NO;

❌  (node_modules/expo-modules-core/ios/JSI/ExpoModulesProxySpec.mm:95:91)

  93 | 
  94 |   // The function that is invoked as a setup of the JS `Promise`.
> 95 |   auto promiseSetupFunc = [expoModulesProxy, args](jsi::Runtime &runtime, std::shared_ptr<Promise> promise) {
     |                                                                                           ^ use of undeclared identifier 'Promise'
  96 |     callPromiseSetupWithBlock(runtime, expoModulesProxy->jsInvoker_, promise, ^(RCTPromiseResolveBlock resolver, RCTPromiseRejectBlock rejecter) {
  97 |       NSString *moduleName = convertJSIStringToNSString(runtime, args[0].getString(runtime));
  98 |       NSString *methodName = convertJSIStringToNSString(runtime, args[1].getString(runtime));

❌  (node_modules/expo-modules-core/ios/JSI/ExpoModulesProxySpec.mm:109:10)

  107 |   };
  108 | 
> 109 |   return createPromiseAsJSIValue(runtime, promiseSetupFunc);
      |          ^ use of undeclared identifier 'createPromiseAsJSIValue'
  110 | }
  111 | 
  112 | static jsi::Value __hostFunction_ExpoModulesProxySpec_callMethodSync(jsi::Runtime &runtime, TurboModule &turboModule, const jsi::Value *args, size_t count)
› Packaging react-native Pods/React-CoreModules » libReact-CoreModules.a
› Compiling expo-modules-core Pods/ExpoModulesCore » ExpoModulesCore-dummy.m
› Compiling expo-modules-core Pods/ExpoModulesCore » EXViewManagerAdapterClassesRegistry.m
› Compiling expo-modules-core EXViewManagerAdapter.m
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ 	CompileC /Users/expo/Library/Developer/Xcode/DerivedData/GUUAO-gkskcbeypeqkfidptivlokhhccex/Build/Intermediates.noindex/ArchiveIntermediates/GUUAO/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ExpoModulesCore.build/Objects-normal/arm64/ExpoModulesProxySpec.o /Users/expo/workingdir/build/node_modules/expo-modules-core/ios/JSI/ExpoModulesProxySpec.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'ExpoModulesCore' from project 'Pods')
▸ (1 failure)
2022-10-24 17:00:59.931 xcodebuild[4442:13658] 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-10-24 17:00:59.932 xcodebuild[4442:13658] 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-10-24 17:00:59.993 xcodebuild[4442:13658] 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-10-24 17:00:59.993 xcodebuild[4442:13658] Font server protocol version mismatch (expected:5 got:0), falling back to local fonts
2022-10-24 17:00:59.993 xcodebuild[4442:13658] XType: unable to make a connection to the font daemon!
2022-10-24 17:00:59.993 xcodebuild[4442:13658] XType: XTFontStaticRegistry is enabled as fontd is not available.
** ARCHIVE FAILED **
The following build commands failed:
	CompileC /Users/expo/Library/Developer/Xcode/DerivedData/GUUAO-gkskcbeypeqkfidptivlokhhccex/Build/Intermediates.noindex/ArchiveIntermediates/GUUAO/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ExpoModulesCore.build/Objects-normal/arm64/ExpoModulesProxySpec.o /Users/expo/workingdir/build/node_modules/expo-modules-core/ios/JSI/ExpoModulesProxySpec.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'ExpoModulesCore' from project 'Pods')
(1 failure)
Exit status: 65
+-------------+-------------------------+
|           Build environment           |
+-------------+-------------------------+
| xcode_path  | /Applications/Xcode.app |
| gym_version | 2.206.1                 |
| sdk         | iPhoneOS15.5.sdk        |
+-------------+-------------------------+
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
[stderr] [!] Error building the application - see the log above
Error: Fastlane build failed with unknown error. See logs for the "Run fastlane" and "Xcode Logs" phases for more information.
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.

my guess is that you have some warnings in your expo doctor build phase, take a look at that. also possible share a link to your build page

i found your build, please look at the expo doctor step where it informs you of many issues: