Another question: messages are failing to send (and not synching at all with the iPhone's messages history). I get a you must enable iMessage to send messages but in my apple Watch app on the phone, it shows messages are set to mirror the phone. Anyone else having these issues? Any solutions?
Search results for
Request failed with http status code 503
190,677 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I've updated the app for watchOS 2 using the built in suggestion with Xcode 7 when you first build it. I've changed all the necessary code so there's no errors or warnings but I can't seem to run either the containing app or the watch app in the simulator; they never launch but they do copy over to the simulators.Is there a new scheme I should be using? I'm using the previous scheme for the main watch app which now automatically lets you choose between running the iPhone 6 simulator with either the 38mm or 42mm watch simulator.
Never underestimate a bad cable as the possible reason. For some reason, since the beginning of iPhone, you can have a cable that's good enough to get through charging and sometimes syncing, but fails when doing restores and more sensitive tasks. A few tips:Make sure your device registered with the developer program's UDIDs.Make sure iTunes is up to date.Make sure your hosts file on your computer hasn't been modded.Ensure there's no dust or debris in the bottom of your device that may be blocking a solid connection.Try a different cable.Try a different computerAnd if all else fails, the apple store will usually try restoring it for you, even if it's OoW -- though if they also can't restore it, you may be looking at an Out of Warranty service repair.https://support.apple.com/en-us/HT204770Check your USB connectionsErrors: 13, 14, 1600, 1601, 1602, 1603, 1604, 1611, 1643-1650, 2000, 2001, 2002, 2005, 2006, 2009, 4005, 4013, 4014. You might also see a message that includes invalid response.If t
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I have a few apps that are stuck on waiting status although they have already been open before. I can even open them via the task switcher, but not via the icon.
I have a UIWebView that is loading a webpage with SSL and is now throwing the following error in iOS 9 Beta 1:An SSL error has occurred and a secure connection to the server cannot be made.This code all works fine in iOS 8.3 Here is the error code:-1200
when I ran your code I saw the actual problem 🙂when creating the URL I needed to specifically create a file URL.//var torusModel = MDLAsset(URL: NSURL(string: path!)!) let torusModel = MDLAsset(URL: NSURL.fileURLWithPath(path!))Loaded just fine after that
Topic:
Graphics & Games
SubTopic:
SceneKit
Tags:
The watchOS developer library has a PotLoc sample which is sample code for using CoreLocation. https://developer.apple.com/library/prerelease/watchos/samplecode/PotLoc/Introduction/Intro.html#//apple_ref/doc/uid/TP40016176In particular, use manager.requestLocation() and then implement the delegate methodoptional func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [AnyObject])
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Over the course of Swift's existence I've had to take advantage of a number of workarounds (i.e., hacks) to compile a Swift framework that utilizes non-modular system code, e.g., CommonCrypto, sqlite3, etc.These solutions have included:Renaming the umbrella header to be something different than the module name in order to exploit a bug that let frameworks compile with bridging headers, wherein the non-modular import happened: #import <CommonCrypto/CommonCrypto.h>Building a dummy, optional framework with a custom module map specifying the absolute path to an SDK header (relative SDK paths don't work): module CommonCrypto [system] [extern_c] { header /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/CommonCrypto/CommonCrypto.h export * }Specifying a custom module map with an additional header specifying the absolute path to an SDK header: framework module MyCrypto { umbrella header MyCrypto.h header /Applications/Xcode.app/Contents/Deve
Mines also a MacBook Pro (15-inch, Mid 2010), and the crash report is showing the same com.apple.xbs assertion failed line that rgr is getting. Interesting detail, there is no /Library/Caches/com.apple.xbs folder when I check
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Given the following code:managedObjectContext.performBlock({ () -> Void in do { try managedObjectContext.save() print(Success) } catch let error as NSError { print(fail) } })I am receiving the following error:`invalid conversion from throwing function of type '() throws -> Void' to non-throwing function type '() -> Void'`.Any advice on how to resolve it?
From here:Important: To develop extensions for Safari, you need to sign up for the Apple Developer Program online at http://developer.apple.com. After joining the program, you must obtain a signed certificate in order for your extension to work; the extension will not load until your certificate is installed. To request a certificate, follow the “Certificates, Identifiers & Profiles” link from the Developer Member Center homepage.This is a joke, there's no way to sell extensions so why the **** should developers have to pay, all that's going to happen as a result of this is people are going to lose some great extensions on Safari and switch to Chrome.
Topic:
Safari & Web
SubTopic:
General
Tags:
Adding a catch-all catch will let things compile:moc.performBlock { do { try moc.save() print(Success) } catch let error as NSError { print(Fail: (error.localizedDescription)) } catch { print(Fail: (error)) } }If you're not using the NSError, you may as well use just a single, generic catch.If you don't catch all possible errors, the throws propagates to the caller, in this case, performBlock. However, performBlock doesn't expect an error, so you must catch all possible errors, or you must call try!, unsafely, instead.The error isn't super friendly, so it may be worth filing a bug report to make it easier to understand.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
I am working on an App where after the user completes the Revert to Saved… time machine like dialog the system sends a bunch of error messages to the XCode console:Jun 9 20:16:52 BDM-2.local Mandelbrot[36183] <Error>: CGContextClipToRects: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.Jun 9 20:16:52 BDM-2.local Mandelbrot[36183] <Error>: CGContextSetFillColorWithColor: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update....None of these graphics commands are part of my code. The d
every connection seems to fail (AFNetworking):CFNetwork SSLHandshake failed (-9847)NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9847)and the http://.... has been replaced with https://....Jeeinc
Extremely common for early betas to abuse the battery - seems the power management code is kept out for a few and then brought in w/later betas.
Topic:
App & System Services
SubTopic:
Core OS
Tags: