Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,638 results found

Post

Replies

Boosts

Views

Activity

Cannot login
Hey! In Yosemite my MacBook was connected to both an Open Directory server and Active Directory server for login, however they never worked due to the fact it wouldn't connect to the enterprise wireless network at the lock screen. I was using my local account to login to the MacBook but on OS X 10.11 it shows a loading symbol and doesn't login (like it would if I tried to use a network account in Yosemite) however it does open messages about two minutes after attempting to login.
1
0
375
Jun ’15
Enum's rawValue initializer hidden, sometimes?
Anyone else getting this? It works in a playground but in a normal source file, I'm getting the error. Some others say they can't reproduce it.The error is on line 14: Incorrect argument label in call (have 'rawValue:', expected 'name:')enum Foo : Int { case A, B init?(name:String) { switch name { case A: self = .A case B: self = .B default: return nil } } } let foo = Foo.A let foo2 = Foo(rawValue:2)! // error
2
0
988
Jun ’15
Can't submit app - "Invalid Signature - Code object is not signed at all"
Hello,I have submitted my app build from xCode on May 30, 2015. It passed all validations during submission and successfully appeared in iTunes Connect.Then I realized that there are few things that I want to fix before letting Apple start reviewing.Starting from yesterday (June 9) I am trying to submit another build for the same application using the same configurations and same xCode method for submission, but what I get is:Invalid Binary in the status line for all newly uploaded buildsAn email from iTunes Connect after each build upload, with this error description:Invalid Signature - Code object is not signed at all. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator targ
3
0
3.6k
Jun ’15
Reply to Swift and Mathematics
Perhaps I am misunderstanding your question, but all mathematical functions fromhttps://developer.apple.com/library/ios/documentation/System/Conceptual/ManPages_iPhoneOS/man3/math.3.html#//apple_ref/doc/man/3/mathare available in Swift, for example:import Foundation let x = sin(M_PI/2) let y = atan2(0.0, 1.0) let z = exp(1.0) let p = pow(2.0, 3.0)
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Why?
Hello, Ken,Did they even strip your nice record? At least you are already on Level 2 ;-)See you around – and thank you so much for still being around!Kind regards, LarsPS: And yes, I also feel lost in this forum of white space and lifestyle typography.
Jun ’15
SCNSceneSource.entryWithIdentifier not working with Xcode 7.0 and Swift 2.0
With Xcode 6.3.2 and Swift 1.3 Collada (DAE) files were loaded and entries found (e.g. animation) by using SCNSceneSource.entryWithIdentifier. With Xcode 7.0 and Swift 2.0, the file is loaded (SCNSceneSource.identifiersOfEntriesWithClass work) but no entries are found.Tried with MacOSX, iOS apps and several files.Her is the codelet sceneSource = SCNSceneSource(URL: url!, options: nil) let animationIDs = sceneSource.identifiersOfEntriesWithClass(CAAnimation.self) as [String] let animation : CAAnimation? = sceneSource.entryWithIdentifier(Name, withClass: CAAnimation.self)First two lines work and return identifiers including the one label Name. Line 3 returns only nil. Same code worked before with Xcode 6.3.2 and Swift 1.3
1
0
932
Jun ’15
Reply to Why?
Another problem (unless I'm missing how it works) is that older threads seem to disappear off the bottom of the list based on some criteria (age? number of threads?). I can't find a way to get to a Page 2 if there is one. (Note: I'm not referring to the archive of the old forum -- I mean old threads in the NEW forum).
Jun ’15
Kernal Panic several times/day
HelloFor weeks I've been getting a kernal panic almost every day sometimes multiple times/day. Other times my entire mahcine (Retina macbook pro) will freeze up and not recover. Any suggestions on how to fix it would be great. Below is the latest console kernal panic.*** Panic Report ***panic(cpu 2 caller 0xffffff8003c17cc2): Kernel trap at 0xffffff800390e27e, type 14=page fault, registers:CR0: 0x0000000080010033, CR2: 0xffffff84f13fad24, CR3: 0x00000003804bb029, CR4: 0x00000000001626e0RAX: 0x00000000b0d56031, RBX: 0xffffff81a32cb400, RCX: 0xffffff81a32cb800, RDX: 0x0103000002030001RSP: 0xffffff82606d3bc0, RBP: 0xffffff82606d3c30, RSI: 0xffffff81a32cb000, RDI: 0x000000008ac04080R8: 0xffffff85f6ff6d64, R9: 0xffffff84f13fad24, R10: 0xffffff82b8aa6dec, R11: 0xffffff81a32cb800R12: 0xfffffe8b54c1a000, R13: 0xffffff81a32cbffe, R14: 0xffffff8027433120, R15: 0x000000001600e6b7RFL: 0x0000000000010202, RIP: 0xffffff800390e27e, CS: 0x0000000000000008, SS: 0x0000000000000000Fault CR2: 0xffffff84f13fad24, Error code
0
0
404
Jun ’15
Reply to Watch OS 2 and App Groups.
See the documentation on Watch Connectivity framework. App Groups are no longer applicable.Watch apps that shared data with their iOS apps using a shared group container must be redesigned to handle data differently. In watchOS 2, each process must manage its own copy of any shared data in the local container directory. For data that is actually shared and updated by both apps, this requires using the Watch Connectivity framework to move that data between them.https://developer.apple.com/library/prerelease/watchos/documentation/WatchConnectivity/Reference/WatchConnectivity_framework/index.html#//apple_ref/doc/uid/TP40015269
Topic: App & System Services SubTopic: General Tags:
Jun ’15
Stuck on Verifying Apple ID
I upgraded to watchos 2 last night and after the upgrade, my watch no longer communicated with the phone. It would show apps, but none of the communications would work between Apps. So I decided to reset the app and disconnect it from the phone. Now I am trying to re-pair it and after going through the pairing process I am asked to login with my Apple ID. After I put in my password, the spinner keeps spinning and it says Verifying Apple ID.I am pretty sure I have added the UDID.What else can I do to pair the app with the phone?
2
0
1.5k
Jun ’15
[NSValue valueWithPointer:] and NULL pointers in 10.11 SDK
Up until now I've been using -[NSValue valueWithPointer:] to store the addresses of selectors in an array. Sometimes I want to store the lack of a selector so have been using [NSValue valueWithPointer:NULL]. In the 10.11 SDK this now gives a Null passed to a callee that requires a non-null argument warning.So is the header for NSValue wrong in saying it requires a non-null argument, or should I update my code to maybe use an NSNull instead (which is a bit of a pain when it comes to unwrapping, but not hard).BTW - valeWithPointer is quite happy to create a value with null and correctly gets round-tripped when calling [NSValue pointerValue] on it (i,e it comes back as NULL.
0
0
508
Jun ’15