Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

167,666 results found

Post

Replies

Boosts

Views

Activity

IOS10 Beta 2
Hey there, I am running IOS10 Beta 1 on my iPhone 6 and I was reading somewhere that all I need to so is go into software update and just click download and install. So I went into software update and I saw the IOS 10 Beta 2 update. So I clicked download and install, the terms and conditions came up as normal, then it went into requesting update. About 20ish seconds later it comes up with Update failed with the options settings or close. Is there a way around this? Thanks!
2
0
729
Jul ’16
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
WeatherKit JWT auth fails with Code=2 — entitlement confirmed in signed binary, all config verified, persists for weeks
I have a persistent WeatherKit authentication failure that could be server-side JWT minting not being enabled for my App ID. Every WeatherService.shared.weather(for:) call fails with: Failed to generate jwt token for: com.apple.weatherkit.authservice Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 (null) The console shows the request reaching Apple's auth service and failing only at the JWT generation step. Account / app: Team ID: 634Q7K5DN8 Bundle ID: com.davidfrauenhofer.TripVault App: shipping on the App Store (this is an update adding a WeatherKit forecast) Device: iPhone 13 Pro, physical device (not simulator) Signing: Xcode automatic Everything I've verified locally: codesign -d --entitlements - on the installed binary confirms com.apple.developer.weatherkit = true, with application-identifier = 634Q7K5DN8.com.davidfrauenhofer.TripVault and matching com.apple.developer.team-identifier. WeatherKit is enabled on the App ID under both the Capabilities and App S
14
0
906
Jul ’26
2 tableviews in viewcontroller
I have 2 tableviews with the datasource and delegates in a view controller and the console prints the results, but when the simulator beggin the tables are emptyclass firs: UIViewController, UITableViewDataSource, UITableViewDelegate, MyCustomCellDelegator { @IBOutlet weak var tablarecibido: UITableView! @IBOutlet weak var tablaenviado: UITableView! let appdelegate = UIApplication.shared.delegate as! AppDelegate var resultsenviadas: [Notificacionesenviadas] = [] var resultsrecibidas: [Notificaciones_entity] = [] var statusr = var emisorr = var nombrer = let cellIdentifier = cellrecibido let cellenviado = cellenviado override func viewDidLoad() { super.viewDidLoad() let savemyprofile = SaveMyProfile() uid = savemyprofile.getUidSesion() self.getNotificacionesRecibidas() self.getNotificacionesEnviadas() self.addNotificaciones() self.tablarecibido.dataSource = self self.tablarecibido.delegate = self self.tablarecibido.register(cellpersonalizada.self, forCellReuseIdentifier: cellrecibido) self.tablaenv
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
577
Feb ’17
Big Sur beta 2
Noticed that beta 2 is out, but my DTK iMac is not picking up an update. Is that: (a) because I need to install provisioning profile and then download from developer.apple.com (at least initially) as per normal betas or (b) because beta 2 isn't available to Apple Silicon yet, and I just be patient and wait for an update to appear? Regards, D.
1
0
625
Jul ’20
Two versions of ViewController?
Hello,I am working my way through the Apple tutorial, Food Tracker.https://developer.apple.com/library/content/referencelibrary/GettingStarted/DevelopiOSAppsSwift/ConnectTheUIToCode.html#//apple_ref/doc/uid/TP40015214-CH22-SW1I ran into an error while attempting to create Outlets. i.e. the app would no longer run in the simulatorIt was easy enough to delete the elements on the interface and start over.I am trying to take my time, do every step just as instructed, etc. I am confused by one view I stumble across. It appears like there are two different versions of ViewController. On the left-hand selecting ViewController.swift from the navigator, I see// // // // // // // import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() } }When I select the Assistant Editor, on the right I see// // // // // // // import UIKit internal class ViewController : UIViewController { override inter
2
0
604
Oct ’17
Two different nodes/materials with two different SCNProgram's (OpenGL es)
Hi,I have a scene with two different nodes. Each node has his own material and each material has a different SCNProgram (OpenGL es).When the scene is rendered it looks like if both nodes are rendered using the same progam. When I don't initalize the first node, the second is rendered correct and if I don't initalize the second node, the first node will render correct.Is this a bug? Can you use more then one custom SCNProgram in a scene?
0
0
217
Jul ’16
How do you convert and audio file from two (2) channels (stereo) to one channel (1)?
Currently, I'm recording audio on the Apple Watch using the presentAudioRecorderController and sending it to the corresponding iPhone app.The audio format by default seems to be recorded on the Apple Watch using two channels and there doesn't seem to be a way to change that.For various reasons, I need the audio format to be only one channel. I was hoping there would be something on iOS to convert the audio file from stereo (two channels) to mono (one channel)Right now, I'm investigating if this is possible using AVAudioEngine and other various related classes. I'm not sure if it's possible and it seems very complicated at the moment.
3
0
2.6k
Feb ’17
Two height constraints?
After I update the height of my view I get the following error message in the console: 2022-03-23 18:38:35.093236+0100 Moiree[10522:931302] [Layout] Unable to simultaneously satisfy constraints: ( , ) Will attempt to recover by breaking constraint How can there be two different height constraints? I set the height with self.heightAnchor.constraint(equalToConstant: newValue) Shouldn't that just update the height constraint that is already there? Thanks and regards, Sebastian
1
0
594
Mar ’22
IOS10 Beta 2
Hey there, I am running IOS10 Beta 1 on my iPhone 6 and I was reading somewhere that all I need to so is go into software update and just click download and install. So I went into software update and I saw the IOS 10 Beta 2 update. So I clicked download and install, the terms and conditions came up as normal, then it went into requesting update. About 20ish seconds later it comes up with Update failed with the options settings or close. Is there a way around this? Thanks!
Replies
2
Boosts
0
Views
729
Activity
Jul ’16
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
WeatherKit JWT auth fails with Code=2 — entitlement confirmed in signed binary, all config verified, persists for weeks
I have a persistent WeatherKit authentication failure that could be server-side JWT minting not being enabled for my App ID. Every WeatherService.shared.weather(for:) call fails with: Failed to generate jwt token for: com.apple.weatherkit.authservice Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 (null) The console shows the request reaching Apple's auth service and failing only at the JWT generation step. Account / app: Team ID: 634Q7K5DN8 Bundle ID: com.davidfrauenhofer.TripVault App: shipping on the App Store (this is an update adding a WeatherKit forecast) Device: iPhone 13 Pro, physical device (not simulator) Signing: Xcode automatic Everything I've verified locally: codesign -d --entitlements - on the installed binary confirms com.apple.developer.weatherkit = true, with application-identifier = 634Q7K5DN8.com.davidfrauenhofer.TripVault and matching com.apple.developer.team-identifier. WeatherKit is enabled on the App ID under both the Capabilities and App S
Replies
14
Boosts
0
Views
906
Activity
Jul ’26
2 tableviews in viewcontroller
I have 2 tableviews with the datasource and delegates in a view controller and the console prints the results, but when the simulator beggin the tables are emptyclass firs: UIViewController, UITableViewDataSource, UITableViewDelegate, MyCustomCellDelegator { @IBOutlet weak var tablarecibido: UITableView! @IBOutlet weak var tablaenviado: UITableView! let appdelegate = UIApplication.shared.delegate as! AppDelegate var resultsenviadas: [Notificacionesenviadas] = [] var resultsrecibidas: [Notificaciones_entity] = [] var statusr = var emisorr = var nombrer = let cellIdentifier = cellrecibido let cellenviado = cellenviado override func viewDidLoad() { super.viewDidLoad() let savemyprofile = SaveMyProfile() uid = savemyprofile.getUidSesion() self.getNotificacionesRecibidas() self.getNotificacionesEnviadas() self.addNotificaciones() self.tablarecibido.dataSource = self self.tablarecibido.delegate = self self.tablarecibido.register(cellpersonalizada.self, forCellReuseIdentifier: cellrecibido) self.tablaenv
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
577
Activity
Feb ’17
Does Metal 2 have geometry shaders?
I don't think they were supported in Metal, but are they now with Metal 2?
Replies
7
Boosts
0
Views
10k
Activity
Sep ’17
Watch series 2 question
what version of xcode supports watch series 2 development?
Replies
4
Boosts
0
Views
1.1k
Activity
Mar ’22
Big Sur beta 2
Noticed that beta 2 is out, but my DTK iMac is not picking up an update. Is that: (a) because I need to install provisioning profile and then download from developer.apple.com (at least initially) as per normal betas or (b) because beta 2 isn't available to Apple Silicon yet, and I just be patient and wait for an update to appear? Regards, D.
Replies
1
Boosts
0
Views
625
Activity
Jul ’20
Two versions of ViewController?
Hello,I am working my way through the Apple tutorial, Food Tracker.https://developer.apple.com/library/content/referencelibrary/GettingStarted/DevelopiOSAppsSwift/ConnectTheUIToCode.html#//apple_ref/doc/uid/TP40015214-CH22-SW1I ran into an error while attempting to create Outlets. i.e. the app would no longer run in the simulatorIt was easy enough to delete the elements on the interface and start over.I am trying to take my time, do every step just as instructed, etc. I am confused by one view I stumble across. It appears like there are two different versions of ViewController. On the left-hand selecting ViewController.swift from the navigator, I see// // // // // // // import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() } }When I select the Assistant Editor, on the right I see// // // // // // // import UIKit internal class ViewController : UIViewController { override inter
Replies
2
Boosts
0
Views
604
Activity
Oct ’17
Two factor authentication
What do I do if I have upgraded to the ios9 beta then down graded and my device is not accepting my applied password and is requesting the code which I am not getting on my trusted device.
Replies
1
Boosts
0
Views
352
Activity
Jul ’15
Two different nodes/materials with two different SCNProgram's (OpenGL es)
Hi,I have a scene with two different nodes. Each node has his own material and each material has a different SCNProgram (OpenGL es).When the scene is rendered it looks like if both nodes are rendered using the same progam. When I don't initalize the first node, the second is rendered correct and if I don't initalize the second node, the first node will render correct.Is this a bug? Can you use more then one custom SCNProgram in a scene?
Replies
0
Boosts
0
Views
217
Activity
Jul ’16
Sample Code for CloudKit
Looking for a pointer (site URL) that has a simple, clean sample code storing two records (eg, name, id#) from an app using CloudKit; and modify, add records.
Replies
3
Boosts
0
Views
1.6k
Activity
Jun ’15
Reply to Error: Value of type 'SettingsView' has no member 'tabItem'
What tutorial? Perhaps you've not copied the code correctly, or have missed something out. And, please format your code correctly. Three backticks before your code, and three afterwards, i.e. ALL of my code is within the two lines of backticks.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’24
How do you convert and audio file from two (2) channels (stereo) to one channel (1)?
Currently, I'm recording audio on the Apple Watch using the presentAudioRecorderController and sending it to the corresponding iPhone app.The audio format by default seems to be recorded on the Apple Watch using two channels and there doesn't seem to be a way to change that.For various reasons, I need the audio format to be only one channel. I was hoping there would be something on iOS to convert the audio file from stereo (two channels) to mono (one channel)Right now, I'm investigating if this is possible using AVAudioEngine and other various related classes. I'm not sure if it's possible and it seems very complicated at the moment.
Replies
3
Boosts
0
Views
2.6k
Activity
Feb ’17
Chrome Crash On Beta 2
After Update Beta 2 Chrome Can't Run Crash when Open.
Replies
1
Boosts
0
Views
858
Activity
Jun ’19
Two height constraints?
After I update the height of my view I get the following error message in the console: 2022-03-23 18:38:35.093236+0100 Moiree[10522:931302] [Layout] Unable to simultaneously satisfy constraints: ( , ) Will attempt to recover by breaking constraint How can there be two different height constraints? I set the height with self.heightAnchor.constraint(equalToConstant: newValue) Shouldn't that just update the height constraint that is already there? Thanks and regards, Sebastian
Replies
1
Boosts
0
Views
594
Activity
Mar ’22