search

Home  >  Q&A  >  body text

objective-c - 从svn下载回来的项目使用了CocoaPods 但是使用pod install后,项目依然不能启动?

重新安装了几次cocoapods和重新下载代码,每次的报错都有不一样...
系统是10.11.3,安装cocoapods是使用sudo gem install -n /usr/local/bin cocoapods
下面是最后一次使用pod install终端打印出来的


haua-mac-pro:2016_ios_src haua$ pod install
Updating local specs repositories

CocoaPods 1.0.0.beta.4 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.

For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.

Analyzing dependencies
Downloading dependencies
Using AFDownloadRequestOperation (2.0.1)
Using AFNetworking (2.6.3)
Using AMapLocation (1.1.1)
Using DACircularProgress (2.3.1)
Using FMDB (2.6)
Using MBProgressHUD (0.9.2)
Using MJRefresh (3.1.0)
Installing MWPhotoBrowser (2.1.1)
Installing SDWebImage (3.7.5)
Installing YTKNetwork (0.6.0)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 6 dependencies from the Podfile and 10
total pods installed.

没发现报错,但是打开项目还是不行,上一次报错是很多文件都找不到,这次虽然还是没有.a文件,但是其它文件不丢失了,下图是这次的报错,不单单是有报错,而且调试按钮右边没有选择simulator iPhone版本的按钮。


我打开自己的新建的项目就没问题,神奇了。

我想大声告诉你我想大声告诉你2757 days ago666

reply all(1)I'll reply

  • 为情所困

    为情所困2017-05-02 09:27:14

    Did the poster not modify the build Settings? User Header Search Paths

    In the xcode project, write ${SRCROOT} in TARGETS -> Search Paths -> User Header Search Paths and change the following parameters to recursive.

    reply
    0
  • Cancelreply