admin管理员组文章数量:1303374
TLDR: how can I get Resolve Package Graphs to succeed when running Xcode 16 under Fastlane? Is there some option to scan
I am missing or some setup/config I need to do prior to running scan
?
My company is using Fastlane to run tests when we open PR's. It's failing while trying to resolve package graphs for SPM / Swift Package Manager packages.
With Xcode 15, this runs great:
desc """
Builds a Debug configuration of the app and runs its tests.
- Example usage: `fastlane test`
"""
lane :test do
puts(message: "about to scan for tests ☺️")
scan(
workspace: "MyWonderfulApp.xcworkspace",
scheme: "MyWonderfulApp",
configuration: "Debug",
cloned_source_packages_path: "~/SourcePackages",
clean: true,
reset_simulator: true,
device: "iPhone 15" - or "iPhone 16" if we're under Xcode 16
)
puts(message: "done scanning for tests")
end
And the log looks something like this:
[16:29:47]: Driving the lane 'ios test'
本文标签:
iosxcodebuild and swift package managercan39t resolve package graphsStack Overflow
版权声明:本文标题:ios - xcodebuild and swift package manager, can't resolve package graphs - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人,
转载请联系作者并注明出处:http://www.betaflare.com/web/1741757915a2396223.html,
本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论