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/
Search results for
DTiPhoneSimulatorErrorDomain Code 2
158,492 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I had the same experience, after the same steps you took (unpaired to create the backup). My activity rings for the previous and current day were reset.It did sync my activity since installing watchOS 2, so it just looks like losing a couple of days of data is the price to pay for being on the cutting edge.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I wrote a small class extension for UITableViewRowAction, while doing my Unit Test I've notice that the instance created with the extension 'init' method were alive longuer that I would have expected.So I've trim down the implementation to the bare minimum to test that difference.public extension UITableViewRowAction { public convenience init(title: String!, style: UITableViewRowActionStyle, exposedHandler: (UITableViewRowAction!, NSIndexPath!) -> Void) { self.init(style: style, title: title, handler: exposedHandler) } } class UITableViewRowAction_test: XCTestCase { func test_deallocationOfStoredItems() { weak var a1 : UITableViewRowAction? weak var a2 : UITableViewRowAction? if true { var action : UITableViewRowAction? action = UITableViewRowAction(title: title, style: .Normal) { (a: UITableViewRowAction!, b: NSIndexPath!) -> Void in } a1 = action action = UITableViewRowAction(style: .Normal, title: title, handler: { (a: UITableViewRowAction!, b: NSIndexPath!) -> Void in }) a2 = action println(here
I have rebuilt my app using XCode 7 and am testing that it works on my watch running watchOS 1.0.1 before I upgrade the device to version 2.0. Everything seems fine so far except that my groups do not have their custom insets (all zero) but instead have insets of 2. If I change the insets to larger values then it seems to work as expected, but not for zeroes.This works fine in the simulator (which runs 2.0) but not on the watch when running 1.0.1. I notice that the new API offers the ability to set the insets at runtime (which is very useful - thanks for that) so I'm wondering if this is related to that?Sounds like I need to file a bug report but I thought I'd mention it here in case anyone else notices that things are positioned strangely when running an app built with XCode 7 on a watch running 1.0.1.
Mine appears to be fine, only touch action not working is the in-ability to 2 finger (or for that matter 3 finger on a trackpad) swipe in Mail.app to go back/forward between email messages.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Installed it on two 2013 rMBP's, so far with few issues.rMBP 1- Installation changed halfway through, and apple logo was off centre (believe this was down to me not having the display at pure retina resolution, so looked like it was displaying a 1280x800 image anchored to the bottom left of a 1440x900 screen).- Mail smart folders were removed, left with only Today. Was able to re-create them though with no issues.- New Disk Utility application. Ran first aid just to check for any permissions errors, but didn't seem to report any.rMBP 2- Installation didn't have the same issue as rMBP 1, believe that's because the display was set at pure retina before starting the installation.- Mail smart folders were retained on this computer.Overall it seems like a pretty solid release (obviously this may change across the betas), all the apps I use regularly work well so far.The new font on the fourms (San Francisco?) looks terrible on my external screen, but great on the built in retina display. The new
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Hi all,Whne I go to the Member center and choose IOS 9 -> Download,then I choose my iPhone model (iPhone 5 A1429), it sends me to my Apple ID details but not downloading.It doesnot matter which model I choose, it the same result..Tried it on 2 diffrent Macs, 2 browsers, same result..This also happens when I choose download on the Xcode 7.I did manage to download OS X.11.I previuosly had IOS developer program and now I should have all programs as I understood from Apple's e-mail regarding the new programs.Why can't I download the new IOS 9 Beta version?
is it possible to create a custom ui like a knob, wheel eg like the contacts app knob in the WatchOS 2 ?and if so how . I understand that I have access to core graphics but I don't se any draw methods ? nor do I find any touchstart methods ? thought that would be a part of watches 2 or atlas the ability to create custom knobs (like the contact app knob on watchos)
Without knowing when we'll be able to submit apps built using Swift 2 I can't risk updating a current project that I hope to ship before the fall. That's fine, but I'd like to start using Swift 2 if it's feasible.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Hello everybody! I found a solve. Additional to Member Center you need to go to Agreements, Tax, and Banking in iTunesconnect and on top you will see a row with your address and some info. Next to it there is a button Amendments. There is no word of Schedule 2 or Schedule 3 whatsoever. You have to click on this Amandments and procceed by accepting. After that everything will be fine. For some reason I was not expecting it to be behind this Amandements so hope it might help also somebody else. If you don't have Agreements, Tax, and Banking in iTunesConnect, you need user with Legal role in order to do that.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
Everyone knows Mat is correct. This happens every single year, and people still mindlessly update their only device and complain despite knowing it's only beta 1. Metrics are being gathered, Siri is probably indexing, and likely little to no effort has gone into optimization of code or battery life. Complaining here because you needed to say something isn't really helpful to anyone, so don't get all offended when you receive responses reminding you that there should be no expectation at all regarding performance or battery life in the early betas. Battery life usually starts improving after beta 2 or 3. I hope that some of this may be due to indexing and that it improves for you soon, but you may want to reset your expectations if it doesnt.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I see accelerometer mentioned but nothing of gyroscope access?
Hello everybody! I found a solve. Additional to Member Center you need to go to Agreements, Tax, and Banking in iTunesconnect and on top you will see a row with your address and some info. Next to it there is a button Amendments. There is no word of Schedule 2 or Schedule 3 whatsoever. You have to click on this Amandments and procceed by accepting. After that everything will be fine. For some reason I was not expecting it to be behind this Amandements so hope it might help also somebody else. If you don't have Agreements, Tax, and Banking in iTunesConnect, you need user with Legal role in order to do that.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
On Xcode7 beta, I am facing the following issues:I am trying to create 2 constraints using visual format:Constraint 1: let views1 = [v1 : v1] let verticalConstraints1 = NSLayoutConstraint.constraintsWithVisualFormat(V:|-[v1], options: .allZeros, metrics: nil, views: views1)I get an error for .allZeros, What is the way to resolve this ?Constraint 2: let views2 = [v2 : v2] let verticalConstraints2 = NSLayoutConstraint.constraintsWithVisualFormat(V:|-[v2], options: .AlignAllLeft | .AlignAllRight, metrics: nil, views: views2)I get an error for .AlignAllLeft | .AlignAllRight, What is the way to resolve this ?
I'm currently working on an app that handle communication with a BLE device. One of my constraint is that i must connect to this device only when i have to send a command or read data. I must disconnect as soon as possible when it's done, to allow other potential users to do the same.One of the features of the app is the following :Users can enable an automatic command while the app is in the background. This automatic command triggers if the device hasn't been detected within 10 minutes.My app scans until it finds my BLE device.In order to keep it awake when i need it, i'm restarting the scan each time, because of the CBCentralManagerScanOptionAllowDuplicatesKey option ignorance.When it's detected, i'm checking if the last detection was more than 10 minutes ago. If that's the case, i connect to the device and then write into the characteristic corresponding to the service i need.The goal is to trigger this device when user come in range. It may happen a few minutes after being out of range such as a few hour