gpt4 book ai didi

ios - 5.0之前的iOS版本上的用户定义的运行时属性

转载 作者:行者123 更新时间:2023-12-01 18:56:58 25 4
gpt4 key购买 nike

我有一个现有的iOS项目正在维护,需要升级到最新的Urban Airship SDK(5.0.2)。该项目使用CocoaPods,因此在pod 'UrbanAirship-iOS-SDK', '~> 5.0.2'中下拉最新版本就像Podfile一样简单,但是现在在构建时,出现以下编译错误:

/* com.apple.ibtool.document.errors */
/%PATH%/Pods/UrbanAirship-iOS-SDK/Airship/UI/Default/Inbox/Resources/Shared/UAInboxMessageListCell.xib:3: error: User defined runtime attributes on iOS versions prior to 5.0 [6]
/%PATH%/Pods/UrbanAirship-iOS-SDK/Airship/UI/Default/Inbox/Resources/Shared/UAInboxMessageListCell.xib:ihY-21-382: error: User defined runtime attributes on iOS versions prior to 5.0 [6]
/%PATH%/Pods/UrbanAirship-iOS-SDK/Airship/UI/Default/Inbox/Resources/Shared/UAInboxMessageListCell.xib:10: error: User defined runtime attributes on iOS versions prior to 5.0 [6]
/%PATH%/Pods/UrbanAirship-iOS-SDK/Airship/UI/Default/Inbox/Resources/Shared/UAInboxMessageListCell.xib:20: error: User defined runtime attributes on iOS versions prior to 5.0 [6]
/%PATH%/Pods/UrbanAirship-iOS-SDK/Airship/UI/Default/Inbox/Resources/Shared/UAInboxMessageListCell.xib:wDW-QM-5ha: error: User defined runtime attributes on iOS versions prior to 5.0 [6]
/%PATH%/Pods/UrbanAirship-iOS-SDK/Airship/UI/Default/Inbox/Resources/Shared/UAInboxMessageListCell.xib:9: error: User defined runtime attributes on iOS versions prior to 5.0 [6]

在我看来,这不是Urban Airship的问题,而是针对5.0之前的版本的Pods项目,这很奇怪,因为运行iOS SDK 8.0的部署目标设置为7.0(在实际项目和Pods上均是如此)( Xcode 6.0.1),因此不确定5.0之前的版本来自哪里。

任何想法/解决方案,即使是部分的,也将不胜感激。

最佳答案

打开UAInboxMessageListCell.xib文件,然后单击文件检查器,将build for更改为iOS 5.0.2或更高版本。

关于ios - 5.0之前的iOS版本上的用户定义的运行时属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26209607/

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