0


大家好,

我想在我的 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

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

4

1 回答 1

0

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

谢谢。

于 2013-03-05T06:21:53.087 回答