在我的项目中安装LayerKit时出现问题

时间:2015-11-09 17:16:21

标签: ios swift chat cocoapods

我正在我的项目中安装图层。这是我的POD规范。 这是我正在使用的项目。 https://wiki.mozilla.org/User:Jorend/Deterministic_hash_tables 它运行正常。但是当我试图在我的项目中导入Atlas和图层时,它无法正常工作。 我的pod版本是0.39.0

platform :ios, '8.0'

use_frameworks!


pod 'Atlas', '< 1.0.14'
pod 'LayerKit', '>= 0.17.0'
pod 'Parse','~>1.8.5'
pod 'ParseUI'
pod 'ParseFacebookUtilsV4','~>1.8.5'
pod 'ParseTwitterUtils','~>1.8.5'
pod 'ParseTwitterUtils','~>1.8.5'
pod 'DKImagePickerController'
pod 'FormatterKit', '~> 1.8.0'
pod 'UIImageEffects', '~> 0.0.1'
pod 'Synchronized', '~> 2.0.0'
pod 'TTRangeSlider'

错误记录我的应用程序。

未定义的符号

 for architecture x86_64:
  "_LYRClientObjectChangesUserInfoKey", referenced from:
      -[ATLConversationViewController layerClientObjectsDidChange:] in ATLConversationViewController.o
  "_LYRClientObjectsDidChangeNotification", referenced from:
      -[ATLConversationViewController atl_registerForNotifications] in ATLConversationViewController.o
  "_LYRConversationDidReceiveTypingIndicatorNotification", referenced from:
      -[ATLConversationViewController atl_registerForNotifications] in ATLConversationViewController.o
  "_LYRConversationOptionsDeliveryReceiptsEnabledKey", referenced from:
      -[ATLConversationViewController conversationWithParticipants:] in ATLConversationViewController.o
  "_LYRMessageOptionsPushNotificationConfigurationKey", referenced from:
      _ATLMessageForParts in ATLMessagingUtilities.o
  "_LYRTypingIndicatorParticipantUserInfoKey", referenced from:
      -[ATLConversationViewController didReceiveTypingIndicator:] in ATLConversationViewController.o
  "_LYRTypingIndicatorValueUserInfoKey", referenced from:
      -[ATLConversationViewController didReceiveTypingIndicator:] in ATLConversationViewController.o
  "_OBJC_CLASS_$_LYRCompoundPredicate", referenced from:
      objc-class-ref in ATLConversationViewController.o
  "_OBJC_CLASS_$_LYRConversation", referenced from:
      objc-class-ref in ATLConversationListViewController.o
      objc-class-ref in ATLConversationViewController.o
  "_OBJC_CLASS_$_LYRMessage", referenced from:
      objc-class-ref in ATLConversationViewController.o
  "_OBJC_CLASS_$_LYRMessagePart", referenced from:
      objc-class-ref in ATLMessagingUtilities.o
  "_OBJC_CLASS_$_LYRPredicate", referenced from:
      objc-class-ref in ATLConversationListViewController.o
      objc-class-ref in ATLConversationViewController.o
  "_OBJC_CLASS_$_LYRPushNotificationConfiguration", referenced from:
      objc-class-ref in ATLMessagingUtilities.o
  "_OBJC_CLASS_$_LYRQuery", referenced from:
      objc-class-ref in ATLConversationListViewController.o
      objc-class-ref in ATLConversationViewController.o
ld: symbol(s) not found for architecture x86_64

1 个答案:

答案 0 :(得分:0)

你正在使用两个pod'Atlas'和'LayerKit' pod'Atlas','&lt; 1.0.14' pod'LaygeKit','&gt; = 0.17.0'

你只需要添加pod'Atlas','&lt; 1.0.14'因为它会自动安装LayerKit Framework。

安装pod之后

。请在buildPhases中添加atlas框架。我还附上了图片。enter image description here

请关注您的podfile。您还需要在目标中设置项目名称 enter image description here

相关问题