POD错误。 Pod依赖于删除的\`pre_install \`或\`post_install \`

时间:2014-05-22 11:10:11

标签: xcode facebook cocoapods

当我尝试安装pods时。它说,

Installing AFNetworking 2.0.0-RC3 (was 2.0.0-RC3)
Installing Bolts (1.1.0)
Installing Facebook-iOS-SDK 3.14.1 (was 3.8.0)
Installing FontAwesomeKit (2.1.5)
Installing FontasticIcons 0.5.0 (was 0.5.0)
Installing JXHTTP (1.0.0)
Installing MBProgressHUD 0.8 (was 0.8)
Installing NSData+Base64 (1.0.0)
Installing RNFrostedSidebar (0.2.0)
Installing SSToolkit 1.0.4 (was 1.0.4)
[!] /bin/bash 
set -e
echo "This Pod relies on the removed \`pre_install\` or \`post_install\` hooks and therefore will no longer continue to work. Please try updating to the latest version of this Pod or updating the Pod specification. See http://blog.cocoapods.org/CocoaPods-Trunk/ for more details." && exit 1

This Pod relies on the removed `pre_install` or `post_install` hooks and therefore will no longer continue to work. Please try updating to the latest version of this Pod or updating the Pod specification. See http://blog.cocoapods.org/CocoaPods-Trunk/ for more details.

任何人都在想,该怎么做才能纠正这个错误。这与pods或任何特定的回购有关。 ?

1 个答案:

答案 0 :(得分:2)

您的问题仅来自SSToolkit。这里找到的解决方案:https://github.com/soffes/sstoolkit/issues/197也适用于我。也就是说,在您的Podfile中,将SSToolkit行替换为:

 pod 'SSToolkit', :git => 'https://github.com/soffes/sstoolkit.git', :commit => '1403f02cb98f8357f4b8e43c59d9c69d608d7bed'