Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

164,070 results found

Post

Replies

Boosts

Views

Activity

Reply to ForEach and HStack
The getValue function returns two different types in the two classes, Thanks for showing your code. And your code revealed that if you define a combined entity, your code all things would be solved.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’21
iMessage has merged 2 conversations of 2 different contacts
Hi all,I've 2 separate conversations with 2 different contacts (not the same phone number, nothing in commun).On my MacBook (High Sierra) everything works fine.But on my iPhone X running iOS 12 beta 3 (since beta 2 I've this bug), these 2 conversations are merged.When I write to one or another of these 2 contacts, it displays the 2 conversations in one screen. It merges them.When I try to create a new message, when I enter one of the 2 contacts, I don't know who receive the message, it's not always the same one that receive the message.That's really annoying.Does anyone have this issue too?I filled a bug reporter for that.Regards,Alexandre
23
0
52k
Jul ’18
Two problems in the program compilation of the new version of xcode (the target code is the content filter of the network extension)
I'm trying to debug the official network extension sample code simplefirewall. Although it has been able to run normally and pops up user pop-up windows for the specified filter conditions, there are still two warnings and errors: [Window] Warning: Window NSWindow 0x1007315f0 ordered front from a non-active application and may order beneath the active application's windows. [default] CGSWindowShmemCreateWithPort failed on port 0 For the first warning, I followed the method given in https://developer.apple.com/forums/thread/729496 and added windo.makeKey() and window.orderFrontRegardless(), but this warning didn't go away. As for the second default, I haven't been able to find the corresponding root cause and solution of the problem. I would like to ask, can anyone give me some advice? Xcode:Version 14.3.1 (14E300c)
1
0
1.1k
Aug ’23
iHate Swift 2
Am I the only one who hates the big changes Apple makes this year? Why can't they make just small changes in Swift???? It's not hard to convert all my Code to Swift 2. It is IMPOSSIBLE. I get 9 errors, even if I could fix them and press the build and run Button I get 20 new errors. Every time. And most of them do really not make any sense. I will never ever switch to Swift 2. And if this means I can't build new Apps one day, that's ok. Even switching to Android is still better than switching from Swift 1 to Swift 2. I will not learn a completely new programming language every year. Because that's what Swift 2 is. Last year it was Swift. Now it's Swift 2. And next year? Will I have to learn Swift 3 which will also be a completely new language? No, thanks.
22
0
3.3k
Aug ’15
Two Bugs
1. Audio randomly cutting out on this new Beta 3 Build. (reported)2. Cable Test hangs and does not complete on this new Beta 3 build (reported).Anyone else experiencing these two?
12
0
2.9k
Jul ’18
Reply to How to create a button in Preferences
What do you mean by pages (I have two pages) ? I have two View Controllers in storyboard and two files for the code: ViewController.swift and Preferences.swift. They are connected in the Identity inspector. Please show code that will be easier to explain. In a simplified version, there is no code yet. I just put a button on the View Controller - Preferences of the Storyboard
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’20
Can you publish 2 separate apps for 2 languages?
Hi, we are planing to publish an education app that comes in 2 languages, german and english. The plan was to publish 2 apps, each for each language and people can chose whichone to get. We did not want to include both languages in 1 package as the app is very heavy on videos and including both languages would be too big. If possible, we would like the keep the same App name but maybe adjust the icon to distinguish between german and english, but I would like to know what would be the recommended way to go about this? Again, having both languages inside the app is not really possible, alteast not without a big rework. Thanks!
3
0
843
Mar ’23
WeatherKit native weather(for:) fails with WDSJWTAuthenticatorServiceListener Code=2 despite App Services + Capabilities enabled
Native WeatherKit fails for our app on both development and TestFlight distribution builds, with the WeatherKit service enabled. Team ID: YCF2TGZAX8 Bundle ID: org.walktalkmeditate.pilgrim Call: try await WeatherKit.WeatherService.shared.weather(for: location, including: .current) Error (immediate, every call): Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 (null) What we've verified: WeatherKit enabled under BOTH the Capabilities tab AND the App Services tab for this App ID. com.apple.developer.weatherkit entitlement confirmed in the signed binary (codesign -d --entitlements). Fails identically on (a) Xcode-direct development builds and (b) TestFlight distribution builds. Physical device (iPhone SE 3rd gen) signed into iCloud / an Apple Account. Survives app delete + reinstall AND a device reboot, on both build types. GPS/CoreLocation works fine; only WeatherKit auth fails. Not a timeout or rate-limit. First appeared on Xcode 26 beta; never resolved on stable Xc
0
0
289
4w
Reply to ForEach and HStack
The getValue function returns two different types in the two classes, Thanks for showing your code. And your code revealed that if you define a combined entity, your code all things would be solved.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’21
iMessage has merged 2 conversations of 2 different contacts
Hi all,I've 2 separate conversations with 2 different contacts (not the same phone number, nothing in commun).On my MacBook (High Sierra) everything works fine.But on my iPhone X running iOS 12 beta 3 (since beta 2 I've this bug), these 2 conversations are merged.When I write to one or another of these 2 contacts, it displays the 2 conversations in one screen. It merges them.When I try to create a new message, when I enter one of the 2 contacts, I don't know who receive the message, it's not always the same one that receive the message.That's really annoying.Does anyone have this issue too?I filled a bug reporter for that.Regards,Alexandre
Replies
23
Boosts
0
Views
52k
Activity
Jul ’18
NSIndexPath unavailable in watchOS 2?
I'm migrating my WatchKit extension code from watchOS 1 to watchOS 2. I encounter these errors about NSIndexPath:No known class method for selector 'indexPathForRow:inSection:'Property 'row' not found on object of type 'NSIndexPath *'Does it mean I can not use NSIndexPath in watchOS 2 code?
Replies
3
Boosts
0
Views
692
Activity
Jul ’15
Airplay 2
Does the current beta support Airplay 2 and is it backwards compatible with Airplay?Does it require new Airplay 2 devices? If not, how to access multiroom features?Thanks!
Replies
2
Boosts
0
Views
2.3k
Activity
Jun ’17
Two problems in the program compilation of the new version of xcode (the target code is the content filter of the network extension)
I'm trying to debug the official network extension sample code simplefirewall. Although it has been able to run normally and pops up user pop-up windows for the specified filter conditions, there are still two warnings and errors: [Window] Warning: Window NSWindow 0x1007315f0 ordered front from a non-active application and may order beneath the active application's windows. [default] CGSWindowShmemCreateWithPort failed on port 0 For the first warning, I followed the method given in https://developer.apple.com/forums/thread/729496 and added windo.makeKey() and window.orderFrontRegardless(), but this warning didn't go away. As for the second default, I haven't been able to find the corresponding root cause and solution of the problem. I would like to ask, can anyone give me some advice? Xcode:Version 14.3.1 (14E300c)
Replies
1
Boosts
0
Views
1.1k
Activity
Aug ’23
iHate Swift 2
Am I the only one who hates the big changes Apple makes this year? Why can't they make just small changes in Swift???? It's not hard to convert all my Code to Swift 2. It is IMPOSSIBLE. I get 9 errors, even if I could fix them and press the build and run Button I get 20 new errors. Every time. And most of them do really not make any sense. I will never ever switch to Swift 2. And if this means I can't build new Apps one day, that's ok. Even switching to Android is still better than switching from Swift 1 to Swift 2. I will not learn a completely new programming language every year. Because that's what Swift 2 is. Last year it was Swift. Now it's Swift 2. And next year? Will I have to learn Swift 3 which will also be a completely new language? No, thanks.
Replies
22
Boosts
0
Views
3.3k
Activity
Aug ’15
Any iPad 2 iOS 9 Beta 2 users?
Any iPad 2 iOS 9 Beta 2 users?Do I dare try it? Could it be any worse then 8.3? (Sluggish!)
Replies
4
Boosts
0
Views
975
Activity
Jun ’15
Core Graphics on WatchOS 2?
Looking for sample code for using Core Graphics on a WatchOS 2?ThanksGreg
Replies
0
Boosts
0
Views
391
Activity
Jul ’15
Two Bugs
1. Audio randomly cutting out on this new Beta 3 Build. (reported)2. Cable Test hangs and does not complete on this new Beta 3 build (reported).Anyone else experiencing these two?
Replies
12
Boosts
0
Views
2.9k
Activity
Jul ’18
Reply to How to create a button in Preferences
What do you mean by pages (I have two pages) ? I have two View Controllers in storyboard and two files for the code: ViewController.swift and Preferences.swift. They are connected in the Identity inspector. Please show code that will be easier to explain. In a simplified version, there is no code yet. I just put a button on the View Controller - Preferences of the Storyboard
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’20
Can you publish 2 separate apps for 2 languages?
Hi, we are planing to publish an education app that comes in 2 languages, german and english. The plan was to publish 2 apps, each for each language and people can chose whichone to get. We did not want to include both languages in 1 package as the app is very heavy on videos and including both languages would be too big. If possible, we would like the keep the same App name but maybe adjust the icon to distinguish between german and english, but I would like to know what would be the recommended way to go about this? Again, having both languages inside the app is not really possible, alteast not without a big rework. Thanks!
Replies
3
Boosts
0
Views
843
Activity
Mar ’23
Upload 2 version to to 2 different region
Hi I have an app in the store that distributed to 2 region(IL and AU) I want to push another app only to one region (IL) But, I want the old version stay in AU region How can I do it?
Replies
1
Boosts
0
Views
715
Activity
Sep ’23
Reply to Writing to Label from Gesture function
I can't see anything wrong with your code. It seems you are using Swift 1.x instead of 2. Have you tried the code with Xcode 7 and Swift 2?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’15
WeatherKit native weather(for:) fails with WDSJWTAuthenticatorServiceListener Code=2 despite App Services + Capabilities enabled
Native WeatherKit fails for our app on both development and TestFlight distribution builds, with the WeatherKit service enabled. Team ID: YCF2TGZAX8 Bundle ID: org.walktalkmeditate.pilgrim Call: try await WeatherKit.WeatherService.shared.weather(for: location, including: .current) Error (immediate, every call): Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 (null) What we've verified: WeatherKit enabled under BOTH the Capabilities tab AND the App Services tab for this App ID. com.apple.developer.weatherkit entitlement confirmed in the signed binary (codesign -d --entitlements). Fails identically on (a) Xcode-direct development builds and (b) TestFlight distribution builds. Physical device (iPhone SE 3rd gen) signed into iCloud / an Apple Account. Survives app delete + reinstall AND a device reboot, on both build types. GPS/CoreLocation works fine; only WeatherKit auth fails. Not a timeout or rate-limit. First appeared on Xcode 26 beta; never resolved on stable Xc
Replies
0
Boosts
0
Views
289
Activity
4w
watchOS 3 Beta 2 2-factor authentication restore issue
Since updating to 2-factor authentication, I am no longer able to restore my apple watch. When I logged into appleid.apple.com I noticed that my iphone 6s and Apple Watch states that they can't be used to received apple authentication codes. However, my 2015 MPB can. I'm stuck at the 'sign in to iCloud' screen.
Replies
0
Boosts
0
Views
248
Activity
Jul ’16