I have a very small Swift 2.0 project which should run on 7.1 and newer.It should use WKWebView on iOS > 8.0 and UIWebView on iOS < 8.0.As soon as I add the WKWebView I can't compile the app again:import UIKit import WebKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() if #available(iOS 8.0, *) { let w = WKWebView() w.frame = self.view.frame w.autoresizingMask = [UIViewAutoresizing.FlexibleWidth, UIViewAutoresizing.FlexibleHeight] self.view.addSubview(w) } else { let w = UIWebView() w.frame = self.view.frame w.autoresizingMask = [UIViewAutoresizing.FlexibleWidth, UIViewAutoresizing.FlexibleHeight] self.view.addSubview(w) } } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() } }When I compile for the simulator I have no problems at all, but when compiling for devices I get the following warning:ld: warning: URGENT: all bitcode will be dropped because '/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/
5
0
3.0k