测试已测试 | ✗ |
语言语言 | Obj-CObjective C |
许可证 | MIT |
发布最新发布 | 2018年3月 |
由Ben Maer、Lee Pollard、Richard Reitzfeld维护。
要运行示例项目,先克隆仓库,然后从Example目录运行pod install
。
BenMaer, [email protected]
ResplendentUtilities 凭据 MIT 许可证可用。有关更多信息,请参阅 LICENSE 文件。
我们目前有以下 7 个警告。它们不会破坏任何功能,但最终应该解决。
➜ ResplendentUtilities git:(development) ✗ pod lib lint
-> ResplendentUtilities (0.5.1)
- WARN | xcodebuild: /Users/benjaminmaer/Documents/Repositories/Resplendent/ResplendentUtilities/Pod/Classes/Category/UIApplication/UIApplication+RUPushNotifications.m:18:33: warning: 'UIRemoteNotificationType' is deprecated: first deprecated in iOS 8.0 - Use UserNotifications Framework's UNAuthorizationOptions for user notifications and registerForRemoteNotifications for receiving remote notifications instead. [-Wdeprecated-declarations]
- NOTE | xcodebuild: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:68:32: note: 'UIRemoteNotificationType' has been explicitly marked deprecated here
- WARN | xcodebuild: /Users/benjaminmaer/Documents/Repositories/Resplendent/ResplendentUtilities/Pod/Classes/Category/UIApplication/UIApplication+RUPushNotifications.m:30:3: warning: 'UIRemoteNotificationType' is deprecated: first deprecated in iOS 8.0 - Use UserNotifications Framework's UNAuthorizationOptions for user notifications and registerForRemoteNotifications for receiving remote notifications instead. [-Wdeprecated-declarations]
- WARN | xcodebuild: /Users/benjaminmaer/Documents/Repositories/Resplendent/ResplendentUtilities/Pod/Classes/Category/UIApplication/UIApplication+RUPushNotifications.m:32:10: warning: 'UIRemoteNotificationTypeBadge' is deprecated: first deprecated in iOS 8.0 - Use UserNotifications Framework's UNAuthorizationOptions for user notifications and registerForRemoteNotifications for receiving remote notifications instead. [-Wdeprecated-declarations]
- NOTE | xcodebuild: <scratch space>:2:1: note: expanded from here
- NOTE | xcodebuild: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:70:5: note: 'UIRemoteNotificationTypeBadge' has been explicitly marked deprecated here
- WARN | xcodebuild: /Users/benjaminmaer/Documents/Repositories/Resplendent/ResplendentUtilities/Pod/Classes/Category/UIApplication/UIApplication+RUPushNotifications.m:33:4: warning: 'UIRemoteNotificationTypeSound' is deprecated: first deprecated in iOS 8.0 - Use UserNotifications Framework's UNAuthorizationOptions for user notifications and registerForRemoteNotifications for receiving remote notifications instead. [-Wdeprecated-declarations]
- NOTE | xcodebuild: <scratch space>:3:1: note: expanded from here
- NOTE | xcodebuild: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:71:5: note: 'UIRemoteNotificationTypeSound' has been explicitly marked deprecated here
- WARN | xcodebuild: /Users/benjaminmaer/Documents/Repositories/Resplendent/ResplendentUtilities/Pod/Classes/Category/UIApplication/UIApplication+RUPushNotifications.m:34:4: warning: 'UIRemoteNotificationTypeAlert' is deprecated: first deprecated in iOS 8.0 - Use UserNotifications Framework's UNAuthorizationOptions for user notifications and registerForRemoteNotifications for receiving remote notifications instead. [-Wdeprecated-declarations]
- NOTE | xcodebuild: <scratch space>:4:1: note: expanded from here
- NOTE | xcodebuild: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:72:5: note: 'UIRemoteNotificationTypeAlert' has been explicitly marked deprecated here
- WARN | xcodebuild: /Users/benjaminmaer/Documents/Repositories/Resplendent/ResplendentUtilities/Pod/Classes/Category/UIApplication/UIApplication+RUPushNotifications.m:73:16: warning: 'enabledRemoteNotificationTypes' is deprecated: first deprecated in iOS 8.0 - Use -[UIApplication isRegisteredForRemoteNotifications] and UserNotifications Framework's -[UNUserNotificationCenter getNotificationSettingsWithCompletionHandler:] to retrieve user-enabled remote notification and user notification settings [-Wdeprecated-declarations]
- NOTE | xcodebuild: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:213:1: note: 'enabledRemoteNotificationTypes' has been explicitly marked deprecated here
- WARN | xcodebuild: /Users/benjaminmaer/Documents/Repositories/Resplendent/ResplendentUtilities/Pod/Classes/Category/UIApplication/UIApplication+RUPushNotifications.m:99:10: warning: 'registerForRemoteNotificationTypes:' is deprecated: first deprecated in iOS 8.0 - Use -[UIApplication registerForRemoteNotifications] and UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] [-Wdeprecated-declarations]
- NOTE | xcodebuild: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:210:1: note: 'registerForRemoteNotificationTypes:' has been explicitly marked deprecated here
[!] ResplendentUtilities did not pass validation, due to 7 warnings (but you can use `--allow-warnings` to ignore them).
[!] The validator for Swift projects uses Swift 3.0 by default, if you are using a different version of swift you can use a `.swift-version` file to set the version for your Pod. For example to use Swift 2.3, run:
`echo "2.3" > .swift-version`.
You can use the `--no-clean` option to inspect any issue.