14.5 C
New York
Tuesday, November 19, 2024

ios – Fastlane Construct Fails on Manufacturing in Expo 51 SDK, Nice in Improvement


I upgraded from SDK 49 to SDK 51 and I’ve been struggling to construct on iOS manufacturing.
I take advantage of a dev consumer, and that builds wonderful on iOS and Android. Android builds wonderful in manufacturing, however simply iOS would not.

Been looking for options in every single place.
I’ve reset all my credentials. Eliminated examples of duplicate object keys and many others… However, nothing is working.

I carry on getting this error:

Run script construct part '[CP-User] Generate updates sources for expo-updates' shall be run throughout each construct as a result of it doesn't specify any outputs. To deal with this problem, both add output dependencies to the script part, or configure it to run in each construct by unchecking "Primarily based on dependency evaluation" within the script part. (in goal 'EXUpdates' from challenge 'Pods')

    Run script construct part '[CP-User] Generate app.config for prebuilt Constants.manifest' shall be run throughout each construct as a result of it doesn't specify any outputs. To deal with this problem, both add output dependencies to the script part, or configure it to run in each construct by unchecking "Primarily based on dependency evaluation" within the script part. (in goal 'EXConstants' from challenge 'Pods')

    Run script construct part 'Create Symlinks to Header Folders' shall be run throughout each construct as a result of it doesn't specify any outputs. To deal with this problem, both add output dependencies to the script part, or configure it to run in each construct by unchecking "Primarily based on dependency evaluation" within the script part. (in goal 'BoringSSL-GRPC' from challenge 'Pods')

▸ ** ARCHIVE FAILED **

▸ The next construct instructions failed:

▸   Ld /Customers/expo/Library/Developer/Xcode/DerivedData/Appname-Quantity/Construct/Intermediates.noindex/ArchiveIntermediates/Appname/InstallationBuildProductsLocation/Purposes/Appname.app/Appname regular (in goal 'Appname' from challenge 'Appname')

▸   Archiving workspace Appname with scheme Appname

▸ (2 failures)

** ARCHIVE FAILED **
The next construct instructions failed:

    Ld /Customers/expo/Library/Developer/Xcode/DerivedData/Appname-Quantity/Construct/Intermediates.noindex/ArchiveIntermediates/Appname/InstallationBuildProductsLocation/Purposes/Appname.app/Appname regular (in goal 'Appname' from challenge 'Appname')

    Archiving workspace Appname with scheme Appname

(2 failures)

Exit standing: 65

​

+---------------------------------------+

|           Construct surroundings           |

+-------------+-------------------------+

| xcode_path  | /Purposes/Xcode.app |

| gym_version | 2.225.0                 |

| sdk         | iPhoneOS18.1.sdk        |

+-------------+-------------------------+

Appears to be like like fastlane ran right into a construct/archive error together with your challenge.
It is exhausting to inform what's inflicting the error, so we wrote some guides on the best way to troubleshoot construct and signing points: https://docs.fastlane.instruments/codesigning/getting-started/

Earlier than submitting a difficulty on GitHub, please comply with the information above and ensure your challenge is ready up appropriately.

fastlane makes use of `xcodebuild` instructions to generate your binary, you may see the the total instructions printed out in yellow within the above log.

Be sure that to examine the output above, as normally you will discover extra error info there

[!] Error constructing the appliance - see the log above

Error: The "Run fastlane" step failed with an unknown error. Discuss with "Xcode Logs" under for added, extra detailed logs.
​


Please can anybody give any ideas?

Managed or naked?

Managed

Surroundings

expo-env-info 1.0.5 surroundings data:
    System:
      OS: macOS 14.5
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.16.1 - /usr/native/bin/node
      Yarn: 1.22.19 - /usr/native/bin/yarn
      npm: 9.5.1 - /usr/native/bin/npm
    SDKs:
      iOS SDK:
        Platforms: DriverKit 24.1, iOS 18.1, macOS 15.1, tvOS 18.1, visionOS 2.1, watchOS 11.1
    IDEs:
      Android Studio: 2024.2 AI-242.23339.11.2421.12550806
      Xcode: 16.1/16B40 - /usr/bin/xcodebuild
    npmPackages:
      @expo/metro-config: ^0.18.11 => 0.18.11 
      expo: ~51.0.39 => 51.0.39 
      react: 18.2.0 => 18.2.0 
      react-dom: 18.2.0 => 18.2.0 
      react-native: 0.74.5 => 0.74.5 
    npmGlobalPackages:
      eas-cli: 13.2.3
      expo-cli: 6.3.10
    Expo Workflow: naked

✔ Examine bundle.json for frequent points
✔ Validate international conditions variations
✔ Validate Expo Config
✔ Examine appropriate dependency variations for the put in Expo SDK
✔ Examine for conflicting international packages in challenge
✔ Examine for incompatible packages
✔ Confirm prebuild help bundle variations are appropriate

