Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

163,129 results found

Post

Replies

Boosts

Views

Activity

How to test a multiplayer game with two devices
I am new to iOS game development and have been trying without success to set up a simple test environment to test the invitation process for my game. I am very confused about how iTunes connect is supposed to work. To test a two player real time game do I need to set up two new apple IDs in iTunes connect? If so, then what? I have an iPod and and iPhone I'm using to test the game. Do I need to log out of the current apple ID on each of those devices and then log in with the new apple IDs? Both devices are logged into GameCenter and I see the devices sending messages to each other to start the game but when I click on the invitation on the receiving device, the sending device just spins waiting for the invitation to be accepted and never runs the didFind protocol code in the GKMatchmakerViewController class. Thank you in advance for your help.
3
0
2.1k
Jan ’18
Learn to Code 1 crashed
I was playing around in Learn to Code 1 out of boredom, and I managed to crash the second page... I used the code below, and it worked on a subsequent run, so I'm not entirely sure what happened.func moveForward(_ spaces: Int) { for _ in 0..<spaces { moveForward() } } moveForward(2) turnLeft() moveForward(2) collectGem()
0
0
1.1k
Apr ’19
Two subscriptions with trial periods
I would like to make two auto-renewable subscriptions (in one family of subscriptions).1) Monthly subscription + 1 month trial2) Yearly subscription + 1 month trial (or, may be, 2 months trial)My quastion:If a user switches form a monthly subscription to an annual subscription plan will she or he get an additional trial period which it set up for an annual subscription plan?I found a question which is almost similar to mine on the forum, but the question of that user has never been answered..
1
0
476
Apr ’16
StoreKit 2 Transaction.currentEntitlements questions
Hi, I'm starting using StoreKit 2 and I have some questions regarding transactions. To check which non-consumable in-app purchases the user has purchased, immediately after starting the app I look at Transaction.currentEntitlements. That's working fine, but I have some questions about it. Question 1: What happens if the user is not connected to the internet? Will Transaction.currentEntitlements still return data? Question 2: What happens if the user sign out from the AppStore? Will Transaction.currentEntitlements be empty? Question 3: What happens if the user sign in AppStore with different credentials? Transaction.currentEntitlements will return the transaction of the new AppStore user? Thank you
0
0
921
May ’22
How can I convert 2 dictionaries into an array Objects?
I've been trying to accomplish this but I haven't been to able do so.I have two dictionaries where certain values may be repeated it another dictionary (that is the key that represents that dictionary) for example:var foodId_QtityDict = [String: Int]() var productNamesDict = [String: String]()dump from my 2 dictionaries which I filled from network data using Alamofire▿ 2 key/value pairs ▿ [0]: (2 elements) - .0: 6 < 6 is here - .1: 1 < there is only 1 element of id 6 ▿ [1]: (2 elements) - .0: 5 - .1: 2 < there are 2 elements of id 5---Second dictionary▿ 2 key/value pairs ▿ [0]: (2 elements) - .0: 6 < 6 is also here - .1: Burrito ▿ [1]: (2 elements) - .0: 5 - .1: TacosI want to do the following: use a struct or a class to create an array of objects based on those two dictionaries but I don't want to repeat the ID's ( number 6 and number 5 in this case)For this example I should have an array of two
1
0
347
Jan ’16
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.4k
Sep ’20
Promo Code problems
We developed an app with in-app purchases (https://itunes.apple.com/us/app/baby-exercises-and-activities/id853013104) but promo codes doesn't seem to work properly.We have multiple devices on the same Apple ID.If I claim a promo code on device 1, restore purchases, the content is not unlocked.But if I restore on device 2, the content is unlocked.And again, if claim a promo code on device 2 the content is locked, but unlocked on device 1 after I restore purchases.After this, if I restore purchases on a third device, both is unlocked, but only on this device.The app is made with React Native and uses react-native-iap for handling in app purchases.We've put on some logging to be able to debug this in production, and we can confirm, the only product id that is returned is the one unlocked from the other device.Any support would be appreciated.
3
0
2.4k
Aug ’18
Two of the same app due to configuration, can I delete one of them?
I have two of the same app on App Store Connect (with similar code) due to configuration error earlier, can I delete one of them? How do I delete it?
Replies
1
Boosts
0
Views
102
Activity
Jan ’26
object tracking for VisionOS 2
Hello! I encountered a problem accessing 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
1
Boosts
0
Views
542
Activity
Jul ’24
How to test a multiplayer game with two devices
I am new to iOS game development and have been trying without success to set up a simple test environment to test the invitation process for my game. I am very confused about how iTunes connect is supposed to work. To test a two player real time game do I need to set up two new apple IDs in iTunes connect? If so, then what? I have an iPod and and iPhone I'm using to test the game. Do I need to log out of the current apple ID on each of those devices and then log in with the new apple IDs? Both devices are logged into GameCenter and I see the devices sending messages to each other to start the game but when I click on the invitation on the receiving device, the sending device just spins waiting for the invitation to be accepted and never runs the didFind protocol code in the GKMatchmakerViewController class. Thank you in advance for your help.
Replies
3
Boosts
0
Views
2.1k
Activity
Jan ’18
Beta 2 icon size
Mac os 10.14.4 beta 2, the Icons on the desktop become large and wont stay small, everytime i reboot they become large again, desktop setting will not stay in place
Replies
0
Boosts
0
Views
455
Activity
Feb ’18
How to register two products with SKAdNetwork
We have two products from AdNetwork (AdNetworkA and B). I have completed registration for AdNetworkA's SKAdNetwork. But we don't know how to register AdNetworkB. Do I have to purchase another Apple Developers Program if I want to register for AdNetworkB?
Replies
0
Boosts
0
Views
348
Activity
Aug ’20
Learn to Code 1 crashed
I was playing around in Learn to Code 1 out of boredom, and I managed to crash the second page... I used the code below, and it worked on a subsequent run, so I'm not entirely sure what happened.func moveForward(_ spaces: Int) { for _ in 0..<spaces { moveForward() } } moveForward(2) turnLeft() moveForward(2) collectGem()
Replies
0
Boosts
0
Views
1.1k
Activity
Apr ’19
iOS 9 beta 2
Any idea when iOS 9 beta 2 comes out... And if it will contain a new music app...or fix the problem with email crashes as well as 3rd party apps?
Replies
1
Boosts
0
Views
386
Activity
Jul ’15
Two subscriptions with trial periods
I would like to make two auto-renewable subscriptions (in one family of subscriptions).1) Monthly subscription + 1 month trial2) Yearly subscription + 1 month trial (or, may be, 2 months trial)My quastion:If a user switches form a monthly subscription to an annual subscription plan will she or he get an additional trial period which it set up for an annual subscription plan?I found a question which is almost similar to mine on the forum, but the question of that user has never been answered..
Replies
1
Boosts
0
Views
476
Activity
Apr ’16
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
694
Activity
Jul ’24
StoreKit 2 Transaction.currentEntitlements questions
Hi, I'm starting using StoreKit 2 and I have some questions regarding transactions. To check which non-consumable in-app purchases the user has purchased, immediately after starting the app I look at Transaction.currentEntitlements. That's working fine, but I have some questions about it. Question 1: What happens if the user is not connected to the internet? Will Transaction.currentEntitlements still return data? Question 2: What happens if the user sign out from the AppStore? Will Transaction.currentEntitlements be empty? Question 3: What happens if the user sign in AppStore with different credentials? Transaction.currentEntitlements will return the transaction of the new AppStore user? Thank you
Replies
0
Boosts
0
Views
921
Activity
May ’22
How can I convert 2 dictionaries into an array Objects?
I've been trying to accomplish this but I haven't been to able do so.I have two dictionaries where certain values may be repeated it another dictionary (that is the key that represents that dictionary) for example:var foodId_QtityDict = [String: Int]() var productNamesDict = [String: String]()dump from my 2 dictionaries which I filled from network data using Alamofire▿ 2 key/value pairs ▿ [0]: (2 elements) - .0: 6 < 6 is here - .1: 1 < there is only 1 element of id 6 ▿ [1]: (2 elements) - .0: 5 - .1: 2 < there are 2 elements of id 5---Second dictionary▿ 2 key/value pairs ▿ [0]: (2 elements) - .0: 6 < 6 is also here - .1: Burrito ▿ [1]: (2 elements) - .0: 5 - .1: TacosI want to do the following: use a struct or a class to create an array of objects based on those two dictionaries but I don't want to repeat the ID's ( number 6 and number 5 in this case)For this example I should have an array of two
Replies
1
Boosts
0
Views
347
Activity
Jan ’16
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.4k
Activity
Sep ’20
Promo Code problems
We developed an app with in-app purchases (https://itunes.apple.com/us/app/baby-exercises-and-activities/id853013104) but promo codes doesn't seem to work properly.We have multiple devices on the same Apple ID.If I claim a promo code on device 1, restore purchases, the content is not unlocked.But if I restore on device 2, the content is unlocked.And again, if claim a promo code on device 2 the content is locked, but unlocked on device 1 after I restore purchases.After this, if I restore purchases on a third device, both is unlocked, but only on this device.The app is made with React Native and uses react-native-iap for handling in app purchases.We've put on some logging to be able to debug this in production, and we can confirm, the only product id that is returned is the one unlocked from the other device.Any support would be appreciated.
Replies
3
Boosts
0
Views
2.4k
Activity
Aug ’18
Reply to Auto-renewable subscriptions does not work in production
I managed to solve the problem, there were two changes, one in the code and another in the Tax Forms information (it was approved in Brazil and missing in the USA). So I don't know which two were the problem, but apparently it was in the Tax Forms.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Apr ’25
Did the new two factor authentication launch?
Apple introduced a new two factor authentication (https://developer.apple.com/support/two-factor-authentication/)Did this not make it to release? I have the existing two-stage verification turned on, and the latest privacy policy still links to that.Just curious if anyone knows.
Replies
3
Boosts
0
Views
577
Activity
Oct ’15