我刚刚更新到Xcode 7以及Swift 2,并且由于App Transport Security检索Bolts.framework
时很快就遇到了错误。所以我更新到最新的Parse SDK。我从我的项目中删除了:
Parse.framework
ParseFacebookUtilsV4.framework
ParseUI.framework
PFFacebookUtils.h
然后将相同的,更新的框架拖到我的项目文件夹中。现在,在清理和构建之后,我在Include of non-modular header inside framework module 'ParseFacebookUtilsV4.PFFacebookUtils'
:#import <FBSDKCoreKit/FBSDKAccessToken.h>
#import <FBSDKLoginKit/FBSDKLoginManager.h>
内的声明的行上收到错误:
{{1}}
有没有人遇到并解决了这个问题呢?
此外,我已经在框架模块中允许非模块化包含&#34;设置为&#34;是&#34;
答案 0 :(得分:0)
对我来说,将我的桥接标题中的原始Running sanity checks on your system
✔ Global configuration file is valid
✔ Node.js version
✔ No .bowerrc file in home directory
✔ No .yo-rc.json file in home directory
✔ npm version
✖ NODE_PATH matches the npm root
npm global root value is not in your NODE_PATH
[Info]
NODE_PATH = /usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript
npm root = /usr/local/lib/node_modules
[Fix] Append the npm root value to your NODE_PATH variable
Add this line to your .bashrc
export NODE_PATH=$NODE_PATH:/usr/local/lib/node_modules
Or run this command
echo "export NODE_PATH=$NODE_PATH:/usr/local/lib/node_modules" >> ~/.bashrc && source ~/.bashrc
Found potential issues on your machine :(
更改为:
#import <ParseFacebookUtilsV4/ParseFacebookUtils.h>
注意添加的&#34; V4&#34;最后。