Today see Cocopods updated to 1.0.1, when the update to the 1.0 did not find, just updated, immediately after a lot of errors.
If not updated, it is recommended not to update!!! The writing is in trouble!
Now record how to remove the error step-by-step:
1, Pod--version view version number, now if look less than 1.0.1
Enter pod repo update for the pod version.
Enter pod--version again to see if the version number is 1.0.1
If so, congratulations on your trip to the pits!
2. Update Podfile file
This is my previous
Platform:ios, ' 8.0 ' pod ' jpush ' pod ' sdautolayout ' pod ' afnetworking ' pod ' ytxanimations ',: Subspecs = ["Animatecss", " Csshake "," Magiccss "]
The name of the project works after the update to My App
Platform:ios, ' 8.0 ' target ' My App ' dopod ' jpush ' pod ' sdautolayout ' pod ' afnetworking ' pod ' ytxanimations ',: Subspecs = ["Animatecss", "Csshake", "Magiccss"]end
And then the pod install recompile, and there's a problem.
3, update the Podfile file again, add this sentence will be able to use_frameworks!
Again, pod install is ready.
Platform:ios, ' 8.0 ' use_frameworks!target ' My App ' dopod ' jpush ' pod ' sdautolayout ' pod ' afnetworking ' pod ' ytxanimations ' ,: Subspecs = ["Animatecss", "Csshake", "Magiccss"]end
iOS pod library updated to 1.0 or 1.0.1 Correct modification of the Podfile file