Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

167,666 results found

Post

Replies

Boosts

Views

Activity

Installing beta 2?
I clicked on the update for b2, which took me to the iTunes page to redeem the code, which I did.A few minutes later it brought the installer up. I quit out of the installer as I was in the midst of other work, but when I went back to install the update, it just reinstalled beta1.When I go back to the download page and reenter my download code, it says it's already been redeemed.Why is this so hard to download? I have 3 test machines I want to upgrade, and I'm at a loss of how to download the latest.Would love any insight.- wave
7
0
1.5k
Jul ’16
Reply to Failed to verify your identity. Try Again - Error on AppStore Connect / Developer / SearchAds
I just encounter the problem today. Attempt login to App Store Connect directly on Safari. I got the two-factor code alert, but also the failed to verify message in the browser with nowhere to enter the 2-factor code. I instead went to developer.apple.com and was able to successfully log in there, and then clicked over to App Store Connect successfully.
May ’23
New 2 step authentication
Curious if those running the older 2 step verification have turned the feature off and back on to try the new 2 step authentication with iOS 9 and OS X 10.11? The Apple public beta document doesn't say much about this so I thought I'd ask here. I'm running the original 2 step verification and would like to give the new version a go but not if folks hae been seeing major issues with the switch. Thanks in advance!
1
0
523
Jul ’15
Comparing two uiTextFields
Dears,How can I compare if the content of two uiTextFields are different to empty?I was tryting to do something like this but I got the following error: Comparing non-optional value of type 'String' to nil always returns trueoverride func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) { self.view.endEditing(true) let apresentacao: String = tfApresentacao.text! let corte: String = tfCorte.text! if apresentacao != nil && corte != nil { calcJornadaTrabalhada() lbEvento.isHidden = false lbTempo.isHidden = false } }Thanks
2
0
772
Oct ’18
Keychain sharing and watchos 2
I am using Xcode 7.0 (7A220), targeting iOS 9.0 and watchOS 2.0.I haven't gotten keychain sharing to work in a watchOS 2 app of my own, but it works in this example project, which is part of my question.There is a good talk from NatashaTheRobot (here) where she goes over keychain sharing with watchOS.(Working code from github here), see for yourself that her iOS app and watch app are able to share via keychain in the simulator.Here's what I have done to her project and it still works:Removed the access group string from the KeychainItemWrapper init method. This makes sense because the simulator isn't code signed and the access group gets deleted in KeychainItemWrapper initWithIdentifier: (checkout the comment in initWithIdentifier:)Removed the identifier string from KeychainItemWrapper initWithIdentifier in both view controllersRemoved the keychain-access-groups key from both entitlements that specifies a keychain access group keyYou can remove these three things and keychain sharin
0
0
991
Sep ’15
Reply to How do I set up key detection
override func keyDown(theEvent: NSEvent!){updateManPosition(theEvent)}func updateManPosition(theEvent:NSEvent){ if theEvent.keyCode == 123 { man.position.x -= 2 } else if theEvent.keyCode == 124 { man.position.x += 2 } else if theEvent.keyCode == 126 { println(jump) }Key Codes : http://macbiblioblog.blogspot.com/2014/12/key-codes-for-function-and-special-keys.htmlWould this be correct?
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Mar ’16
Bluetooth CBPeripheralManager has two identical service
I user the code [_peripheralManager stopAdvertising]; [_peripheralManager removeAllServices]; .................................................................... _service = [[CBMutableService alloc]initWithType:[CBUUID UUIDWithString:KServiceUUID] primary:YES]; [_service setCharacteristics:@[readwriteCharacteristic, notiyCharacteristic]]; [_peripheralManager addService:_service]; [_peripheralManager startAdvertising:@{ CBAdvertisementDataServiceUUIDsKey :@[[CBUUID UUIDWithString:advId]], CBAdvertisementDataLocalNameKey : KLocalName, }]; sometimes has has two identical service One of them cannot work, _peripheralManager removeService does not work why? How do I delete that that can t work? thanks
0
0
392
Aug ’22
WatchOS 2 beta broken?
Has anyone had any luck converting existing watch apps to the new watchOS 2?Currently even the simplest apps with 2 or 3 images seem to be overwhelmed and just never loads on the watch.Thus far I only have been able to get very minor functionality going.Any feedback would be greatly appriciated.
3
0
566
Jun ’15
Reply to Mystery Inverted Bool
DispatchQueue.main.async is, as it says in its name, asynchronous. Therefore your code is not executing in a linear line-by-line manner. You think the code is being executed in this order don't you: 1) DispatchQueue.main.async { 2) self.stillLoading = true } 3) print(stillLoading) It is NOT the case the line 2 is guaranteed to execute before line 3. Because line 1 is asynchronous, after 1 has executed, then control will jump to line 3 and meanwhile line 2 is dispatched to execute in parallel.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’23
HomeKit Code Retrieval
Is there a way to create an app that retrieves the HomeKit Code from accessories already associated with a Home? I have several Elgato Eve Light Switches in my Home. Recently, two of the swtiches have become unresponsive in the Home app as well as in the Elgato Eve app. I tried to reset them, but in order to reassociate the switches with my Home, I need each device's HomeKit Code. Unfortunately, I've misplaced the manual for these two swiches (wouldn't you know it), upon which one of the HomeKit code decals was attached. The other decal for each switch was attached to the contemporary single gang switch cover plate that I discarded since both of my switches are installed in multi-gang outlets. There is no record of the HomeKit code on the switches themselves, sadly. I tried to contact Elgato to see if they have a record of the HomeKit Code for their devices based on the serial number and they don't. Probably a privacy issue. I have very limited coding
4
0
7.8k
Feb ’18
Installing beta 2?
I clicked on the update for b2, which took me to the iTunes page to redeem the code, which I did.A few minutes later it brought the installer up. I quit out of the installer as I was in the midst of other work, but when I went back to install the update, it just reinstalled beta1.When I go back to the download page and reenter my download code, it says it's already been redeemed.Why is this so hard to download? I have 3 test machines I want to upgrade, and I'm at a loss of how to download the latest.Would love any insight.- wave
Replies
7
Boosts
0
Views
1.5k
Activity
Jul ’16
iOS 10.1 beta 2
Does anyone know when iOS 10.1 beta 2 will be released to Apple Developers?
Replies
1
Boosts
0
Views
3.1k
Activity
Sep ’16
Apple watch 2 barometer
Does the apple watch 2 have a barometer? Does it use the iphone one if in range?
Replies
0
Boosts
0
Views
491
Activity
Nov ’16
Reply to Failed to verify your identity. Try Again - Error on AppStore Connect / Developer / SearchAds
I just encounter the problem today. Attempt login to App Store Connect directly on Safari. I got the two-factor code alert, but also the failed to verify message in the browser with nowhere to enter the 2-factor code. I instead went to developer.apple.com and was able to successfully log in there, and then clicked over to App Store Connect successfully.
Replies
Boosts
Views
Activity
May ’23
Downgrade watchOS 2 to 1.0.1
Hi guys How can I downgrade watchOS 2 to 1.0.1 please
Replies
38
Boosts
0
Views
18k
Activity
Jun ’15
Two Variables on a Text Field
I want to know how to add two Variables to a text field
Replies
10
Boosts
0
Views
1.8k
Activity
Feb ’21
New 2 step authentication
Curious if those running the older 2 step verification have turned the feature off and back on to try the new 2 step authentication with iOS 9 and OS X 10.11? The Apple public beta document doesn't say much about this so I thought I'd ask here. I'm running the original 2 step verification and would like to give the new version a go but not if folks hae been seeing major issues with the switch. Thanks in advance!
Replies
1
Boosts
0
Views
523
Activity
Jul ’15
Comparing two uiTextFields
Dears,How can I compare if the content of two uiTextFields are different to empty?I was tryting to do something like this but I got the following error: Comparing non-optional value of type 'String' to nil always returns trueoverride func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) { self.view.endEditing(true) let apresentacao: String = tfApresentacao.text! let corte: String = tfCorte.text! if apresentacao != nil && corte != nil { calcJornadaTrabalhada() lbEvento.isHidden = false lbTempo.isHidden = false } }Thanks
Replies
2
Boosts
0
Views
772
Activity
Oct ’18
Keychain sharing and watchos 2
I am using Xcode 7.0 (7A220), targeting iOS 9.0 and watchOS 2.0.I haven't gotten keychain sharing to work in a watchOS 2 app of my own, but it works in this example project, which is part of my question.There is a good talk from NatashaTheRobot (here) where she goes over keychain sharing with watchOS.(Working code from github here), see for yourself that her iOS app and watch app are able to share via keychain in the simulator.Here's what I have done to her project and it still works:Removed the access group string from the KeychainItemWrapper init method. This makes sense because the simulator isn't code signed and the access group gets deleted in KeychainItemWrapper initWithIdentifier: (checkout the comment in initWithIdentifier:)Removed the identifier string from KeychainItemWrapper initWithIdentifier in both view controllersRemoved the keychain-access-groups key from both entitlements that specifies a keychain access group keyYou can remove these three things and keychain sharin
Replies
0
Boosts
0
Views
991
Activity
Sep ’15
Reply to How do I set up key detection
override func keyDown(theEvent: NSEvent!){updateManPosition(theEvent)}func updateManPosition(theEvent:NSEvent){ if theEvent.keyCode == 123 { man.position.x -= 2 } else if theEvent.keyCode == 124 { man.position.x += 2 } else if theEvent.keyCode == 126 { println(jump) }Key Codes : http://macbiblioblog.blogspot.com/2014/12/key-codes-for-function-and-special-keys.htmlWould this be correct?
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Mar ’16
SF Symbols 2 crashes
SF Symbols 2 crashes on start. Just every time. Does anyone have this problem?
Topic: Design SubTopic: General Tags:
Replies
4
Boosts
0
Views
1.3k
Activity
Sep ’20
Bluetooth CBPeripheralManager has two identical service
I user the code [_peripheralManager stopAdvertising]; [_peripheralManager removeAllServices]; .................................................................... _service = [[CBMutableService alloc]initWithType:[CBUUID UUIDWithString:KServiceUUID] primary:YES]; [_service setCharacteristics:@[readwriteCharacteristic, notiyCharacteristic]]; [_peripheralManager addService:_service]; [_peripheralManager startAdvertising:@{ CBAdvertisementDataServiceUUIDsKey :@[[CBUUID UUIDWithString:advId]], CBAdvertisementDataLocalNameKey : KLocalName, }]; sometimes has has two identical service One of them cannot work, _peripheralManager removeService does not work why? How do I delete that that can t work? thanks
Replies
0
Boosts
0
Views
392
Activity
Aug ’22
WatchOS 2 beta broken?
Has anyone had any luck converting existing watch apps to the new watchOS 2?Currently even the simplest apps with 2 or 3 images seem to be overwhelmed and just never loads on the watch.Thus far I only have been able to get very minor functionality going.Any feedback would be greatly appriciated.
Replies
3
Boosts
0
Views
566
Activity
Jun ’15
Reply to Mystery Inverted Bool
DispatchQueue.main.async is, as it says in its name, asynchronous. Therefore your code is not executing in a linear line-by-line manner. You think the code is being executed in this order don't you: 1) DispatchQueue.main.async { 2) self.stillLoading = true } 3) print(stillLoading) It is NOT the case the line 2 is guaranteed to execute before line 3. Because line 1 is asynchronous, after 1 has executed, then control will jump to line 3 and meanwhile line 2 is dispatched to execute in parallel.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’23
HomeKit Code Retrieval
Is there a way to create an app that retrieves the HomeKit Code from accessories already associated with a Home? I have several Elgato Eve Light Switches in my Home. Recently, two of the swtiches have become unresponsive in the Home app as well as in the Elgato Eve app. I tried to reset them, but in order to reassociate the switches with my Home, I need each device's HomeKit Code. Unfortunately, I've misplaced the manual for these two swiches (wouldn't you know it), upon which one of the HomeKit code decals was attached. The other decal for each switch was attached to the contemporary single gang switch cover plate that I discarded since both of my switches are installed in multi-gang outlets. There is no record of the HomeKit code on the switches themselves, sadly. I tried to contact Elgato to see if they have a record of the HomeKit Code for their devices based on the serial number and they don't. Probably a privacy issue. I have very limited coding
Replies
4
Boosts
0
Views
7.8k
Activity
Feb ’18