error: emit-module command failed with exit code 1 (use -v to see invocation)

Viewed 74

in react-native. when i am trying to run yarn ios on macbook Air m1 getting this error.

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening HealthcareReportScanner.xcworkspace. Run CLI with --verbose flag for more details. Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace HealthcareReportScanner.xcworkspace -configuration Debug -scheme HealthcareReportScanner -destination id=663CB6A7-09D2-4CD3-95D7-21502462A5D4

User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES

note: Using new build system note: Planning Analyze workspace

Create build description Build description signature: 4e1dac4639597f03efa8a467b4f3a53a Build description path: /Users/mujaffar/Library/Developer/Xcode/DerivedData/HealthcareReportScanner-axiueovaiqviucfigkirvijrymin/Build/Intermediates.noindex/XCBuildData/4e1dac4639597f03efa8a467b4f3a53a-desc.xcbuild

note: Build preparation complete note: Building targets in dependency order PhaseScriptExecution Start\ Packager /Users/mujaffar/Library/Developer/Xcode/DerivedData/HealthcareReportScanner-axiueovaiqviucfigkirvijrymin/Build/Intermediates.noindex/HealthcareReportScanner.build/De/Users/mujaffar/Desktop/builder\ Project/healthcarereportscanner-223656-react-vaiqviucfigkirvijrymin/Build/Intermediates.noindex/HealthcareReportScanner.build/Debug-iphonesimulator/HealthcareReportScanner.build/Objects-normal/arm64/HealthcareReportScanner.abi.json :0: error: module map file '/Users/mujaffar/Library/Developer/Xcode/DerivedData/HealthcareReportScanner-axiueovaiqviucfigkirvijrymin/Build/Products/Debug-iphonesimulator/react-native-geolocation-service/react_native_geolocation_service.modulemap' not found Command EmitSwiftModule failed with a nonzero exit code

error: emit-module command failed with exit code 1 (use -v to see invocation)

2022-09-13 20:36:20.710 xcodebuild[21687:314940] 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-09-13 20:36:20.710 xcodebuild[21687:314940] 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 **** BUILD FAILED ****

The following build commands failed: CompileSwift normal arm64 /Users/mujaffar/Desktop/builder\ Project/healthcarereportscanner-223656-react-native/src/packages/mobile/ios/File.swift (in target 'HealthcareReportScanner' from project 'HealthcareReportScanner') EmitSwiftModule normal arm64 (in target 'HealthcareReportScanner' from project 'HealthcareReportScanner') CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'HealthcareReportScanner' from project 'HealthcareReportScanner') (3 failures)

error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed. Exit code: 1 Command: /opt/homebrew/Cellar/node/18.9.0/bin/node Arguments: /opt/homebrew/lib/node_modules/yarn/lib/cli.js ios Directory: /Users/mujaffar/Desktop/builder Project/healthcarereportscanner-223656-react-native/src/packages/mobile Output:

info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

0 Answers
Related