Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个外部库,我需要将其添加到我现有的项目中。
这些步骤说将库添加到项目文件夹并将项目复制到目标组的文件夹并选择目标。(我们通常执行的添加文件的步骤)
但是,在提交时,SVN 会选择 .h 文件而不是 library(.a) 文件。
请帮忙。
您必须再次添加静态文件。您可以使用svn add命令在svn中添加静态文件。然后再次提交代码。
svn add
更新:在 XCode 中,您可以右键单击 .a 文件,Source Control--> Add.然后它将显示已添加(A)状态。然后从 Xcode 提交代码。
Source Control--> Add.