忽略文件Accounts.framework / Accounts,文件是为不支持的文件格式构建的,而不是所链接的体系结构(i386):

时间:2013-06-28 06:24:33

标签: objective-c xcode macos frameworks

抱歉我的英语。我正在使用XCode 4.6并尝试将STTwitter包含在我的应用程序中,该应用程序使用Accounts.framework和Social.framework。包括之后我得到了以下警告:

ignoring file <path-to-sdk>/MacOSX10.8.sdk/System/Library/Frameworks//Accounts.framework/Accounts,
file was built for unsupported file format
( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 9 0x 0 0x 0 0x 0 )
which is not the architecture being linked (i386): 
<path-to-sdk>/MacOSX10.8.sdk/System/Library/Frameworks//Accounts.framework/Accounts

(对于Social.framework同等警告)

之后在使用此框架的函数中出现如此多的错误

我尝试在i386 arch中编译,couse x64在我的项目中需要进行太多更改

感谢。

PS我在我的项目中添加了这个框架(不是物理上的)

1 个答案:

答案 0 :(得分:0)