0

我正在我的应用程序中实现推送通知(城市飞艇)。我已经编写了代码并添加了包括 libUAirship-1.1.1.a 在内的必要框架,但它显示了以下错误。

   Undefined symbols for architecture i386:
  "_UTTypeCreatePreferredIdentifierForTag", referenced from:
      +[UA_ASIHTTPRequest mimeTypeForFileAtPath:] in libUAirship-1.1.1.a(UA_ASIHTTPRequest.o)
  "_UTTypeCopyPreferredTagWithClass", referenced from:
      +[UA_ASIHTTPRequest mimeTypeForFileAtPath:] in libUAirship-1.1.1.a(UA_ASIHTTPRequest.o)
  "_kUTTagClassFilenameExtension", referenced from:
      +[UA_ASIHTTPRequest mimeTypeForFileAtPath:] in libUAirship-1.1.1.a(UA_ASIHTTPRequest.o)
  "_kUTTagClassMIMEType", referenced from:
      +[UA_ASIHTTPRequest mimeTypeForFileAtPath:] in libUAirship-1.1.1.a(UA_ASIHTTPRequest.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我不明白为什么会产生这个错误。

4

1 回答 1

1

查看此文档可能会对您有所帮助:推送通知客户端库

于 2012-02-13T05:30:28.333 回答