I installed the latest version Xcode 8 beta. My Project was developed by Swift 2.0. So I convert the project to Swift 3. So I update the pod file. But When I update the pod file I am getting error.
Pod file:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'Alamofire', '~> 3.4'
pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git'
pod "SwiftSpinner"
#pod "AFNetworking", "2.5.0"
pod 'HanekeSwift'
Error message:
Re-creating CocoaPods due to major version update. Analyzing dependencies [!] The dependency
Alamofire (~> 3.4)
is not used in any concrete target. The dependencySwiftyJSON (from
https://github.com/SwiftyJSON/SwiftyJSON.git)
is not used in any concrete target. The dependencySwiftSpinner
is not used in any concrete target. The dependencyHanekeSwift
is not used in any concrete target.
NOTE: I already update the cocoapods using this command
sudo gem install cocoapods
To solve this issue delete the current pod file and create one using the terminal. Follow the below steps:
pod init
in terminal to create new pod filetarget "TargetName" do
and before end
.pod install
in the terminalHope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With