I'm tring to use PromiseKit throu CocoaPods in my project. Minimum deployment target in projsect is setted to 9.0.
Problem
I'm getting deprecation warnings in PromiseKit which I'm trying to rid of.
Warnings appear in in UIActionSheet+Promise.swift
, UIAlertView+Promise.swift
, NSURLConnection+Promise.swift
.
Things I've done:
- I've setted
Pods > Building settings > Deprecated Function
to No
Add
inhibit_all_warnings!
to Podfile and reinstall podPodfile
use_frameworks! inhibit_all_warnings!
pod "PromiseKit", "~> 3.0", :inhibit_warnings => true
Question
I'm doing something wrong? Is there another way to do that?