Recently in my new MACI've installed cocoa pods 1.2.1 i ran "pod update" in my projects Folder to update to the newest Version.
The result of the update is:
The dependency
FlurrySDKis not used in any concrete target.
I've fixed the problem by adding pod like this
target "PROJECT_NAME" do
pod 'FlurrySDK'
end
But Just for curiasity...
I want to know from which version of XCode / Cocoapods we need to add this line
target "PROJECT_NAME" do
and Why
Can some one please clarify on this
Your pod file will be like this, it is necessary to add your project name as "target".
Consider this code:
I hope it will help you, because i always add this for adding pods. i think it is not XCode version based.