为IOS安装Salesforce Mobile sdk时出错

时间:2013-03-04 04:59:19

标签: mobile sdk


Hii all,

我想在我的mac机器上安装salesforce mobile sdk。我已经找到了从下面给出的链接安装它的方法。
https://github.com/forcedotcom/SalesforceMobileSDK-iOS 但是在通过./install.sh进行安装时,我收到的错误如下所示

[exec] Undefined symbols for architecture i386:
[exec]   "_ABAddressBookCreateWithOptions", referenced from:
[exec]       anon in SalesforceHybridSDK(SalesforceHybridSDK)
[exec]       anon in SalesforceHybridSDK(SalesforceHybridSDK)
[exec]       anon in SalesforceHybridSDK(SalesforceHybridSDK)
[exec]       anon in SalesforceHybridSDK(SalesforceHybridSDK)
[exec]   "_ABAddressBookRequestAccessWithCompletion", referenced from:
[exec]       anon in SalesforceHybridSDK(SalesforceHybridSDK)
[exec] ld: symbol(s) not found for architecture i386
[exec] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[exec] 
[exec] 
[exec] ** BUILD FAILED **
[exec] 
[exec] 
[exec] The following build commands failed:
[exec]    Ld sfdc_build/artifacts/Simulator/Applications/VFConnector.app/VFConnector >normal i386
[exec] (1 failure)
     

建立失败   / Users / qbadmin / SalesforceMobileSDK-iOS / hybrid / SampleApps / VFConnector / sfdc_build /build.xml:34:执行此行时发生以下错误:   /Users/qbadmin/SalesforceMobileSDK-iOS/hybrid/SampleApps/VFConnector/sfdc_build>>/build.xml:41:执行此行时发生以下错误:   /Users/qbadmin/SalesforceMobileSDK-iOS/shared/build.xml:125:exec返回:65

我应该怎么做才能解决这个问题。如果有人可以,请帮助我。

1 个答案:

答案 0 :(得分:0)

这是因为IOS和Xcode的早期版本。当我更新两者时解决了我的问题。

感谢。