2

当我通过将 .framework 从 Project Navigator 拖到选项卡中将其添加到“Link Binary With Libraries”列表中时,出现错误。

我的错误...

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_UAPush", referenced from:
      objc-class-ref in KinveyKit(KCSPush.o)
  "_OBJC_CLASS_$_UAirship", referenced from:
      objc-class-ref in KinveyKit(KCSPush.o)
  "_UAirshipTakeOffOptionsAirshipConfigKey", referenced from:
      -[KCSPush initializeUrbanAirshipWithOptions:error:] in KinveyKit(KCSPush.o)
  "_logging", referenced from:
      -[KCSPush application:didReceiveRemoteNotification:] in KinveyKit(KCSPush.o)
     (maybe you meant: _OBJC_IVAR_$_KCSLogManager._loggingState, _OBJC_IVAR_$_FBLogger._loggingBehavior )
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

当我删除 .framework 时,应用程序运行没有错误。

此外,当我查看 Kinvey.framework 中的 Headers 文件夹时,我看到带有红色名称的头文件。这可能与问题有关吗?

为什么会这样??

4

1 回答 1

2

UAPush = 城市飞艇推送。

将 libUAirship.a 添加到您的项目中。

在这里你可以下载 lib

关于城市飞艇推送的完整文档

还要检查这个城市飞艇常见错误

于 2013-04-08T19:34:41.943 回答