amplitude / amplitude/Amplitude-iOS

Carthage build with XCode 14 failed - No Destination

Đang mở
#411 6 bình luận 8 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Objective-C
Star
328
Fork
194
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Expected Behavior
Typically this builds using scheme Amplitude-iOS

## Current Behavior
XCRun failed before it got to that point processing the Amplitude scheme

## Possible Solution
I was able to make it get through the Carthage build by marking the Amplitude scheme as not shared

## Steps to Reproduce

1. Set up in Cartfile - github "amplitude/Amplitude-iOS" ~> 8.0.1
2.Do a carthage update which got the latest release 8.13.0
3.Do a carthage build - carthage build --use-xcframeworks --platform ios --no-use-binaries
4.

## Environment
- SDK Version: XCode 14
- Device: IMac
- OS Version: Monterey

Error received in terminal running carthage build:
DMooreMac:app-ios-TemplateApp david$ carthage build --use-xcframeworks --platform ios --no-use-binaries
*** xcodebuild output can be found in /var/folders/5p/dz0d7m8139vgnnhvk6xrmbth0000gp/T/carthage-xcodebuild.vaqrpS.log
*** Building scheme "AnalyticsConnector" in AnalyticsConnector.xcodeproj
A shell task (/usr/bin/xcrun xcodebuild -project /Users/david/Source/Github/app-builders/ios/app-ios-TemplateApp/Carthage/Checkouts/Amplitude-iOS/Amplitude.xcodeproj -scheme Amplitude -configuration Release CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -showBuildSettings -skipUnavailableActions) failed with exit code 6:
2022-09-14 11:17:24.577 xcodebuild[50592:261263] [MT] DVTAssertions: ASSERTION FAILURE in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot2/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-21335/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: 0x600001e4c440>{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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.