search

Home  >  Q&A  >  body text

objective-c - The project downloaded from svn uses CocoaPods, but after using pod install, the project still cannot be started?

I have reinstalled cocoapods and redownloaded the code several times, and the error reported each time is different...
The system is 10.11.3, and the method used to install cocoapods is sudo gem install -n /usr/local/bin cocoapods
The following is the last time it was usedpod installPrint from the terminal


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.

No error was found, but it still failed to open the project. The last error was that many files could not be found. This time, although there was still no .a file, other files were not lost. The picture below shows the error this time. No There is only an error, and there is no button to select the iPhone version of the simulator on the right side of the debug button.


I have no problem opening my new project, it’s amazing.

我想大声告诉你我想大声告诉你2873 days ago705

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