question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error on build iOS PhaseScriptExecution after upgrade

See original GitHub issue

Description

Has an error to build the app after upgrade to React Native 0.64.2

React Native version:

System:
    OS: macOS 11.4
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
    Memory: 445.62 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 15.8.0 - /usr/local/opt/nvm/versions/node/v15.8.0/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.5.1 - /usr/local/opt/nvm/versions/node/v15.8.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /Users/guilhermerigotti/.rubies/ruby-3.0.1/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.2 AI-202.7660.26.42.7351085
    Xcode: 12.4/12D4e - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.8 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: Not Found
    react-native: Not Found
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Upgrade react native version to 0.64.2
  2. Run build

Expected Results

Working well

Snack, code example, screenshot, or link to a repository:

image

The following build commands failed:
        PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/guilhermerigotti/Library/Developer/Xcode/DerivedData/MarketplaceZZ-bheshaapcwmmexacckshwnfmwppt/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-01764D7489242E53DEA0875FA864C1DC.sh
(1 failure)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:18
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
mindira5commented, Sep 15, 2021

@berchan I am facing same issue, the local xcode build is working fine but the archive build from github-actions is failing. Can you let us know how to remove FBReactNativeSpec target’s [CP-User] Generate Specs item

3reactions
lay-mandcommented, Aug 19, 2022

why this issue was closed? it’s still reproduced. I have the same and I’ve been trying to fix this about a week, nothing helped

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xcode 11 Command PhaseScriptExecut… - Apple Developer
When compiling, I keep getting this error: Command PhaseScriptExecution failed with a nonzero exit code. I tried in Xcode. Xcode > Preferences >...
Read more >
flutter build ipa - Command PhaseScriptExecution failed with a ...
Finally I found out after spending two days. In my case. Just flutter upgrade version 3.0.2 to 3.0.3.
Read more >
command phasescriptexecution failed with a nonzero exit ...
I have got this error when I trying to run the build using Xcode - ... The following build commands failed: PhaseScriptExecution [CP-User]\...
Read more >
IOS App SDK 19.4.20202 and Mac OS 12.3 Monterey failing ...
I asked for help regarding a build error using Mac OS 12.3 Monterey and Xcode 13.3 and a build error with a PhaseScriptError...
Read more >
Archiving app in IOS error 'Command PhaseScriptExecution ...
Apollo-IOS build error "Command PhaseScriptExecution failed with a ... I updated my original question. can you please have a look again?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found