Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"pod install" returns "[!] Unable to find a target"

I just started this tutorial on creating a weather app for ios. Everything was going fine until I typed pod install in the terminal to..well install the pods. The result was:

Analyzing dependencies
[!] Unable to find a target

My "podfile" document and "Pods" folder are in the same folder as my "RHSWeather.xcodeproj".

I'm using Xcode 6.1. My "podfile" document reads as follows:

platform :ios, '7.0'

xcodeproj 'RHSWeather'

pod 'Mantle', '~>1.3.1'
pod 'LBBlurredImage', '~>0.1.0'
pod 'TSMessages', '~>0.9.4'
pod 'ReactiveCocoa', '~>2.1.7'
pod 'HexColors', '~>2.2.1'

I've also changed the "podfile" document to:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'

xcodeproj 'RHSWeather'

pod 'Mantle', '~>1.3.1'
pod 'LBBlurredImage', '~>0.1.0'
pod 'TSMessages', '~>0.9.4'
pod 'ReactiveCocoa', '~>2.1.7'
pod 'HexColors', '~>2.2.1'

no luck..yet. I'm almost sure I've done the previous steps correctly.

like image 635
Owen Avatar asked Nov 12 '14 01:11

Owen


1 Answers

For me, i changed the name in Project target, pay attention, let it be the same name

Target name in project same in target Name CocoaPods

Targets NameApp Pod NameApp

like image 192
YannSteph Avatar answered Sep 27 '22 22:09

YannSteph