小编gup*_*pta的帖子

在项目中添加AFNetworking框架时出错

在项目中添加AFNetworking框架我收到以下错误: -

Undefined symbols for architecture i386:
  "_UTTypeCopyPreferredTagWithClass", referenced from:
      _AFContentTypeForPathExtension in AFURLRequestSerialization.o
  "_UTTypeCreatePreferredIdentifierForTag", referenced from:
      _AFContentTypeForPathExtension in AFURLRequestSerialization.o
  "_kUTTagClassFilenameExtension", referenced from:
      _AFContentTypeForPathExtension in AFURLRequestSerialization.o
  "_kUTTagClassMIMEType", referenced from:
      _AFContentTypeForPathExtension in AFURLRequestSerialization.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)

我正在使用xd 4.5与sdk iOS 6.0

ios

23
推荐指数
1
解决办法
8996
查看次数

iOS中的状态恢复

我正在存储我的应用程序屏幕,以便在应用程序打开时它将显示已存储的屏幕.该应用程序是基于导航的.

我已将Restoration Ids分配给主故事板中的两个视图控制器.第一个控制器是导航控制器的根视图控制器.我还为导航控制器分配了Restoration Id.现在问题是当我运行应用程序时,我收到以下警告:

无法创建正在进行的恢复标记文件.

不确定还需要做什么.

ios state-restoration

15
推荐指数
2
解决办法
6639
查看次数

标签 统计

ios ×2

state-restoration ×1