#!/usr/bin/env bash # @generated by expo-modules-autolinking set -eo pipefail function with_node() { # Start with a default export NODE_BINARY=$(command -v node) # Override the default with the global environment ENV_PATH="$PODS_ROOT/../.xcode.env" if [[ -f "$ENV_PATH" ]]; then source "$ENV_PATH" fi # Override the global with the local environment LOCAL_ENV_PATH="${ENV_PATH}.local" if [[ -f "$LOCAL_ENV_PATH" ]]; then source "$LOCAL_ENV_PATH" fi if [[ -n "$NODE_BINARY" && -x "$NODE_BINARY" ]]; then echo "Node found at: ${NODE_BINARY}" else cat >&2 << NODE_NOT_FOUND error: Could not find "node" executable while running an Xcode build script. You need to specify the path to your Node.js executable by defining an environment variable named NODE_BINARY in your project's .xcode.env or .xcode.env.local file. You can set this up quickly by running: echo "export NODE_BINARY=\$(command -v node)" >> .xcode.env in the ios folder of your project. NODE_NOT_FOUND exit 1 fi # Execute argument, if present if [[ "$#" -gt 0 ]]; then "$NODE_BINARY" "$@" fi } with_node \ --no-warnings \ --eval "require('expo/bin/autolinking')" \ expo-modules-autolinking \ generate-modules-provider \ --target "/Users/ace/manglasabang/domains/palaceapp/shells/palace-mobile/ios/Pods/Target Support Files/Pods-Palace/ExpoModulesProvider.swift" \ --entitlement "/Users/ace/manglasabang/domains/palaceapp/shells/palace-mobile/ios/Palace/Palace.entitlements" \ \ --platform "apple" \ --packages "burnt" "expo" "expo-application" "expo-asset" "expo-background-task" "expo-blur" "expo-constants" "expo-crypto" "expo-dev-launcher" "expo-dev-menu" "expo-device" "expo-eas-client" "expo-file-system" "expo-font" "expo-haptics" "expo-image" "expo-image-manipulator" "expo-image-picker" "expo-keep-awake" "expo-linear-gradient" "expo-linking" "expo-localization" "expo-router" "expo-secure-store" "expo-splash-screen" "expo-updates" "expo-web-browser"