Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/114.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
Ios Apptentive:`未定义的建筑符号…`科尔多瓦项目中的错误_Ios_Apptentive - Fatal编程技术网

Ios Apptentive:`未定义的建筑符号…`科尔多瓦项目中的错误

Ios Apptentive:`未定义的建筑符号…`科尔多瓦项目中的错误,ios,apptentive,Ios,Apptentive,我想在科尔多瓦项目中使用Apptentive。在构建Xcode项目时,我遇到错误: Undefined symbols for architecture arm64: "_CGImageSourceCreateWithURL", referenced from: -[ATFileAttachment createThumbnailOfSize:] in libApptentiveConnect.a(ATFileAttachment.o) "_kCGImageSourceCreateThumb

我想在科尔多瓦项目中使用Apptentive。在构建Xcode项目时,我遇到错误:

Undefined symbols for architecture arm64:
"_CGImageSourceCreateWithURL", referenced from:
  -[ATFileAttachment createThumbnailOfSize:] in libApptentiveConnect.a(ATFileAttachment.o)
"_kCGImageSourceCreateThumbnailWithTransform", referenced from:
  -[ATFileAttachment createThumbnailOfSize:] in libApptentiveConnect.a(ATFileAttachment.o)
"_kCGImageSourceThumbnailMaxPixelSize", referenced from:
  -[ATFileAttachment createThumbnailOfSize:] in libApptentiveConnect.a(ATFileAttachment.o)
"_OBJC_CLASS_$_QLPreviewController", referenced from:
  objc-class-ref in libApptentiveConnect.a(ATAttachmentController.o)
  objc-class-ref in libApptentiveConnect.a(ATMessageCenterViewController.o)
"_kCGImageSourceCreateThumbnailFromImageAlways", referenced from:
  -[ATFileAttachment createThumbnailOfSize:] in libApptentiveConnect.a(ATFileAttachment.o)
"_CGImageSourceCreateThumbnailAtIndex", referenced from:
  -[ATFileAttachment createThumbnailOfSize:] in libApptentiveConnect.a(ATFileAttachment.o)
"_CGImageSourceCopyTypeIdentifiers", referenced from:
  ___50+[ATFileAttachment canCreateThumbnailForMIMEType:]_block_invoke in libApptentiveConnect.a(ATFileAttachment.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
关于StackOverflow也有类似的问题,但解决方案对我不起作用:/

看起来我已经具备了所有必需的依赖项,而且我还为链接器添加了
-lApptentiveConnect
标志


看起来有些必需的系统框架没有自动链接

你需要链接AvFund、CordEDATA、CyeGraseTM、基金会、IMAIO、MobileCoreServices、QualthCype、Stand配置、UIKit和弱链接StuteKIT和CaleEnthOng. 逐步:

  • 在Xcode中的项目导航器中选择您的项目
  • 从目标列表中选择您的目标
  • 选择构建阶段选项卡
  • 展开“使用库链接二进制文件”组
  • 单击+按钮并选择上述框架(包括两个弱链接的框架)。你可以⌘-单击以选择多个
  • 回到库列表时,为两个弱链接框架选择“可选” 然后您应该能够成功地构建和运行