Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build / IOS build failed (DVTAssertions error) #2079

Closed
MohamedEltantawy176 opened this issue Oct 6, 2023 · 9 comments
Closed

Build / IOS build failed (DVTAssertions error) #2079

MohamedEltantawy176 opened this issue Oct 6, 2023 · 9 comments
Labels
needs review Issue is ready to be reviewed by a maintainer

Comments

@MohamedEltantawy176
Copy link

Build/Submit details page URL

No response

Summary

i get the following error when i try to build IOS with cache clear with:

eas build --platform ios --profile production --local --clear-cache

Managed or bare?

Managed

Environment

expo-env-info 1.0.5 environment info:
System:
OS: macOS 14.0
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.8.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 10.1.0 - /opt/homebrew/bin/npm
Managers:
CocoaPods: 1.13.0 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10671973
Xcode: 15.0/15A240d - /usr/bin/xcodebuild
npmPackages:
@expo/metro-config: ~0.10.0 => 0.10.7
expo: ^49.0.0 => 49.0.8
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.72.5 => 0.72.5
react-native-web: ~0.19.6 => 0.19.7
npmGlobalPackages:
eas-cli: 5.4.0
Expo Workflow: managed

npx expo-doctor:

✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✔ Check that native modules use compatible support package versions for installed Expo SDK
✔ Check that packages match versions required by installed Expo SDK

Error output

[RUN_FASTLANE] Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
[RUN_FASTLANE] 2023-10-06 15:01:23.244 xcodebuild[32668:1121721] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22267/IDEFoundation/Provisioning/Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103
[RUN_FASTLANE] Details: createItemModels creation requirements should not create capability item model for a capability item model that already exists.
[RUN_FASTLANE] Function: createItemModels(for:itemModelSource:)
[RUN_FASTLANE] Thread: <_NSMainThread: 0x6000029982c0>{number = 1, name = main}
[RUN_FASTLANE] Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
[RUN_FASTLANE] ** ARCHIVE FAILED **
[RUN_FASTLANE] Exit status: 65

Reproducible demo or steps to reproduce from a blank project

npx create-expo-app my-app

create and setup eas.json

eas build --platform ios --profile YOUR_PROFILE --local --clear-cache

@MohamedEltantawy176 MohamedEltantawy176 added the needs review Issue is ready to be reviewed by a maintainer label Oct 6, 2023
@marcato15
Copy link

Having this same issue as well

@lukegardiner
Copy link

Same issue here too after updating to xCode 15.0 and macOS Sonoma 14.0 on M2 mac.

@CyonAlexRDX
Copy link

We have this problem with Sonoma and Xcode 15.... takes up 20% of all logs.

@AzaelContramaestre01
Copy link

same issuea with sonoma and xcode 15

@ex7r3me
Copy link

ex7r3me commented Oct 17, 2023

I have the same issue in Sonoma and xcode 15

@NTag
Copy link

NTag commented Oct 26, 2023

Same issue, macOS Sonoma, Xcode 15.0.1, on a M2 MacBook Air.

It's really problematic as it prevents to build the app locally 🥲

@PrajTS
Copy link

PrajTS commented Nov 1, 2023

Adding use_modular_headers! at the beginning of the podfile solved this issue. In my case, the firebase packages were the ones causing the issue.

This works too https://stackoverflow.com/questions/72289521/swift-pods-cannot-yet-be-integrated-as-static-libraries-firebasecoreinternal-lib/73092662#73092662

@szdziedzic
Copy link
Member

I believe that this is the same issue as here. The message that you are mentioning is only a warning. Usually Run Fastlane phase doesn't contain all of the logs. If you follow my instructions from #2111 (comment) you should be able to access Xcode logs to see the real error there.

Let me know if it helps!

@phil-hudson
Copy link

Same issue here:

Xcode 15.0.1

[RUN_FASTLANE] Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
[RUN_FASTLANE] 2023-11-30 12:33:37.325 xcodebuild[16491:86116] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/IDEFoundation/Provisioning/Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103
[RUN_FASTLANE] Details:  createItemModels creation requirements should not create capability item model for a capability item model that already exists.
[RUN_FASTLANE] Function: createItemModels(for:itemModelSource:)
[RUN_FASTLANE] Thread:   <_NSMainThread: 0x7f982d7098c0>{number = 1, name = main}
[RUN_FASTLANE] Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
[RUN_FASTLANE] 2023-11-30 12:33:37.326 xcodebuild[16491:86116] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/IDEFoundation/Provisioning/Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103
[RUN_FASTLANE] Details:  createItemModels creation requirements should not create capability item model for a capability item model that already exists.
[RUN_FASTLANE] Function: createItemModels(for:itemModelSource:)
[RUN_FASTLANE] Thread:   <_NSMainThread: 0x7f982d7098c0>{number = 1, name = main}
[RUN_FASTLANE] Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
[RUN_FASTLANE] ** ARCHIVE FAILED **
[RUN_FASTLANE] Exit status: 65

[RUN_FASTLANE] +---------------------------------------+
[RUN_FASTLANE] |           Build environment           |
[RUN_FASTLANE] +-------------+-------------------------+
[RUN_FASTLANE] | xcode_path  | /Applications/Xcode.app |
[RUN_FASTLANE] | gym_version | 2.217.0                 |
[RUN_FASTLANE] | sdk         | iPhoneOS17.0.sdk        |
    "expo": "^49.0.18",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Issue is ready to be reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

10 participants