Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module Build Failed PhaseScriptExecution (in target OpenSSL-Universal) #31951

Closed
lsbyerley opened this issue Aug 4, 2021 · 5 comments
Closed
Labels
Needs: Triage 🔍 Resolution: Locked This issue was locked by the bot.

Comments

@lsbyerley
Copy link

Description

Initiated a new project with npx react-native init myApp does not build. This is a barebones project, no other changes have been made after the initial project init command

React Native version:

System:
OS: macOS 10.15.6
CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Memory: 9.05 GB / 32.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.17.0 - ~/.nvm/versions/node/v14.17.0/bin/node
Yarn: Not Found
npm: 6.14.13 - ~/.nvm/versions/node/v14.17.0/bin/npm
Watchman: 2021.06.07.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.7, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 11.7/11E801a - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_111 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.2 => 0.64.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. npx react-native init myApp
  2. cd myApp
  3. npx react-native run-ios

Expected Results

App builds correctly and runs in simulator

Module Build Results

warning: Mapping architecture arm64 to x86_64. Ensure that this target’s Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target ‘OpenSSL-Universal’ from project ‘Pods’)

PhaseScriptExecution [CP]\ Copy\ XCFrameworks /Users/user/Library/Developer/Xcode/DerivedData/myApp-aakpxxhjqpcszlbvctrmbeunxdrq/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/OpenSSL-Universal.build/Script-BD3BB04C9F7F7A61D27919A0454E6173.sh (in target ‘OpenSSL-Universal’ from project ‘Pods’)
@safaiyeh
Copy link
Contributor

safaiyeh commented Aug 4, 2021

Refer to this guide for M1 issues. #31941

@safaiyeh safaiyeh closed this as completed Aug 4, 2021
@lsbyerley
Copy link
Author

@safaiyeh I'm not on an M1 man that doesn't help me

@lsbyerley
Copy link
Author

If anyone comes across this.. I needed to be on xcode 12.4 to run react-native 0.64

@dellwatson
Copy link

same issue, not M1 and cannot run 0.64, I do able to run 0.63

@daniimd
Copy link

daniimd commented Jun 14, 2022

same issue

@facebook facebook locked as resolved and limited conversation to collaborators Aug 4, 2022
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Aug 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs: Triage 🔍 Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants