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

Xcode 14 (beta 2) - watchOS target has no scheme #511

Open
woutergoossens opened this issue Jun 27, 2022 · 2 comments
Open

Xcode 14 (beta 2) - watchOS target has no scheme #511

woutergoossens opened this issue Jun 27, 2022 · 2 comments

Comments

@woutergoossens
Copy link

woutergoossens commented Jun 27, 2022

Hi,

When using the latest Xcode 14 beta, Carthage fails with this error:

`2022-06-24 20:46:58.714 xcodebuild[37000:21658006] [MT] DVTSDK: Warning: SDK path collision for path 'DVTFilePath:0x60000251e450:'/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk'': SDK with name 'macosx13.0' being superseded by SDK with 'macosx13.0'.
2022-06-24 20:46:59.524 xcodebuild[37000:21658081] nil host used in call to allowsSpecificHTTPSCertificateForHost
2022-06-24 20:46:59.524 xcodebuild[37000:21658081] nil host used in call to allowsAnyHTTPSCertificateForHost:
2022-06-24 20:47:00.152 xcodebuild[37000:21658006] [MT] DVTAssertions: ASSERTION FAILURE in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot8/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-21257.0.0.0.25/IDEFoundation/Execution/RunDestinations/IDERunDestinationCLI.m:565
Details: Unhandled/unexpected case where no run destinations were produced.
Object:
Method: +resolveRunDestinationsWithWorkspace:scheme:buildAction:schemeCommand:schemeTask:destinationSpecifications:architectures:timeout:runDestinationManager:deviceManager:fallbackPreferredSDK:fallbackPreferredArchitectures:skipUnsupportedDestinations:shouldSkipRunDestinationValidation:didDisambiguate:disambiguatedMatches:disambiguatedMatchesDescription:error:
Thread: <_NSMainThread: 0x600001b1c3c0>{number = 1, name = main}
Hints:

Backtrace:
0 -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
1 _DVTAssertionHandler (in DVTFoundation)
2 _DVTAssertionFailureHandler (in DVTFoundation)
3 +[IDERunDestinationCLI resolveRunDestinationsWithWorkspace:scheme:buildAction:schemeCommand:schemeTask:destinationSpecifications:architectures:timeout:runDestinationManager:deviceManager:fallbackPreferredSDK:fallbackPreferredArchitectures:skipUnsupportedDestinations:shouldSkipRunDestinationValidation:didDisambiguate:disambiguatedMatches:disambiguatedMatchesDescription:error:] (in IDEFoundation)
4 -[Xcode3CommandLineBuildTool _resolveRunDestinationsForBuildAction:] (in Xcode3Core)
5 -[Xcode3CommandLineBuildTool _resolveInputOptionsWithTimingSection:] (in Xcode3Core)
6 -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
7 XcodeBuildMain (in libxcodebuildLoader.dylib)
8 start (in dyld)`

When I check the project and select the Swinject-watchOS target, it has no scheme and could not be run..

Can this be fixed?

movie.mov
@SSheldon
Copy link

SSheldon commented Jul 6, 2022

I experienced an issue like this in another project and it was caused by the xcscheme. I believe this project has the same issue: https://github.com/Swinject/Swinject/blob/2.8.1/Swinject.xcodeproj/xcshareddata/xcschemes/Swinject-watchOS.xcscheme#L83

See yonaskolb/XcodeGen#1226 for more details and a possible fix.

@dawiddr
Copy link

dawiddr commented Jul 7, 2022

This seems to be resolved in Xcode 14 beta 3.

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

No branches or pull requests

3 participants