gpt4 book ai didi

ios - 安全地忽略 Carthage.resolved?

转载 作者:技术小花猫 更新时间:2023-10-29 11:16:47 24 4
gpt4 key购买 nike

使用 Carthage 时,我会在当前文件夹中获取自动生成的 Carthage 文件。 git 忽略它是否安全或它的用途是什么?

最佳答案

实际上,这是不可取的。引自 Carthage's README.md on Github :

Along the way, Carthage will have created some build artifacts. The most important of these is the Cartfile.resolved file, which lists the versions that were actually built for each framework. Make sure to commit your Cartfile.resolved, because anyone else using the project will need that file to build the same framework versions.

After you’ve finished the above steps and pushed your changes, other users of the project only need to fetch the repository and run carthage bootstrap to get started with the frameworks you’ve added.

关于ios - 安全地忽略 Carthage.resolved?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34688075/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com