Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

165,591 results found

Post

Replies

Boosts

Views

Activity

2 high scores vanished
In my game 854159268 (com.1791entertainment.qugame), in my quMostRecent3 leaderboard, the top 2 entries have 'vanished'. They were there yesterday. I know these players have played today, as I see their scores on other leaderboards. Any ideas how to get these back? These 2 players (me and my tester) are both TestFlight ing - not sure if that changes things.
1
0
1k
Jan ’26
Optimal way to merge 2 apps
Searching for insight on the best and most compliant way to essentially merge two apps. They have the same functionality but one is much more advanced than the other, although the legacy app has a higher user count. Instead of letting both run, we want to push the legacy app an update with the code from the new app and ultimately kill the newer one. What is the best way to do this? Is it allowed to simply push the source code from new app to legacy and update the identifier? We do not wan't to break any app store rules and want to limit the potential of losing users by forcing them to download a new app.
2
0
1.5k
Dec ’23
apple two factor authentication
i went into an apple store back in 2014 and long story short, the apple guy tried to help me by setting my two factor authentication number to one of the demo phones at the store. no idea why he suggested that but it ended up using that phone number as my two factor authentication phone number and i have no idea what it is... im trying to access that email and I guess my question is, who do I contact to reset the two factor authentication? It's acting like the phone number is the only option but there has to be another way.
1
0
323
Feb ’22
Installing beta 2?
I clicked on the update for b2, which took me to the iTunes page to redeem the code, which I did.A few minutes later it brought the installer up. I quit out of the installer as I was in the midst of other work, but when I went back to install the update, it just reinstalled beta1.When I go back to the download page and reenter my download code, it says it's already been redeemed.Why is this so hard to download? I have 3 test machines I want to upgrade, and I'm at a loss of how to download the latest.Would love any insight.- wave
7
0
1.6k
Jul ’16
Reply to xCode Issue
Thanks for asking Claude. Just hard to highlight it. We are getting this Thread 1: EXC_BAD_ACCESS (code=2, address=0x7fff8647d5c8) with this section of the full code: if (strlen(symbol_name) > 1 && strcmp(&symbol_name[1], cur->rebindings[j].name) == 0) { indirect_symbol_bindings[i] = cur->rebindings[j].replacement; // Thread 1: EXC_BAD_ACCESS (code=2, address=0x7fff8647d5c8) goto symbol_loop;
Jan ’22
Comparing two uiTextFields
Dears,How can I compare if the content of two uiTextFields are different to empty?I was tryting to do something like this but I got the following error: Comparing non-optional value of type 'String' to nil always returns trueoverride func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) { self.view.endEditing(true) let apresentacao: String = tfApresentacao.text! let corte: String = tfCorte.text! if apresentacao != nil && corte != nil { calcJornadaTrabalhada() lbEvento.isHidden = false lbTempo.isHidden = false } }Thanks
2
0
772
Oct ’18
Keychain sharing and watchos 2
I am using Xcode 7.0 (7A220), targeting iOS 9.0 and watchOS 2.0.I haven't gotten keychain sharing to work in a watchOS 2 app of my own, but it works in this example project, which is part of my question.There is a good talk from NatashaTheRobot (here) where she goes over keychain sharing with watchOS.(Working code from github here), see for yourself that her iOS app and watch app are able to share via keychain in the simulator.Here's what I have done to her project and it still works:Removed the access group string from the KeychainItemWrapper init method. This makes sense because the simulator isn't code signed and the access group gets deleted in KeychainItemWrapper initWithIdentifier: (checkout the comment in initWithIdentifier:)Removed the identifier string from KeychainItemWrapper initWithIdentifier in both view controllersRemoved the keychain-access-groups key from both entitlements that specifies a keychain access group keyYou can remove these three things and keychain sharin
0
0
991
Sep ’15
TextKit 2 Demo Question
Hi there, I have a small question regards to the TextKit 2 demo app: In macOS / TextDocumentView.swift / viewportBounds(for:) / Line 106 , why compare overdrawRect.minY with max(visibleRect.minY, 0)? Isn’t overdrawRect.minY always the smaller one (as it’s an overdraw rect)? Another question would be, if I'm planning to start working on an application with complex text editing features, would you recommend using NSTextView for now and wait for further updates, or just use the TextKit 2 stack (with CALayers) like the one used in the demo? I really love TextKit 2 and so far the demo seems pretty performant. But I don't know if there is any drawbacks if I build a TextKit 2 stack on my own so I'm looking forward to your advice. Many thanks
0
0
1.1k
Dec ’21
Reply to App review rejected for External payment system
You may have some problem implementing your ‘promo code’ system into Apple’s IAP because they don’t want you to ‘sell’ a promo code and use that sale to get around IAP. For example, purchase the IAP for $10 or buy a promo code for $6 and get the same IAP for $2. So you can’t sell or otherwise get value for a promo code. If you tell App Review that you will not sell promo codes they may allow it. To use a promo code just create 2 identical IAP products with different prices. If the user enters the code offer them the lower priced IAP.
Topic: App & System Services SubTopic: StoreKit Tags:
Feb ’19
Reply to How do I handle duplicated symbols in a loadable NSBundle/plug-in?
Both targets at the same time want to use TDWUtils symbols for their own purposes The best way to handle this depends on the nature of that code. There are two factors: Is the code large? — If it is, you want to take steps to share it rather than ship two copies. What language is the code written in? — Most notably, Objective-C uses a single namespace for its classes, so you can’t load two copies of a class in the process even if you do manage to avoid linker issues. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’23
2 high scores vanished
In my game 854159268 (com.1791entertainment.qugame), in my quMostRecent3 leaderboard, the top 2 entries have 'vanished'. They were there yesterday. I know these players have played today, as I see their scores on other leaderboards. Any ideas how to get these back? These 2 players (me and my tester) are both TestFlight ing - not sure if that changes things.
Replies
1
Boosts
0
Views
1k
Activity
Jan ’26
Optimal way to merge 2 apps
Searching for insight on the best and most compliant way to essentially merge two apps. They have the same functionality but one is much more advanced than the other, although the legacy app has a higher user count. Instead of letting both run, we want to push the legacy app an update with the code from the new app and ultimately kill the newer one. What is the best way to do this? Is it allowed to simply push the source code from new app to legacy and update the identifier? We do not wan't to break any app store rules and want to limit the potential of losing users by forcing them to download a new app.
Replies
2
Boosts
0
Views
1.5k
Activity
Dec ’23
apple two factor authentication
i went into an apple store back in 2014 and long story short, the apple guy tried to help me by setting my two factor authentication number to one of the demo phones at the store. no idea why he suggested that but it ended up using that phone number as my two factor authentication phone number and i have no idea what it is... im trying to access that email and I guess my question is, who do I contact to reset the two factor authentication? It's acting like the phone number is the only option but there has to be another way.
Replies
1
Boosts
0
Views
323
Activity
Feb ’22
Installing beta 2?
I clicked on the update for b2, which took me to the iTunes page to redeem the code, which I did.A few minutes later it brought the installer up. I quit out of the installer as I was in the midst of other work, but when I went back to install the update, it just reinstalled beta1.When I go back to the download page and reenter my download code, it says it's already been redeemed.Why is this so hard to download? I have 3 test machines I want to upgrade, and I'm at a loss of how to download the latest.Would love any insight.- wave
Replies
7
Boosts
0
Views
1.6k
Activity
Jul ’16
Reply to xCode Issue
Thanks for asking Claude. Just hard to highlight it. We are getting this Thread 1: EXC_BAD_ACCESS (code=2, address=0x7fff8647d5c8) with this section of the full code: if (strlen(symbol_name) > 1 && strcmp(&symbol_name[1], cur->rebindings[j].name) == 0) { indirect_symbol_bindings[i] = cur->rebindings[j].replacement; // Thread 1: EXC_BAD_ACCESS (code=2, address=0x7fff8647d5c8) goto symbol_loop;
Replies
Boosts
Views
Activity
Jan ’22
Comparing two uiTextFields
Dears,How can I compare if the content of two uiTextFields are different to empty?I was tryting to do something like this but I got the following error: Comparing non-optional value of type 'String' to nil always returns trueoverride func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) { self.view.endEditing(true) let apresentacao: String = tfApresentacao.text! let corte: String = tfCorte.text! if apresentacao != nil && corte != nil { calcJornadaTrabalhada() lbEvento.isHidden = false lbTempo.isHidden = false } }Thanks
Replies
2
Boosts
0
Views
772
Activity
Oct ’18
Keychain sharing and watchos 2
I am using Xcode 7.0 (7A220), targeting iOS 9.0 and watchOS 2.0.I haven't gotten keychain sharing to work in a watchOS 2 app of my own, but it works in this example project, which is part of my question.There is a good talk from NatashaTheRobot (here) where she goes over keychain sharing with watchOS.(Working code from github here), see for yourself that her iOS app and watch app are able to share via keychain in the simulator.Here's what I have done to her project and it still works:Removed the access group string from the KeychainItemWrapper init method. This makes sense because the simulator isn't code signed and the access group gets deleted in KeychainItemWrapper initWithIdentifier: (checkout the comment in initWithIdentifier:)Removed the identifier string from KeychainItemWrapper initWithIdentifier in both view controllersRemoved the keychain-access-groups key from both entitlements that specifies a keychain access group keyYou can remove these three things and keychain sharin
Replies
0
Boosts
0
Views
991
Activity
Sep ’15
TextKit 2 Demo Question
Hi there, I have a small question regards to the TextKit 2 demo app: In macOS / TextDocumentView.swift / viewportBounds(for:) / Line 106 , why compare overdrawRect.minY with max(visibleRect.minY, 0)? Isn’t overdrawRect.minY always the smaller one (as it’s an overdraw rect)? Another question would be, if I'm planning to start working on an application with complex text editing features, would you recommend using NSTextView for now and wait for further updates, or just use the TextKit 2 stack (with CALayers) like the one used in the demo? I really love TextKit 2 and so far the demo seems pretty performant. But I don't know if there is any drawbacks if I build a TextKit 2 stack on my own so I'm looking forward to your advice. Many thanks
Replies
0
Boosts
0
Views
1.1k
Activity
Dec ’21
Reply to App review rejected for External payment system
You may have some problem implementing your ‘promo code’ system into Apple’s IAP because they don’t want you to ‘sell’ a promo code and use that sale to get around IAP. For example, purchase the IAP for $10 or buy a promo code for $6 and get the same IAP for $2. So you can’t sell or otherwise get value for a promo code. If you tell App Review that you will not sell promo codes they may allow it. To use a promo code just create 2 identical IAP products with different prices. If the user enters the code offer them the lower priced IAP.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Feb ’19
Reply to How do I handle duplicated symbols in a loadable NSBundle/plug-in?
Both targets at the same time want to use TDWUtils symbols for their own purposes The best way to handle this depends on the nature of that code. There are two factors: Is the code large? — If it is, you want to take steps to share it rather than ship two copies. What language is the code written in? — Most notably, Objective-C uses a single namespace for its classes, so you can’t load two copies of a class in the process even if you do manage to avoid linker issues. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’23