Did not discover any points with the challenge!

Reproducible demo or steps to breed from a clean challenge

run eas construct --platform ios
From my expo challenge with expo ~51.0.39

{
  "identify": "appname",
  "model": "1.0.0",
  "predominant": "node_modules/expo/AppEntry.js",
  "scripts": {
    "lint": "eslint .",
    "begin": "expo begin",
    "android": "expo begin --android",
    "ios": "expo begin --ios",
    "internet": "expo begin --web",
    "eject": "expo eject",
    "postinstall": "patch-package"
  },
  "dependencies": {
    "@expo/config-plugins": "~8.0.0",
    "@expo/metro-config": "^0.18.11",
    "@gorhom/bottom-sheet": "^5.0.5",
    "@likashefqet/react-native-image-zoom": "^2.2.0",
    "@react-native-async-storage/async-storage": "1.23.1",
    "@react-native-community/datetimepicker": "8.0.1",
    "@react-native-firebase/analytics": "^21.4.0",
    "@react-native-firebase/app": "^21.4.0",
    "@react-native-firebase/auth": "^21.4.0",
    "@react-native-firebase/firestore": "^21.4.0",
    "@react-native-firebase/capabilities": "^21.4.0",
    "@react-native-firebase/storage": "^21.4.0",
    "@react-navigation/material-bottom-tabs": "^6.2.29",
    "@react-navigation/native": "^6.1.18",
    "@react-navigation/native-stack": "^6.11.0",
    "@rneui/base": "^4.0.0-rc.7",
    "@rneui/themed": "^4.0.0-rc.7",
    "@sentry/react-native": "~5.24.3",
    "@turf/turf": "^6.5.0",
    "eslint-config-expo": "~7.1.2",
    "expo": "~51.0.39",
    "expo-application": "~5.9.1",
    "expo-av": "~14.0.7",
    "expo-build-properties": "~0.12.5",
    "expo-camera": "~15.0.16",
    "expo-checkbox": "~3.0.0",
    "expo-constants": "~16.0.2",
    "expo-crypto": "^13.0.2",
    "expo-dev-client": "~4.0.29",
    "expo-device": "~6.0.2",
    "expo-file-system": "~17.0.1",
    "expo-haptics": "~13.0.1",
    "expo-image": "^1.13.0",
    "expo-image-manipulator": "~12.0.5",
    "expo-image-picker": "~15.0.7",
    "expo-linking": "~6.3.1",
    "expo-location": "~17.0.1",
    "expo-mail-composer": "~13.0.1",
    "expo-media-library": "~16.0.5",
    "expo-network": "~6.0.1",
    "expo-notifications": "~0.28.19",
    "expo-splash-screen": "~0.27.7",
    "expo-store-review": "~7.0.2",
    "expo-task-manager": "~11.8.2",
    "expo-tracking-transparency": "~4.0.2",
    "expo-updates": "^0.25.27",
    "second": "^2.29.4",
    "patch-package": "^6.5.0",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-medium-image-zoom": "^5.1.8",
    "react-native": "0.74.5",
    "react-native-confetti-cannon": "^1.5.2",
    "react-native-device-info": "^10.8.0",
    "react-native-dropdown-picker": "^5.4.6",
    "react-native-gesture-handler": "~2.16.1",
    "react-native-google-mobile-ads": "^14.3.0",
    "react-native-iap": "^12.11.0",
    "react-native-image-modal": "^3.0.12",
    "react-native-image-viewing": "^0.2.2",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-maps": "1.14.0",
    "react-native-onboarding-swiper": "^1.3.0",
    "react-native-paper": "^5.12.5",
    "react-native-reanimated": "^3.10.1",
    "react-native-reanimated-carousel": "^3.5.1",
    "react-native-safe-area-context": "4.10.5",
    "react-native-screens": "3.31.1",
    "react-native-stars": "^1.2.2",
    "react-native-vector-icons": "^10.2.0",
    "react-native-webview": "13.8.6",
    "react-native-zoomable-view": "^0.3.1",
    "react-query": "^3.39.3",
    "shorthash": "^0.0.2",
    "styled-components": "^6.0.4",
    "zustand": "^4.3.9"
  },
  "devDependencies": {
    "@babel/core": "^7.24.0",
    "@eslint/js": "^9.14.0",
    "eslint": "^8.57.1",
    "eslint-plugin-react": "^7.37.2",
    "globals": "^15.12.0"
  },
  "resolutions": {
    "@expo/config-plugins": "~8.0.0",
    "@expo/prebuild-config": "~7.0.0",
    "expo-modules-autolinking": "~1.11.0"
  },
  "personal": true,
  "dev": "APP_VARIANT=improvement expo begin"
}

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles