STGenericIntentDateRange 在 Xcode 7 Beta 中未定义

问题描述 投票:0回答:1

升级到最新的 Xcode 7 Beta 后运行我的应用程序时,我在控制台中收到以下消息:

objc[51750]: Class STGenericIntentDateRange is implemented in both /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/SiriTasks.framework/SiriTasks and /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/PhotosUI.framework/PhotosUI. One of the two will be used. Which one is undefined.

我在 Apple 文档或在线任何地方都找不到任何提及 STGenericIntentDateRange 的内容。它似乎没有影响我的应用程序,并且构建时没有相关警告 - 该消息只是被记录。

我猜这只是一个测试版冲突问题,涉及一些很少使用的日期功能,但我想知道是否有其他人看到过这个或知道修复方法?

ios xcode beta xcode7
1个回答
0
投票

要在此处关闭循环:

该类是 Apple 内部的。
该警告消息在 Xcode 7.0 Beta 中是短暂的,应该在 Xcode 7.0 Release 及更高版本中消失。

所以“修复”是更新到更新的 Xcode。

© www.soinside.com 2019 - 2024. All rights reserved.