Podfile the dependency "isn't used in any concrete target

Source: Internet
Author: User
Tags install cocoapods

Content Summary:

Podfile after upgrading to the latest version, the contents of the pod must clearly indicate the target of the third-party library used, otherwise the dependency "is not used in any concrete target such errors.

The following are stated from three steps:

1. Podfile Upgrade

To view the pod version:

Pod--version

Pod Upgrade (This is the upgrade to the 1.0.0.beta.2 version):

sudo gem install cocoapods--pre

2. Error content:

The content of my podfile is:

Platform:ios, ' 7.0 ' pod ' Reactivecocoa ', ' 2.1.8 ' pod ' objectiveflickr ', ' 2.0.4 ' pod ' Linqtoobjectivec ', ' 2.0.0 ' pod ' Sdwebimage ', ' 3.6 '

An error occurred after Pod install the dependency ' is not used in any concrete target

Pod install/system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/ Rbconfig.rb:213:warning:insecure World writable Dir/applications/cocos/tools/ant/bin in PATH, mode 040777Re-creating C Ocoapods due to major version update. Updating Local specs repositoriesanalyzing dependencies[!] The dependency ' Reactivecocoa (= 2.1.8) ' is not used on any concrete target. The dependency ' objectiveflickr (= 2.0.4) ' is not used on any concrete target. The dependency ' linqtoobjectivec (= 2.0.0) ' is not used on any concrete target. The dependency ' sdwebimage (= 3.6) ' is not used on any concrete target.

3. Modification Method:

Podfile Content Changes:

Platform:ios, ' 7.0 ' target "rwtflickrsearch" Dopod ' Reactivecocoa ', ' 2.1.8 ' pod ' objectiveflickr ', ' 2.0.4 ' pod ' Linqtoobjectivec ', ' 2.0.0 ' pod ' sdwebimage ', ' 3.6 ' end

If you run the pod install again, it will succeed.

Podfile the dependency "isn't used in any concrete target

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.