Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/36.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iphone:Urban飞艇libUAirship-1.1.1。发生错误_Iphone_Objective C_Urbanairship.com - Fatal编程技术网

iphone:Urban飞艇libUAirship-1.1.1。发生错误

iphone:Urban飞艇libUAirship-1.1.1。发生错误,iphone,objective-c,urbanairship.com,Iphone,Objective C,Urbanairship.com,我正在我的应用程序中实现推送通知(城市飞艇)。我已经编写了代码,还添加了必要的框架,包括libUAirship-1.1.1.a,但它显示了以下错误 Undefined symbols for architecture i386: "_UTTypeCreatePreferredIdentifierForTag", referenced from: +[UA_ASIHTTPRequest mimeTypeForFileAtPath:] in libUAirship-1.1.1.

我正在我的应用程序中实现推送通知(城市飞艇)。我已经编写了代码,还添加了必要的框架,包括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)

我无法理解为什么会产生此错误。

请查看此文档,它可能会帮助您: