【发布时间】:2016-03-10 00:18:54
【问题描述】:
在 IOS 上工作一段时间后,我刚刚更新到 Xcode 7.1 版本 7.1.1 (7B1005)。
更新后,我在使用 Parse 框架运行项目时遇到问题,因此我再次运行 pod install 以更新所有内容。 (下面的 pod 输出)
Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Using Bolts (1.2.2)
Using Parse (1.8.5)
Using ParseUI (1.1.6)
Using PercentEncoder (1.0.0)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 3 dependencies from the Podfile and 4 total
pods installed.
这工作正常,现在项目再次完美构建和运行,但有一个明显的例外。
我现在收到有关在 IOS9 中弃用 UIAlertView 的警告(我知道这已被 UIAlertCotroller 取代)。这些警告指向 ParseUI 框架文件。
'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead
以下所有罚款都会收到相同的警告。
PFUIAlertView.h
PFLogInViewController.m
PFQueryCollectionViewController.m
PFQueryTableViewController.m
PFUIAlertView.m
发生这种情况是因为 Parse UI 已过时吗?还是我错过了什么或做错了什么?
我的代码都没有任何错误或警告。
我看了高低,似乎没有其他人有这个问题。
请帮助我卡住了,不知道穿什么好看。
【问题讨论】:
-
现在已更新到 Xcode 7.2,但问题仍然存在。
标签: ios xcode parse-platform cocoapods xcode7