kdg*_*ill 15 cocoapods xcode7 fbsdk
由于某些奇怪的原因,在添加一个不相关的pod后,我在构建过程中收到一条错误消息,指出找不到FBSDKCorekit.h,FBSDKCopying.h和FBSDKButton.h文件.我根据我在stackoverflow上找到的建议,遵循了无数建议更改项目构建设置中的属性; 但是,似乎都没有效果.
我正在使用Cocoapods,所以我试图卸载并重新安装它以及预发布版本.我清除了pod缓存,删除了实际的pods文件夹和podfile.lock以及xcworkspace,并将pod重新安装到项目中; 但是,我仍然收到错误.
我还删除了项目缓存并重建了它......
任何援助将不胜感激
Podfile
# define a global platform for your project
platform :ios, '8.4'
# using Swift
use_frameworks!
#
source 'https://github.com/CocoaPods/Specs.git'
# disable bitcode in every sub-target
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end
target 'MyApp' do
# other pods
pod ...
# Facebook
pod 'FBSDKCoreKit' , '4.9.0-beta2'//4.8 gives same issue
pod 'FBSDKLoginKit', '4.9.0-beta2'
pod 'FBSDKShareKit', '4.9.0-beta2'
# Uber(New pod added)
pod 'UberRides' //actually just realized it's just a wrapper for very simple calls
# ==============================================================
# Sets the inheritance mode for the tests target inheriting
# only the search paths
target 'MyAppTests' do
inherit! :search_paths
end
end
Run Code Online (Sandbox Code Playgroud)
Vla*_*kov 47
更新到cocoapods 1.0.0.beta.6后发生了我的事
接下来对我有帮助:
rm -rf ~/Library/Developer/Xcode/DerivedData| 归档时间: |
|
| 查看次数: |
5045 次 |
| 最近记录: |