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

[MacOS] build Warning #21600

Open
car5ten opened this issue Oct 25, 2023 · 6 comments
Open

[MacOS] build Warning #21600

car5ten opened this issue Oct 25, 2023 · 6 comments

Comments

@car5ten
Copy link

car5ten commented Oct 25, 2023

Issue Description

App can't be archived using XCode 15.0.1 with MacOS 14.

Command executed

Using gym to upload to AppCenter:

gym(
      scheme: "...",
      clean: true,
      output_directory: "build",
      export_method: "enterprise",
      xcodebuild_formatter: ""
    )
Complete output when running fastlane, including the stack trace and command used

The log contains multi messages like this:

[09:52:56]: ▸ Details:  createItemModels creation requirements should not create capability item model for a capability item model that already exists.
[09:52:56]: ▸ Function: createItemModels(for:itemModelSource:)
[09:52:56]: ▸ Thread:   <_NSMainThread: 0x600000efc240>{number = 1, name = main}
[09:52:56]: ▸ Please file a bug at https://feedbackassistant.apple.com/ with this warning message and any useful information you can provide.
[09:52:56]: ▸ 2023-10-25 09:52:56.435 xcodebuild[2669:10441] [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

and

Details:  createItemModels creation requirements should not create capability item model for a capability item model that already exists.
Function: createItemModels(for:itemModelSource:)
Thread:   <_NSMainThread: 0x600000efc240>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com/ with this warning message and any useful information you can provide.
2023-10-25 09:52:56.382 xcodebuild[2669:10441] [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
 Flutter is also facing that problem (https://github.com/flutter/flutter/issues/135277) 
@mastef
Copy link

mastef commented Oct 27, 2023

Related issue mogol/flutter_secure_storage#600 which it seems some people solved by renaming DT_TOOLCHAIN_DIR to TOOLCHAIN_DIR

@cbracken
Copy link

This is now fixed on Flutter master branch as of flutter/flutter#138243

@mastef
Copy link

mastef commented Nov 11, 2023

@cbracken if I read the commit correctly they are just filtering it from the output logs it seems?

@cbracken
Copy link

Correct this is an Xcode issue rather than a flutter issue. The warning is asking the reader to file a Radar against Xcode at feedback.apple.com. The build itself proceeds correctly. Xcode is doing the same in its own console within the IDE.

@mastef
Copy link

mastef commented Nov 11, 2023

@cbracken initial issue here seems to be that @car5ten can't archive his app due to this?

So possibly another issue may be blocking the archiving then - or if this is the main blocker then hiding the log doesn't seem like a solution

@stanogn
Copy link

stanogn commented Nov 19, 2023

Hey, i also have issues with this (on some machines only, weirdly). I cannot build. It fails after a bunch of these messages and a few more warnings (which were present before without issues).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants