expo / eas-cli

Fastest way to build, submit, and update iOS and Android apps
https://docs.expo.dev/eas/
MIT License
800 stars 82 forks source link

Asset validation failed, while trying to submit iOS app #2453

Open justinjoyn opened 3 months ago

justinjoyn commented 3 months ago

Build/Submit details page URL

Build URL: https://expo.dev/accounts/thanksben/projects/ben/builds/3b0a7ddc-05bb-4da7-ba55-466aec6f419b Submit Details: https://expo.dev/accounts/thanksben/projects/ben/submissions/4677684c-f8be-46da-8f93-3b39d7d4943b

Summary

While trying to submit an iOS app to App Store Connect, it fails with errors. I've tried the submission from EAS CLI as well as the Transporter app. The errors are easier to read on Transporter, and I've provided them here.

Managed or bare?

Manged

Environment

expo-env-info 1.2.0 environment info:
    System:
      OS: macOS 14.5
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 20.12.0 - ~/.nvm/versions/node/v20.12.0/bin/node
      Yarn: 1.22.22 - ~/.nvm/versions/node/v20.12.0/bin/yarn
      npm: 10.5.0 - ~/.nvm/versions/node/v20.12.0/bin/npm
    Managers:
      CocoaPods: 1.15.2 - /opt/homebrew/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 23.5, iOS 17.5, macOS 14.5, tvOS 17.5, visionOS 1.2, watchOS 10.5
    IDEs:
      Android Studio: 2023.3 AI-233.14808.21.2331.11842104
      Xcode: 15.4/15F31d - /usr/bin/xcodebuild
    npmPackages:
      expo: ~48.0.21 => 48.0.21 
      expo-router: ^1.5.3 => 1.5.3 
      react: 18.2.0 => 18.2.0 
      react-dom: 18.2.0 => 18.2.0 
      react-native: 0.71.14 => 0.71.14 
      react-native-web: ~0.19.0 => 0.19.11 
    npmGlobalPackages:
      eas-cli: 9.1.0
    Expo Workflow: managed

Error output

Asset validation failed (90685)
CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier 
value 'com.okaythis.FccAbstractCore' under the iOS application '******.app'.

Asset validation failed (90205)
Invalid Bundle. The bundle at '******.app/Frameworks/FlutterCommunicationChannel.framework' 
contains disallowed nested bundles. 

Asset validation failed (90206)
Invalid Bundle. The bundle at '******.app/Frameworks/FlutterCommunicationChannel.framework' 
contains disallowed file 'Frameworks'.

Reproducible demo or steps to reproduce from a blank project

  1. Build the app on EAS using "Build from Github" option
  2. Submit the app using npx eas-cli submit --platform ios
szdziedzic commented 3 months ago

Hi,

I see a lot of warnings in the Run expo doctor phase of your build. Can you try to run npx expo install --check to fix these?

If you run npx expo prebuild locally and try to build your app in Xcode, can you this issue as well? 🤔