gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-30 13:55:58 24 4
gpt4 key购买 nike

我正在我的项目中安装层。这是我的 POD 规范。这是我正在使用的项目。 https://github.com/layerhq/Layer-Parse-iOS-Example它运行良好。但是当我尝试在我的项目中导入 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'

我的应用程序登录时出错。

undefined symbol

 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

最佳答案

您正在使用两个 Pod“Atlas”和“LayerKit”pod 'Atlas', '< 1.0.14'pod 'LayerKit', '>= 0.17.0'

您只需添加 pod 'Atlas'、'< 1.0.14',因为它会自动安装 LayerKit 框架。

pod安装完成后,请在buildPhases中添加atlas框架。我还附上了图像。 enter image description here

请直接访问您的 podfile。您还需要在目标中设置您的项目名称 enter image description here

关于ios - 在我的项目中安装 LayerKit 时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33614513/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com