Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

165,592 results found

Post

Replies

Boosts

Views

Activity

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
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
StoreKit 2: Product.purchase() returns StoreKitError (2) when canceling "Pending Downgrade" in Production ONLY
Environment OS: iOS 26.2 ~ 26.3 SDK: Xcode 16.4 (Target: iOS 17.6) Framework: StoreKit 2 Environment: Production (Cannot reproduce in Sandbox or Xcode Configuration) Issue Description We are encountering a critical purchase failure that occurs exclusively in the Production environment. When a user who has a Pending Downgrade (scheduled for the next renewal date) attempts to re-purchase their current higher-tier product to cancel the downgrade, StoreKit 2 returns an error. Steps to Reproduce User is currently on Product A (Higher Tier). User schedules a downgrade to Product B (Lower Tier). The status changes to Pending Downgrade. User attempts to purchase Product A again via Product.purchase(). The system purchase sheet appears, and the user confirms the purchase. Immediately after authentication, a system alert from StoreKit appears saying: Cannot process request at this time. Please try again later. (現在リクエストを一時的に処理できません。しばらくしてからもう一度お試しください。) After dismissing the alert, the app receives Stor
2
0
380
Feb ’26
"UID -2" in btmdump output
Within the output of command sudo sfltool dumpbtm, in addition to records for UID 0/501/502/..., at the top of the output, there are also records for UID -2 listed. ======================== Records for UID -2 : FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFE ======================== ServiceManagement migrated: true SharedFileList migrated: false LaunchServices registered: false Items: #1: UUID: FC60A3EA-E4B0-4D8C-BA07-1C6E2DF3AA52 Name: (null) Developer Name: (null) Type: developer (0x20) Flags: [ ] (0) Disposition: [disabled, allowed, visible, not notified] (0x2) Identifier: Unknown Developer URL: (null) Generation: 0 Embedded Item Identifiers: #1: 16.com.microsoft.teams.TeamsUpdaterDaemon But a uid with -2 should be invalid, and the guid FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFE followed looks also strange.
2
0
607
Nov ’24
Maximize screen resolution to full screen of Apps in iPad 2 / iPad Mini 2
Ref: Maximize screen resolution to full screen of Apps in iPad 2 / iPad Mini 2HiI am developing an app on iPad and iPhone. The screen resolution is '1X'. There is a black frame outside of the apps. The apps looks like NOT align or NOT maximize to full screen. Now, the ratio is about 16:9 in central of the screen with black frame outside the apps.If I click the screen resolution to '1X', the app will enlarge bigger with black color frame at the middle NOT maximize to full screen.If I click the screen resolution to '2X', the app will shrink to about 1/8 of the centre of the screen.My apps screen ratio in Android Tablet is 16:9 and in iPad is 4:3.OS of iPad 2 = 9.3OS of iPad Mini 2 = 10.3.3 I test the app in simulator iPad Air, iPhone 6, 6s, 6s Plus, 7, 7s Plus with 10.3.3 (No Problems and Maximize to full screen)There is no such black color frame and to maximize full screen. Is there any idea or some control setting to fix the apps? or cannot fix? or OS problems? or iPad hardware prob
1
0
3.1k
Mar ’18
Defining two XPC services in a single System Extension
I currently have two separate system extensions that I have to launch. One is a Content Filter system extension and the other is an Endpoint Security system extension. Both define their own separate XPC services, The Endpoint Security system extension defines it through NSEndpointSecurityMachServiceName and the Content Filter system extension through NetworkExtension -> NEMachServiceName. Due to the complicated process of having the user approve two extensions and remove two extensions on uninstall, I'm venturing down the path of combining the two into a single extension. In the interest of reducing the amount of code changes, I'm interested in keeping two XPC services in the one system extension. However, when I combine the code and then the plists to define both XPC services, I fail to create the XPC listener for the Endpoint Security mach service. Is what I'm doing possible? Two XPC services in a single extension? I'm not sure if th
8
0
1.5k
Sep ’20
BETA APi for VisionOS 2
Hello! I encountered a problem accessing BETA APi for VisionOS 2 https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_arkit_object-tracking-parameter-adjustment_allow How can I use it in a regular developer account?
Replies
2
Boosts
0
Views
713
Activity
Jul ’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
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
StoreKit 2: Product.purchase() returns StoreKitError (2) when canceling "Pending Downgrade" in Production ONLY
Environment OS: iOS 26.2 ~ 26.3 SDK: Xcode 16.4 (Target: iOS 17.6) Framework: StoreKit 2 Environment: Production (Cannot reproduce in Sandbox or Xcode Configuration) Issue Description We are encountering a critical purchase failure that occurs exclusively in the Production environment. When a user who has a Pending Downgrade (scheduled for the next renewal date) attempts to re-purchase their current higher-tier product to cancel the downgrade, StoreKit 2 returns an error. Steps to Reproduce User is currently on Product A (Higher Tier). User schedules a downgrade to Product B (Lower Tier). The status changes to Pending Downgrade. User attempts to purchase Product A again via Product.purchase(). The system purchase sheet appears, and the user confirms the purchase. Immediately after authentication, a system alert from StoreKit appears saying: Cannot process request at this time. Please try again later. (現在リクエストを一時的に処理できません。しばらくしてからもう一度お試しください。) After dismissing the alert, the app receives Stor
Replies
2
Boosts
0
Views
380
Activity
Feb ’26
"UID -2" in btmdump output
Within the output of command sudo sfltool dumpbtm, in addition to records for UID 0/501/502/..., at the top of the output, there are also records for UID -2 listed. ======================== Records for UID -2 : FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFE ======================== ServiceManagement migrated: true SharedFileList migrated: false LaunchServices registered: false Items: #1: UUID: FC60A3EA-E4B0-4D8C-BA07-1C6E2DF3AA52 Name: (null) Developer Name: (null) Type: developer (0x20) Flags: [ ] (0) Disposition: [disabled, allowed, visible, not notified] (0x2) Identifier: Unknown Developer URL: (null) Generation: 0 Embedded Item Identifiers: #1: 16.com.microsoft.teams.TeamsUpdaterDaemon But a uid with -2 should be invalid, and the guid FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFE followed looks also strange.
Replies
2
Boosts
0
Views
607
Activity
Nov ’24
Maximize screen resolution to full screen of Apps in iPad 2 / iPad Mini 2
Ref: Maximize screen resolution to full screen of Apps in iPad 2 / iPad Mini 2HiI am developing an app on iPad and iPhone. The screen resolution is '1X'. There is a black frame outside of the apps. The apps looks like NOT align or NOT maximize to full screen. Now, the ratio is about 16:9 in central of the screen with black frame outside the apps.If I click the screen resolution to '1X', the app will enlarge bigger with black color frame at the middle NOT maximize to full screen.If I click the screen resolution to '2X', the app will shrink to about 1/8 of the centre of the screen.My apps screen ratio in Android Tablet is 16:9 and in iPad is 4:3.OS of iPad 2 = 9.3OS of iPad Mini 2 = 10.3.3 I test the app in simulator iPad Air, iPhone 6, 6s, 6s Plus, 7, 7s Plus with 10.3.3 (No Problems and Maximize to full screen)There is no such black color frame and to maximize full screen. Is there any idea or some control setting to fix the apps? or cannot fix? or OS problems? or iPad hardware prob
Replies
1
Boosts
0
Views
3.1k
Activity
Mar ’18
Defining two XPC services in a single System Extension
I currently have two separate system extensions that I have to launch. One is a Content Filter system extension and the other is an Endpoint Security system extension. Both define their own separate XPC services, The Endpoint Security system extension defines it through NSEndpointSecurityMachServiceName and the Content Filter system extension through NetworkExtension -> NEMachServiceName. Due to the complicated process of having the user approve two extensions and remove two extensions on uninstall, I'm venturing down the path of combining the two into a single extension. In the interest of reducing the amount of code changes, I'm interested in keeping two XPC services in the one system extension. However, when I combine the code and then the plists to define both XPC services, I fail to create the XPC listener for the Endpoint Security mach service. Is what I'm doing possible? Two XPC services in a single extension? I'm not sure if th
Replies
8
Boosts
0
Views
1.5k
Activity
Sep ’20