我正在尝试重新创建 cocoapod FBSDKShareKit 的绑定。
我执行了:
sharpie pod init ios FBSDKShareKit
sharpie pod bind
我得到的错误:
While building module 'FBSDKShareKit' imported from /private/var/folders/something.h:1:
In file included from <module-includes>:1:
In file included from /Users/something/ShareKit/build/Release-maccatalyst/FBSDKShareKit/FBSDKShareKit.framework/Headers/FBSDKShareKit-umbrella.h:13:
In file included from /Users/something/ShareKit/build/Release-maccatalyst/FBSDKShareKit/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h:30:
/Users/something/ShareKit/build/Release-maccatalyst/FBSDKShareKit/FBSDKShareKit.framework/Headers/FBSDKCoreKitImport.h:29:10: fatal error:
'FBSDKCoreKit/FBSDKCoreKit.h' file not found
#import <FBSDKCoreKit/FBSDKCoreKit.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/var/folders/something.h:1:9: fatal error: could not build module 'FBSDKShareKit'
@import FBSDKShareKit;
~~~~~~~^~~~~~~~~~~~~
Binding...
2 errors generated.
Error while processing /private/var/folders/something.h.
Done. Exiting with error code 1.
error: Clang failed to parse input and exited with code 1
似乎某些参考未正确解析/复制。谷歌没有告诉我这个问题(或者我问了错误的问题)。
过去有人见过这个错误,甚至知道解决方案吗?