Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,677 results found

Post

Replies

Boosts

Views

Activity

Apple Watch will not turn on
I had updated to watchOS 2 and last night I reset the watch and left it on the charger. Today morning I tried to turn on the watch to pair it with my phone, but the watch was warm to the touch and would not turn on. I took it off of the charger let it cool and then tried again. Then I put it back on the charger for a bit and tried it again.Is there anything else that I can do? I have a genious appointment for tomorrow.
1
0
186
Jun ’15
Combining Activity Data
As I thought more about how to solve my activity data problem in a different post of mine I thought of this. My activity data for my apple watch is stored in a backup that is running iOS 8.3. My watch is now running OS 2.0 and I must have my iPhone running iOS 9 obviously to connect the two. If I continue to track my acitivity data running iOS 9 and WatchOS 2 and later when (if ever) there is a way to downgrade to Watch OS 1.0.1 again could I option-click update and go back to iOS 8.3 on my phone and restore from my backup of iOS 8.3 with that activity data to combine with the days I got running iOS 9? It's confusing and I don't know if it's possible but worth a shot.Even If I lose the activity data I have in the iOS 8.3 backup I wouldn't mind too much as long as I don't lose the activity data I have everytime I update to a new beta version.
0
0
173
Jun ’15
Java 6 issue SOLVED
Got it working: 1. Download the Java SE 8 DMG from http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html and install.2. In terminal enter the following to turn off rootless and then reboot: sudo nvram boot-args=rootless=03. In term enter these 2 lines: sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
4. sudo mkdir -p /System/Library/Java/Support/Deploy.bundle
5. Turn rootless back on and reboot again: sudo nvram boot-args=rootless=1Enjoy!
2
0
1.3k
Jun ’15
Reply to Java SE 6
Got it working1.Download the Java SE 8 DMG from http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html and install.2.In Terminal enter the following to turn off rootless and then reboot: sudo nvram boot-args=rootless=03.In Terminal enter these 2 lines: sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
4.sudo mkdir -p /System/Library/Java/Support/Deploy.bundle
5.Turn rootless back on and reboot again: sudo nvram boot-args=rootless=1Enjoy!
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to ld: warning: directory not found
Found something when comparing a new project vs an older one...In the old project, the warning was only being produced by the test target of my projects. Under 'Search Paths', I found it was including two items under 'Framework Search Paths':$(SDKROOT)/Developer/Library/Frameworks$(inherited)The new project kept the 'Framework Search Paths' empty.Deleting those entries in my older project then removed the warning.Note: I have not exhaustively compared settings, so there may be additional differences.
Jun ’15
Reply to iOS 9 Beta battery life
it's true! The battery it's draining very quickly and with certain condition the iPad Air 2 right side is really hot!!It often happens when using with safari with some sites.I believe that we should give priority to this issue on all other!!
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
SIMD Vector Operations in Swift 2
Hi, my first post here.In the video What's new in Swift at https://developer.apple.com/videos/wwdc/2015/?id=106, one of the points listed on the slide of new features (but not discussed) was SIMD vector operations.I looked in the pre-release The Swift Language iBook and couldn't find mention of SIMD, and anything concerning Vectors appeared to be to do with Advanced Operators (as in the previous versions of The Swift Language). Does anyone have any information about what was meant? Is the Accelerate framework being made obsolete? Will we even have to worry about this, or is it an internal compiler optimisation?Thanks,Geordie
5
0
6.3k
Jun ’15
NSURLSession not working as expected in watchOS 2 beta
When I load an url like this: NSURL *downloadURL = [NSURL URLWithString:@http://www.apple.com]; NSURLRequest *request = [NSURLRequest requestWithURL:downloadURL cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:60]; self.task = [session dataTaskWithRequest:request completionHandler:^(NSData * data, NSURLResponse * response, NSError * error) { // more code }]; [self.task resume];The value of the error argument in the callback block is always like:Error Domain=NSURLErrorDomain Code=-1200 An SSL error has occurred and a secure connection to the server cannot be made. UserInfo=0x7a77f6e0 {NSErrorFailingURLStringKey=https://www.apple.com/, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSErrorFailingURLKey=https://www.apple.com/, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9824}It seems even I requested the http resource, it always hit
2
0
2.5k
Jun ’15
Reply to Questions about NSCalendar
Ok.. that finally clicked. Thanks!!!For those following along, the proper code that doesn't flag a warning is:if (leaseTermYears>0) { leaseTermEnd = userCalendar.dateByAddingUnit( NSCalendarUnit.Year, value: leaseTermYears, toDate: startLease, options: .WrapComponents )! }I'm still attempting to fix the second example, but I think I understand the change now. I'll post the solution when I get it working for everyone else who may be interested as well.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Play sound on watch
Still waiting for my phone to update to IOS 9 so I can test it...but here is the code apple gave on thier transition page:NSBundle* myBundle = [NSBundle mainBundle];NSURL* movieURL = [myBundle URLForResource:@myMovie withExtension:@mp4];NSDictionary* options = @{WKMediaPlayerControllerOptionsAutoplayKey : @YES};[self presentMediaPlayerControllerWithURL:movieURL options:options completion:^(BOOL didPlayToEnd, NSTimeInterval endTime, NSError * __nullable error) { if (error) NSLog(@Error: %@, [error description]); / }];
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15