Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

165,591 results found

Post

Replies

Boosts

Views

Activity

Reply to How to display a base64 file
I think at this point you have two options:1. File a bug report containing the PDF file and your code, then submit a developer tech support incident (described here: https://developer.apple.com/support/technical/).2. Post your question somewhere like Stack Overflow where you can post more of your code, any relevant links, and more information.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’17
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
Rounding of floats to 2 decimals
Hi guys, I'm a complete noob when it comes to Swift but I would appreciate any help.The input value is set to be a float, but when displaying the calc results, I need it to be decimal style AND rounded up to the nearest 0.01.It currently rounds off to the nearest 3 decimals, but I need it to be two decimals. My code currently:func roundUp(number: Float, toNearest: Float) -> Float { return ceil(number / toNearest) * toNearest }let income = grossin - LocalGrossIncomeArray[5] + IntrestSAArray[3] - LocalGrossIncomeArray[9] - LocalGrossIncomeArray[8]roundUp(income, toNearest: 0.1) print(Income Round up value = (income))roundUp(grossin, toNearest: 0.1)print(grossin Round up value = (grossin))let numberFormatterIncome = NSNumberFormatter() numberFormatterIncome.numberStyle = .DecimalStyle IncomeLbl.text = R IncomeLbl.text = IncomeLbl.text! + numberFormatterIncome.stringFromNumber(income)!let numberFormatter = NSNumberFormatter() numberFormatter.numberStyle = .DecimalStyleGrossIncome.text = R Gr
1
0
6.3k
Sep ’16
TextureResource.DrawableQueue broken in VisionOS 2?
I have an input texture in a ShaderGraphMaterial. I use .replace(withDrawables:) to replace the texture with a drawable queue. When I present drawables to this queue, nothing happens in VisionOS 2. The drawables are not presented, I can't get any more via nextDrawable() because the unpresented ones are holding things up. This is with both bgra8Unorm_srgb and rgba16float formats. I have confirmed the material applied to my object has the modified texture resources on them. It was working in VisionOS 1.2. What changed in VisionOS 2 to cause this?
3
0
970
Jun ’24
TestFlight > Two Step Process for Users
We have our app in TestFlight. To have new users signup requires two steps (not user friendly). The user clicks our link or scans are QR code. They get the page to show they have to download TestFlight and then install our app. Once TestFlight is downloaded and the user opens it, there is no app visible. The user has to click the link or scan the QR code again for it to show up in TestFlight. Has anyone been able to resolve this issue? Or is this just the user experience?
0
0
547
Sep ’22
StoreKit 2 object
Hello all, Looking for advice on how and when to initialize StoreKit class. Right now in our we create StoreKit object every time a user opens the Plans screen. The idea behind this is that the data is always up to date, so for example user cancels a subscription via Settings and then goes to the app, they will see that a plan is cancelled. But in the docs, Apple says to start to listen for transactions as close as possible to the app launch. Additionally creating StoreKit object multiple times leads a memory leak because of func listenForTransactions() -> Task that contains Task.detached What is the proper way to work with StoreKit 2 object? Should I have only one instance of it and have some sort of sync method to run it every time a user is about to interact with the store or the current implementation is fine? Thanks
0
0
706
Dec ’22
Xcode 8 beta 2 - provisioning issue
Hello,I get the following error with Xcode 8 beta 2 when I try to build:[appname] has conflicting provisioning settings. [appname] is automatically provisioned for development, but a conflicting code signing identity Developer ID Application has been manually specified. Set the code signing identity value to Mac Developer in the build settings editor, or switch to manual provisioning in the target editor.My code signing identity value already is Mac Developer.It works fine in Xcode 7.3.1anyone know what's going on?
3
0
5.8k
Jul ’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
962
May ’22
Reply to How to display a base64 file
I think at this point you have two options:1. File a bug report containing the PDF file and your code, then submit a developer tech support incident (described here: https://developer.apple.com/support/technical/).2. Post your question somewhere like Stack Overflow where you can post more of your code, any relevant links, and more information.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’17
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
Rounding of floats to 2 decimals
Hi guys, I'm a complete noob when it comes to Swift but I would appreciate any help.The input value is set to be a float, but when displaying the calc results, I need it to be decimal style AND rounded up to the nearest 0.01.It currently rounds off to the nearest 3 decimals, but I need it to be two decimals. My code currently:func roundUp(number: Float, toNearest: Float) -> Float { return ceil(number / toNearest) * toNearest }let income = grossin - LocalGrossIncomeArray[5] + IntrestSAArray[3] - LocalGrossIncomeArray[9] - LocalGrossIncomeArray[8]roundUp(income, toNearest: 0.1) print(Income Round up value = (income))roundUp(grossin, toNearest: 0.1)print(grossin Round up value = (grossin))let numberFormatterIncome = NSNumberFormatter() numberFormatterIncome.numberStyle = .DecimalStyle IncomeLbl.text = R IncomeLbl.text = IncomeLbl.text! + numberFormatterIncome.stringFromNumber(income)!let numberFormatter = NSNumberFormatter() numberFormatter.numberStyle = .DecimalStyleGrossIncome.text = R Gr
Replies
1
Boosts
0
Views
6.3k
Activity
Sep ’16
macOS 10.12.5 Beta 2
When you click on the Release Notes link for macOS 10.12.5 beta 2 it takes you to iOS 10.3.2 beta release notes @ http://adcdownload.apple.com/Documentation/Beta_Release_Notes_Apr_10_2017/iOS_10.3.2_beta_2_Release_Notes.pdf
Replies
3
Boosts
0
Views
1.1k
Activity
Apr ’17
TextureResource.DrawableQueue broken in VisionOS 2?
I have an input texture in a ShaderGraphMaterial. I use .replace(withDrawables:) to replace the texture with a drawable queue. When I present drawables to this queue, nothing happens in VisionOS 2. The drawables are not presented, I can't get any more via nextDrawable() because the unpresented ones are holding things up. This is with both bgra8Unorm_srgb and rgba16float formats. I have confirmed the material applied to my object has the modified texture resources on them. It was working in VisionOS 1.2. What changed in VisionOS 2 to cause this?
Replies
3
Boosts
0
Views
970
Activity
Jun ’24
TestFlight > Two Step Process for Users
We have our app in TestFlight. To have new users signup requires two steps (not user friendly). The user clicks our link or scans are QR code. They get the page to show they have to download TestFlight and then install our app. Once TestFlight is downloaded and the user opens it, there is no app visible. The user has to click the link or scan the QR code again for it to show up in TestFlight. Has anyone been able to resolve this issue? Or is this just the user experience?
Replies
0
Boosts
0
Views
547
Activity
Sep ’22
StoreKit 2 object
Hello all, Looking for advice on how and when to initialize StoreKit class. Right now in our we create StoreKit object every time a user opens the Plans screen. The idea behind this is that the data is always up to date, so for example user cancels a subscription via Settings and then goes to the app, they will see that a plan is cancelled. But in the docs, Apple says to start to listen for transactions as close as possible to the app launch. Additionally creating StoreKit object multiple times leads a memory leak because of func listenForTransactions() -> Task that contains Task.detached What is the proper way to work with StoreKit 2 object? Should I have only one instance of it and have some sort of sync method to run it every time a user is about to interact with the store or the current implementation is fine? Thanks
Replies
0
Boosts
0
Views
706
Activity
Dec ’22
Xcode 8 beta 2 - provisioning issue
Hello,I get the following error with Xcode 8 beta 2 when I try to build:[appname] has conflicting provisioning settings. [appname] is automatically provisioned for development, but a conflicting code signing identity Developer ID Application has been manually specified. Set the code signing identity value to Mac Developer in the build settings editor, or switch to manual provisioning in the target editor.My code signing identity value already is Mac Developer.It works fine in Xcode 7.3.1anyone know what's going on?
Replies
3
Boosts
0
Views
5.8k
Activity
Jul ’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
Replies
0
Boosts
0
Views
962
Activity
May ’22