I have two swift projects, application
and library
, where library
is a dependency of application
. I have a Podfile
configured as so;
我有两个快速的项目,应用程序和库,其中库是应用程序的依赖项。我有一个Podfile配置如此;
workspace 'myworkspace'
platform :ios, '9.0'
use_frameworks!
target :library do
project 'library/library.xcproject'
pod 'GCDWebServer', '~> 3.0'
target :application do
project 'application/application.xcproject'
end
end
After running pod install
successfully, and building (see this question), the workspace includes two missing files as seen in red in this screenshot;
成功运行pod安装并构建(请参阅此问题)后,工作区包含两个丢失的文件,如此屏幕截图中的红色所示;
Is this expected or is something wrong?
这是预期还是有问题?
Xcode 7.3, Cocoapods 1.0.1, repo
Xcode 7.3,Cocoapods 1.0.1,repo
2 个解决方案
#1
1
These warnings are not actual build warnings, but came from your SVN / GIT repository. It is true that the directories shown no longer exist. Please update your working copy to reflect those changes. Once you commit your working directory, the warning should go.
这些警告不是实际构建警告,而是来自您的SVN / GIT存储库。确实显示的目录不再存在。请更新您的工作副本以反映这些更改。提交工作目录后,应该发出警告。
Please check following GitHub issue for discussion and solution to your problem.
请检查以下GitHub问题,以便讨论和解决您的问题。
Github问题链接
Hope this helped.
希望这有帮助。
#2
0
This problem often occurs in Xcode. Different things work for different situations, but restarting Xcode as well as building and running the project often fix the issue. Trying options along those lines will most often fix the issue.
Xcode中经常会出现此问题。不同的东西适用于不同的情况,但重新启动Xcode以及构建和运行项目通常可以解决问题。沿着这些方向尝试选项通常会解决问题。
#1
1
These warnings are not actual build warnings, but came from your SVN / GIT repository. It is true that the directories shown no longer exist. Please update your working copy to reflect those changes. Once you commit your working directory, the warning should go.
这些警告不是实际构建警告,而是来自您的SVN / GIT存储库。确实显示的目录不再存在。请更新您的工作副本以反映这些更改。提交工作目录后,应该发出警告。
Please check following GitHub issue for discussion and solution to your problem.
请检查以下GitHub问题,以便讨论和解决您的问题。
Github问题链接
Hope this helped.
希望这有帮助。
#2
0
This problem often occurs in Xcode. Different things work for different situations, but restarting Xcode as well as building and running the project often fix the issue. Trying options along those lines will most often fix the issue.
Xcode中经常会出现此问题。不同的东西适用于不同的情况,但重新启动Xcode以及构建和运行项目通常可以解决问题。沿着这些方向尝试选项通常会解决问题。