Open henrik-dmg opened 3 weeks ago
[!NOTE]
Put up a commit. Commit description details more. Try it out (at one’s own discretion) withbrew uninstall carthage; brew install --head carthage
. ℹ️ℹ️ℹ️
@henrik-dmg just to be thorough in asking questions — any chance the iOS platform had not yet been installed when this run happened?
Sometimes there's a window like:
[!NOTE]
Help us grab debugging info: as soon as you first see the above issue, if you were already planning to download the iOS platform (sometime colloquially called iOS SDK), then run and grab the following:
$ /Applications/Xcode-beta.app/Contents/Developer/usr/bin/xcodebuild -version | grep version
Build version 16A5171c
$ /Applications/Xcode-beta.app/Contents/Developer/usr/bin/xcodebuild -downloadPlatform iOS
Downloading iOS 18.0 Simulator (22A5282m): 29.6% (2.51 GB of 8.46 GB)^C
$ : echo ___ nicely the download does not stop with control-C pressed
Thanks for your quick reply. No, the iOS SDK was definitely installed the Xcode 16 Command line Tools were selected
Similar issue here. Platform iOS is specified, Xcode 16 beta 1 and iOS SDK installed, but
carthage update Alamofire --platform iOS --use-xcframeworks --no-use-binaries
results in:
*** Skipped building Alamofire due to the error:
Dependency "Alamofire" has no shared framework schemes for any of the platforms: iOS
We have a similar issue in our project as well. The specifics:
We run carthage bootstrap --platform iOS --cache-builds --no-use-binaries --use-ssh --use-xcframeworks
*** Skipped building Quick due to the error:
Dependency "Quick" has no shared framework schemes for any of the platforms: iOS
If you believe this to be an error, please file an issue with the maintainers at https://github.com/Quick/Quick/issues/new
*** Skipped building InputBarAccessoryView due to the error:
Dependency "InputBarAccessoryView" has no shared framework schemes for any of the platforms: iOS
If you believe this to be an error, please file an issue with the maintainers at https: //github.com/nathantannar4/InputBarAccessoryView/issues/new
A shell task (/us/bin/xcrun xcodebuild -project /Users/n.gueven/Projects/pd-mob-bc-ios/Carthage/Checkouts/RxSwift/Rx.codeproj -scheme AlTests-iOS -configuration Debug CODE_SIGNING_REQU
GN_IDENTITY= CARTHAGE=YES archive -showBuildSettings -skipUnavailableActions) failed with exit code 6:
2024-06-11 14:50:19.285 xcodebuild[23672:195613] Writing error result bundle to /var/folders/dp/v41xtm191zv8kd00tnzlp_t1dh24hm/T/ResultBundle_2024-11-06_14-50-0019. xcresult
xcodebuild: error: Found no destinations for the scheme 'AllTests-iOS' and action archive.
Put up a commit. Commit description details more. Try it out (at one’s own discretion) with brew uninstall carthage; brew install --head carthage
.
〜 Carthage maintainers will have to restore CI (to test, unit and integration style) before we ship it. Details in the commit description. We have a plan in mind.
@jdhealy I had a go and this is what I'm seeing.
I got an error re unlinking, so I did that and:
Error: carthage 0.39.1 is already installed
To install HEAD, first run:
brew unlink carthage
> brew unlink carthage
Unlinking /opt/homebrew/Cellar/carthage/0.39.1... 4 symlinks removed.
> brew uninstall carthage; brew install --head carthage
Error: Unexpected method 'appcast' called on Cask adoptopenjdk8.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
==> Fetching carthage
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/a0299599c065580bb5f9e85482b28d5ed5fa5bfd/Formula/c/car
######################################################################################################################## 100.0%
==> Cloning https://github.com/Carthage/Carthage.git
Cloning into '/Users/wrutkowski/Library/Caches/Homebrew/carthage--git'...
warning: templates not found in /usr/share/git-core/templates
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
==> make prefix_install PREFIX=/opt/homebrew/Cellar/carthage/HEAD-87fedfb
==> Caveats
zsh completions have been installed to:
/opt/homebrew/share/zsh/site-functions
==> Summary
🍺 /opt/homebrew/Cellar/carthage/HEAD-87fedfb: 9 files, 5.7MB, built in 4 minutes 4 seconds
==> Running `brew cleanup carthage`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /Users/wrutkowski/Library/Caches/Homebrew/carthage_bottle_manifest--0.39.1... (8KB)
Removing: /Users/wrutkowski/Library/Caches/Homebrew/carthage--0.39.1... (1.6MB)
> xcode-select -p
/Applications/Xcode_16b1.app/Contents/Developer
> carthage version
0.39.1
> carthage update Alamofire --platform iOS --use-xcframeworks --no-use-binaries
*** Fetching Alamofire
*** Checking out Alamofire at "5.9.1"
*** xcodebuild output can be found in /var/folders/7l/r6n559c94qd1kpmsnxdsnpw80000gr/T/carthage-xcodebuild.nwXwSS.log
*** Skipped building Alamofire due to the error:
Dependency "Alamofire" has no shared framework schemes for any of the platforms: iOS
If you believe this to be an error, please file an issue with the maintainers at https://github.com/Alamofire/Alamofire/issues/new
@jdhealy following your steps I was able to build CocoaLumberjack
using carthage update --use-xcframeworks
, thanks! 👍🏼 haven't tested with other frameworks though
Seems to fail when specifying --platform iOS
Doesn't fail when removing this platform parameter, but then it requires all simulators relevant for the specific projects to be installed (tvOS for example).
Something wrong with the platform scheme lookup or something?
@wrutkowski-tyro yes, great to have you post that feedback (on has no shared framework schemes for any of the platforms: iOS). Thank you!
Helped us find an additional bug 🎉 , which — it being a separate issue — gonna link there and hide the comment to allow folks consuming all no destinations
info or additional feedback to scroll quickly.
@einar-notland, we put up another commit. Good chance we fixed what you’re hitting. Try using the below:
[!NOTE]
Put up a second commit for June. Commit description details more. Try it out (at one’s own discretion) withbrew uninstall carthage; brew install --head carthage
. ℹ️ℹ️ℹ️
@jdhealy Thank you so much. The latest commit seems to fix the problems we have seen related to using --platform iOS
on Xcode 16 Beta 🙂
which carthage
:/opt/homebrew/bin/carthage
carthage version
: 0.39.1xcodebuild -version
:Xcode 16.0 Build version 16A5171c
--no-build
? No--no-use-binaries
? No--use-submodules
? No--cache-builds
? No--new-resolver
? No--use-xcframeworks
? YesCartfile
Carthage Output
Actual outcome Carthage fails to build CocoaLumberjack because it seemingly tries to build an iOS unit test scheme that has no run destinations (project
Tests/Tests.xcodeproj
in CocoaLumberjack repo)Expected outcome Carthage should build CocoaLumberjack correctly