-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
When using Carthage to build, xcodebuild error "Unhandled/unexpected case where no run destinations were produced." #3305
Comments
is happening the same error on my project, with another library... |
The same problem occurred with the project |
I had the same problem |
Same for me, error when building on Xcode 14.0, at the same moment on Xcode 13 there's no such issue |
I have this problem in Xcode 14.1 with Lottie-ios library. What's happeningError on (carthage_dependency)! Exit status of command 'carthage update --platform ios --use-xcframeworks' was 1 instead of 0. Backtrace: |
Good morning
cancel topic!
Em sex., 11 de nov. de 2022 às 17:35, Hoji Deli ***@***.***>
escreveu:
I have this problem in Xcode 14.1 with Lottie-ios library.
Mac os: Ventura 13.0
$ carthage update --platform ios --use-xcframeworks
What's happening
Error on (carthage_dependency)! Exit status of command 'carthage update
--platform ios --use-xcframeworks' was 1 instead of 0.
*** Fetching lottie-ios
*** Checking out lottie-ios at "9e19fd1a62a1658538d2d1ec6f0e43b2cc989678"
*** xcodebuild output can be found in
/var/folders/z1/jlhfp_c561z9mz12yg58n4rw0000gn/T/carthage-xcodebuild.MTJOpQ.log
A shell task (/usr/bin/xcrun xcodebuild -project
/Users/Projects/Carthage/Checkouts/lottie-ios/Lottie.xcodeproj -scheme
Lottie_iOS -configuration Release CODE_SIGNING_REQUIRED=NO
CODE_SIGN_IDENTITY= CARTHAGE=YES archive -showBuildSettings
-skipUnavailableActions) failed with exit code 6:
2022-11-11 xcodebuild[1804:25219] [MT] DVTAssertions: ASSERTION FAILURE in
/System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot1/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-21534.1/IDEFoundation/Execution/RunDestinations/IDERunDestinationCLI.m:566
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: 0x13260b490>{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 _sortDevicesForDisplay (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)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
null
|
I had the same problem with another library, but after deleting the folder below and running 'carthage update', the update was successful. |
Same issue as hojatdelfan on different library and Monterey, Xcode 14.1. Removing Builds & Checkouts does not help. |
exactly the same issue as @hojatdelfan . Has there been any resolution of this?? I've noticed that when editing the Lottie_iOS scheme in Xcode, under Build > Targets it is showing Lottie_iOS (missing). adding with + Lottie-iOS, and it has moved past this error, now producing same error for next scheme Lottie_macOS. After doing similar change for Lottie_macOS, and final scheme Lottie_tvOS, the build completes. Whether this is a viable workaround, i do not know. |
which carthage
: /opt/homebrew/bin/carthagecarthage version
: 0.38.0xcodebuild -version
:Xcode 14.0.1
Build version 14A400
--no-build
? no--no-use-binaries
? no--use-submodules
? no--cache-builds
? no--new-resolver
? no--use-xcframeworks
? yesCartfile
Carthage Output
Actual outcome
Carthage did not build
Expected outcome
Carthage should build
I looked at the command line generated by Carthage:
if I remove all the parameters, the project builds. I suspect the issue is with "-scheme Carthage\ Update" but it might also be related to the other parameters - I tried removing one or two parameters and couldn't find a magic combo. Removing all parameters causes the project to build properly.
The text was updated successfully, but these errors were encountered: