Close Menu
  • Home
  • AI
  • Big Data
  • Cloud Computing
  • iOS Development
  • IoT
  • IT/ Cybersecurity
  • Tech
    • Nanotechnology
    • Green Technology
    • Apple
    • Software Development
    • Software Engineering

Subscribe to Updates

Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

    What's Hot

    Zane Maldonado LattePanda IOTA-Powered CG Deck Moves from Dream to Engineering Prototype

    May 26, 2026

    How Agentic AI Is Changing Network Traffic: Cisco Report

    May 26, 2026

    Apple’s incredible AirPods Pro 3 drop back below $200

    May 26, 2026
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    Big Tee Tech Hub
    • Home
    • AI
    • Big Data
    • Cloud Computing
    • iOS Development
    • IoT
    • IT/ Cybersecurity
    • Tech
      • Nanotechnology
      • Green Technology
      • Apple
      • Software Development
      • Software Engineering
    Big Tee Tech Hub
    Home»iOS Development»ios – Build failed in Xcode due to: Command PhaseScriptExecution failed with a nonzero exit code
    iOS Development

    ios – Build failed in Xcode due to: Command PhaseScriptExecution failed with a nonzero exit code

    big tee tech hubBy big tee tech hubJanuary 30, 2026001 Min Read
    Share Facebook Twitter Pinterest Copy Link LinkedIn Tumblr Email Telegram WhatsApp
    Follow Us
    Google News Flipboard
    ios – Build failed in Xcode due to: Command PhaseScriptExecution failed with a nonzero exit code
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link

    [ad_1]

    My app project fails to build and I have no idea what’s wrong?

    I tried toggling the ” for install builds only ” on and off in the build phases tab, which was suggested in other, older, topics. But didn’t do anything.

    enter image description here

    A bit more specifics on the error:

    bash: -c: line 0: syntax error near unexpected token `3'
    bash: -c: line 0: 
    
    `/Users/app/ios/Pods/../../node_modules/expo/node_modules/expo-constants/ios/../scripts/get-app-config-ios.sh'
    

    get-app-config-ios.sh

        #!/usr/bin/env bash
    
    set -eo pipefail
    
    set -x
    
    DEST="$CONFIGURATION_BUILD_DIR"
    RESOURCE_BUNDLE_NAME="EXConstants.bundle"
    EXPO_CONSTANTS_PACKAGE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
    
    # For classic main project build phases integration, will be no-op to prevent duplicated app.config creation.
    #
    # `$PROJECT_DIR` is passed by Xcode as the directory to the xcodeproj file.
    # in classic main project setup it is something like /path/to/app/ios
    # in new style pod project setup it is something like /path/to/app/ios/Pods
    PROJECT_DIR_BASENAME=$(basename $PROJECT_DIR)
    if [ "x$PROJECT_DIR_BASENAME" != "xPods" ]; then
      exit 0
    fi
    
    # If PROJECT_ROOT is not specified, fallback to use Xcode PROJECT_DIR
    PROJECT_ROOT=${PROJECT_ROOT:-"$PROJECT_DIR/../.."}
    PROJECT_ROOT=${PROJECT_ROOT:-"$EXPO_CONSTANTS_PACKAGE_DIR/../.."}
    
    cd "$PROJECT_ROOT" || exit
    
    if [ "$BUNDLE_FORMAT" == "shallow" ]; then
      RESOURCE_DEST="$DEST/$RESOURCE_BUNDLE_NAME"
    elif [ "$BUNDLE_FORMAT" == "deep" ]; then
      RESOURCE_DEST="$DEST/$RESOURCE_BUNDLE_NAME/Contents/Resources"
      mkdir -p "$RESOURCE_DEST"
    else
      echo "Unsupported bundle format: $BUNDLE_FORMAT"
      exit 1
    fi
    
    "${EXPO_CONSTANTS_PACKAGE_DIR}/scripts/with-node.sh" "${EXPO_CONSTANTS_PACKAGE_DIR}/scripts/getAppConfig.js" "$PROJECT_ROOT" "$RESOURCE_DEST"
    

    [ad_2]

    Source link

    build Code Command due exit failed iOS nonzero PhaseScriptExecution Xcode
    Follow on Google News Follow on Flipboard
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Copy Link
    tonirufai
    big tee tech hub
    • Website

    Related Posts

    ios – Error “Conformance of [StructType] to protocol [ProtocolType] crosses into main actor isolated code in approachable concurrency

    May 26, 2026

    Anthropic’s restricted Claude Mythos model may be coming to Claude Code

    May 26, 2026

    Big Apple Watch AI upgrade might not arrive with iOS 27

    May 25, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Zane Maldonado LattePanda IOTA-Powered CG Deck Moves from Dream to Engineering Prototype

    May 26, 2026

    How Agentic AI Is Changing Network Traffic: Cisco Report

    May 26, 2026

    Apple’s incredible AirPods Pro 3 drop back below $200

    May 26, 2026

    A practical guide for platform teams managing shared AI deployments

    May 26, 2026
    Timer Code
    15 Second Timer for Articles
    20
    About Us
    About Us

    Welcome To big tee tech hub. Big tee tech hub is a Professional seo tools Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of seo tools, with a focus on dependability and tools. We’re working to turn our passion for seo tools into a booming online website. We hope you enjoy our seo tools as much as we enjoy offering them to you.

    Don't Miss!

    Zane Maldonado LattePanda IOTA-Powered CG Deck Moves from Dream to Engineering Prototype

    May 26, 2026

    How Agentic AI Is Changing Network Traffic: Cisco Report

    May 26, 2026

    Subscribe to Updates

    Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

      • About Us
      • Contact Us
      • Disclaimer
      • Privacy Policy
      • Terms and Conditions
      © 2026 bigteetechhub.All Right Reserved

      Type above and press Enter to search. Press Esc to cancel.