Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

163,127 results found

Post

Replies

Boosts

Views

Activity

Reply to Storing static string secure
You keep writing ‘Store securely’. That is a good question and you received two answers 1) in the keychain and 2) by adding or changing certain characters so only your app’s hard code can decode it. But your real question is ‘how can I place a secret token in my app’ and for that question only #2 is applicable.
Topic: UI Frameworks SubTopic: UIKit Tags:
Aug ’19
2 factor authentication
Some how Apple is reading my number as 1-868-868 followed by my actual number causing me to not be able to receive my authentication code to get back into my account (Apple ID) First they told me it takes 24hrs because I kept requests new code sent over. Now I am told to wait 6 days although I told them the issue was the number stored is not correctly formatted. Although I asked them to fix it or use my other number or email they said nope it automated I have to wait. I was told I will not get back my account cause Apple won’t verify me after 24hrs now I am loosing my Apple account where I pay for editing apps and Apple Music And iCloud yearly without compensation or the ability to use it on another ID. What can I do to get my account back or should I cut my loses.
0
0
234
Jun ’20
Two tables in a watchApp scene?
I would like to have two WKInterfaceTables running independently in a watch scene, but am not having any joy implementing them.I have created the two tables in a Group which works fine, now that I have played areound wuth Groups.The complication (excuse the pun) occurs in table(_ table: WKInterfaceTable, didSelectRowAt rowIndex: Int)where I can't work out which table has been selected. It gets called when I select either table, but tI can't identify which table was selected.
2
0
648
Jun ’18
Caldav two-step verification
I'm using caldav to fetch events from iCloud.First request is to get dsprsid and mmeAuthToken from appleId and passwordNormally the first request will be:auth = Basic %s % base64.b64encode(%s:%s % (appleId, password)) requests.get(https://setup.icloud.com/setup/authenticate/%s % appleId, headers={Authorization: auth})But when I insert appleId which enabled two-step verification the response will be:<dict> <key>protocolVersion</key> <string>2</string> <key>title</key> <string>Verification Required</string> <key>localizedError</key> <string>MOBILEME_TERMS_OF_SERVICE_UPDATE</string> <key>message</key> <string>This Apple ID is protected with two-step verification. To sign in, you must verify your identity.</string> </dict>Does someone know from where I continue from here? What should be the next call?Thanks!
0
0
848
Nov ’15
Can you have two separate model containers with SwiftData?
Hello. See the code below. struct ContentView: View { var body: some View { TabView { VehicleTab() .tabItem({ Label(Vehicles, systemImage: car.fill)}) .modelContainer(for: Vehicle.self) TransactionsTab() .tabItem { Label(Transactions, systemImage: dollarsign) } .modelContainer(for: Transaction.self) } } } Using the .modelContainer() in this way seems to be causing some issue. I was under the assumption that this would just create a container for each view. I get the error below in this configuration. If I comment out either one of the .modelContainer() modifiers, it works fine. Query encountered an error: Error Domain=NSCocoaErrorDomain Code=256 The file “default.store” couldn’t be opened. Are you not able to do what I'm doing? Is there a way to have two separate containers?
1
0
657
Apr ’24
Reply to Using Swift, how do I *continuously* test for a GamePad being on/connected?
Stepping back from code for a moment ... What do I want to do? 1) upon initial start up of app, I want to wait for a gamepadconnected Event. 2) Once I get this Event, I immediately change a SKSpriteNode's color and then start looking for: a) button presses on the gamepad and b) a gamepaddisconnected Event 3) So while I am executing code based on 2(a), I receive 2(b) .. I immediately change the above color to something different, followed by looking for another gamepadconnected Event. Back-and-forth Back-and-forth.
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’23
WeatherKit - one "request" or two?
I have a Swift app that fetches current conditions and daily forecasts. It is in production and working without issues. My question is whether the fetch I am using counts as a single “request” for usage thresholds, or two (one for current conditions, one for daily forecast)? I need current conditions more often than daily forecast, so if this is counting as two requests, I could refactor the logic to get each separately as needed. But separating the requests would use more quota if the combined fetch counts as a single request. let service = WeatherService() let location = CLLocation(latitude: weatherData.lat, longitude: weatherData.lon) let startOfToday = Calendar.current.startOfDay(for: Date()) let endDate = Calendar.current.date(byAdding: DateComponents(day: 2), to: startOfToday)! let current: CurrentWeather let daily: Forecast (current, daily) = try await service.weather(for: location, including: .current, .daily(startDate: startOfToday, endDate: endDate))
1
0
900
Apr ’24
Multipeer Connectivity between two iPads and bluetooth pairing between two iPads not working
I am writing to seek assistance with a persistent issue I am encountering with Bluetooth pairing and Multipeer Connectivity on two iPad devices ((Model: [iPad Pro (11 inch,2nd generation)] and Model: [iPad (6th generation)) and running iOS [iOS 16.6] Issue Description: Bluetooth Pairing Problem: I am unable to establish a Bluetooth connection between two iPad devices. Despite following the usual steps for pairing devices, such as enabling Bluetooth and ensuring both devices are discoverable, the pairing process is not successful. This issue prevents the devices from communicating over Bluetooth. But when I try to pair these two iPads with different iPhone , Bluetooth pairing is successful. Multipeer Connectivity Issue: Additionally, due to the failed Bluetooth pairing, the Multipeer Connectivity framework on these devices is not functioning as expected. Multipeer Connectivity relies on Bluetooth and Wi-Fi for nearby device discovery and communication. As a result, my application, wh
0
0
1k
Sep ’23
Reply to Storing static string secure
You keep writing ‘Store securely’. That is a good question and you received two answers 1) in the keychain and 2) by adding or changing certain characters so only your app’s hard code can decode it. But your real question is ‘how can I place a secret token in my app’ and for that question only #2 is applicable.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’19
2 factor authentication
Some how Apple is reading my number as 1-868-868 followed by my actual number causing me to not be able to receive my authentication code to get back into my account (Apple ID) First they told me it takes 24hrs because I kept requests new code sent over. Now I am told to wait 6 days although I told them the issue was the number stored is not correctly formatted. Although I asked them to fix it or use my other number or email they said nope it automated I have to wait. I was told I will not get back my account cause Apple won’t verify me after 24hrs now I am loosing my Apple account where I pay for editing apps and Apple Music And iCloud yearly without compensation or the ability to use it on another ID. What can I do to get my account back or should I cut my loses.
Replies
0
Boosts
0
Views
234
Activity
Jun ’20
Two tables in a watchApp scene?
I would like to have two WKInterfaceTables running independently in a watch scene, but am not having any joy implementing them.I have created the two tables in a Group which works fine, now that I have played areound wuth Groups.The complication (excuse the pun) occurs in table(_ table: WKInterfaceTable, didSelectRowAt rowIndex: Int)where I can't work out which table has been selected. It gets called when I select either table, but tI can't identify which table was selected.
Replies
2
Boosts
0
Views
648
Activity
Jun ’18
Caldav two-step verification
I'm using caldav to fetch events from iCloud.First request is to get dsprsid and mmeAuthToken from appleId and passwordNormally the first request will be:auth = Basic %s % base64.b64encode(%s:%s % (appleId, password)) requests.get(https://setup.icloud.com/setup/authenticate/%s % appleId, headers={Authorization: auth})But when I insert appleId which enabled two-step verification the response will be:<dict> <key>protocolVersion</key> <string>2</string> <key>title</key> <string>Verification Required</string> <key>localizedError</key> <string>MOBILEME_TERMS_OF_SERVICE_UPDATE</string> <key>message</key> <string>This Apple ID is protected with two-step verification. To sign in, you must verify your identity.</string> </dict>Does someone know from where I continue from here? What should be the next call?Thanks!
Replies
0
Boosts
0
Views
848
Activity
Nov ’15
Can you have two separate model containers with SwiftData?
Hello. See the code below. struct ContentView: View { var body: some View { TabView { VehicleTab() .tabItem({ Label(Vehicles, systemImage: car.fill)}) .modelContainer(for: Vehicle.self) TransactionsTab() .tabItem { Label(Transactions, systemImage: dollarsign) } .modelContainer(for: Transaction.self) } } } Using the .modelContainer() in this way seems to be causing some issue. I was under the assumption that this would just create a container for each view. I get the error below in this configuration. If I comment out either one of the .modelContainer() modifiers, it works fine. Query encountered an error: Error Domain=NSCocoaErrorDomain Code=256 The file “default.store” couldn’t be opened. Are you not able to do what I'm doing? Is there a way to have two separate containers?
Replies
1
Boosts
0
Views
657
Activity
Apr ’24
Reply to Using Swift, how do I *continuously* test for a GamePad being on/connected?
Stepping back from code for a moment ... What do I want to do? 1) upon initial start up of app, I want to wait for a gamepadconnected Event. 2) Once I get this Event, I immediately change a SKSpriteNode's color and then start looking for: a) button presses on the gamepad and b) a gamepaddisconnected Event 3) So while I am executing code based on 2(a), I receive 2(b) .. I immediately change the above color to something different, followed by looking for another gamepadconnected Event. Back-and-forth Back-and-forth.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
WeatherKit - one "request" or two?
I have a Swift app that fetches current conditions and daily forecasts. It is in production and working without issues. My question is whether the fetch I am using counts as a single “request” for usage thresholds, or two (one for current conditions, one for daily forecast)? I need current conditions more often than daily forecast, so if this is counting as two requests, I could refactor the logic to get each separately as needed. But separating the requests would use more quota if the combined fetch counts as a single request. let service = WeatherService() let location = CLLocation(latitude: weatherData.lat, longitude: weatherData.lon) let startOfToday = Calendar.current.startOfDay(for: Date()) let endDate = Calendar.current.date(byAdding: DateComponents(day: 2), to: startOfToday)! let current: CurrentWeather let daily: Forecast (current, daily) = try await service.weather(for: location, including: .current, .daily(startDate: startOfToday, endDate: endDate))
Replies
1
Boosts
0
Views
900
Activity
Apr ’24
Reply to Myanmar Language font changed after iOS 18.4
It would help to see the relevant code for this, as it might be that something related to something you've coded has changed between the two versions. I notice you have 18.2 and 18.4. Is it broken on 18.3, too?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’25
El Capitan beta 2
Is El Cap beta 2 stable to install on main computer. Will I still be able to work in Xcode and use other apps?
Replies
3
Boosts
0
Views
494
Activity
Jun ’15
In 10.14 Beta 2 - what does YaraScanService do?
Just updated to 10.14 Beta 2 (18A314h). I am seeing a process named YaraScanService. I don't think it was there in Beta 1.Anyone know what this does?
Replies
12
Boosts
0
Views
14k
Activity
Jun ’18
Swift 2 replacement for "join"
Swift had a global join function which joined an array by adding a seperator and worked great for concating strings. Is there an alternative now for Swift 2?
Replies
1
Boosts
0
Views
1.3k
Activity
Sep ’15
waiting for review for two months
app id is 6759403692 i have been waiting to be approved my app for two months. I mailed and called several times but no response. please someone help me.
Replies
2
Boosts
0
Views
99
Activity
Apr ’26
Code
Can someone give me a TestFlight code, I just wanna beta-test in peace without bullsh8 codes
Replies
4
Boosts
0
Views
381
Activity
Nov ’24
Multipeer Connectivity between two iPads and bluetooth pairing between two iPads not working
I am writing to seek assistance with a persistent issue I am encountering with Bluetooth pairing and Multipeer Connectivity on two iPad devices ((Model: [iPad Pro (11 inch,2nd generation)] and Model: [iPad (6th generation)) and running iOS [iOS 16.6] Issue Description: Bluetooth Pairing Problem: I am unable to establish a Bluetooth connection between two iPad devices. Despite following the usual steps for pairing devices, such as enabling Bluetooth and ensuring both devices are discoverable, the pairing process is not successful. This issue prevents the devices from communicating over Bluetooth. But when I try to pair these two iPads with different iPhone , Bluetooth pairing is successful. Multipeer Connectivity Issue: Additionally, due to the failed Bluetooth pairing, the Multipeer Connectivity framework on these devices is not functioning as expected. Multipeer Connectivity relies on Bluetooth and Wi-Fi for nearby device discovery and communication. As a result, my application, wh
Replies
0
Boosts
0
Views
1k
Activity
Sep ’23
FaceTime broken in Beta 2
So I installed beta 2 yesterday and discovered that FaceTime is broken. I did network diagnotics with Little Snitch and allowed the conference daemon but it still didn't work.
Replies
3
Boosts
0
Views
377
Activity
Jul ’16