Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

164,071 results found

Post

Replies

Boosts

Views

Activity

URLSession for HTTP/2
I'm confused on how to initiate an HTTP/2 session. I keep seeing that URLSession supports it, but I don't know what that means. I'm on a mac (not iOS) and I've got all the code already to encode/decode the frames that the spec describes. Now I want to make a connection to the APNS server. I'm assuming I need to call the streamTask(withHostName:port:) method to get the bidirectional data stream? Right after the streamTask constructor I called startSecureConnection() but it doesn't look like the session delegate's challenge method was ever called.Let's assume that was working though. Would I then call captureStreams() at that point to get the InputStream and OutputStream items to then read and write to?
5
0
11k
Jan ’18
two-factor authentication
Hi. I can't enable two-factor authentication for my account. There is no such option on my iphone and ipad. When I try to enable it on my macbook pro, it show me the the message that two-factor authentication is not available for my apple id this time.I called to apple support but they said that I have deleveloper account and I should ask my quetion hereThanks
0
0
355
Sep ’16
Transaction.latest(for:) returns nil in StoreKit 2
Using the Implementing a Store In Your App Using the StoreKit API sample code, I've successfully integrated my new APP with StoreKit 2. There is one problem though: when I call the method Transaction.latest(for:) to get the user’s latest transaction, it always returns nil. Here's the code snippet: guard let result = await Transaction.latest(for: myProductId) else { return false } Is this a bug with StoreKit 2, or am I doing something wrong? This happens on a physical device, running from Xcode. Thanks in advance.
4
0
2.2k
Sep ’21
2 queries on Dialer app..
I have 2 generic queries based on a mobile dialer concept which I am having for iOS. So before I start the coding I need you experts advice here... Your views and suggestions will be appreciable.This app about which I am asking is on an iOS phone dialer concept.1) Is it possible for me to code a dialer app which can fetch the call logs from the phone and display on my app2) If the above can be done, is it possible to dial back to a number from the call log displayed on my app. Will that call mature and dial out by getting passed on to the phone from the app?
0
0
192
Sep ’15
Two factor verification problem.
I have a huge problem with two factor verification for Apple ID. I decided to install El Capitan Public Beta on my second Mac. When it was installed it offered me to turn on this two factor verification for my Apple ID. So I accepted it. Later I decided to bring my Yosemite back and delete El Capitan's Public Beta and then I got a trouble. I couldn't sign in with iTunes on all my devices because it showed me an error Error description not available. So I went to Apple ID managing web site trying turn two factor verification off but it started asking for verification code which I couldn't receive. So I asked it to sent an SMS or call to my phone which it asked before. But I didn't receive anything. After that I realized that that's all because two factor verification is not available for my country (Ukraine) yet, but why was it offering me that then. So I don't know what to do with that now. I still don't have permission to my iTunes, AppStore, Apple Music. Please h
10
0
4.7k
Aug ’15
Xcode 9.1 beta 2 (9B46): Autocomplete broken, no source code syntax error annotations, and no edit all in scope
I'm working with an existing Xcode workspace from Xcode 9 on 9.1 beta 2. My minimum target is iOS 9.0 for this project. This is in Swift and Objective-C source files. These problems all seem related to code parsing/build image processing. Here's each problem I've noticed:1. If I try to use auto complete on a property in code, such as self.searchController, I don't get any autocompletions on typing the period in self. or at the end of self.searchController.. The autocomplete keyboard shortcut doesn't help either. The tooltip says No Completions, even though the code builds with a valid property after self.searchController, such as self.searchController.searchResultsUpdater.2. If I type self. it doesn't show me the red syntax error in the gutter on the editor window. If I build, I get the expected build error.3. I no longer get the edit all-in-scope functionality. There used to be a dropdown arrow that no longer appears and the button on the touchbar for the same doe
1
0
1.4k
Oct ’17
Reply to bindings with custom fieldeditor problem
The sample code does two things you're missing:Boy did I feel stupid after reading that comment 😟I did read the documentation but for some reason I missed those 2 critical lines of code.1. It sets the fieldEditor property to YES.2. It creates one field editor and caches itAs it seems both are required!It now works as expected
Topic: UI Frameworks SubTopic: AppKit Tags:
Jun ’17
DTK - Force using rosetta 2
I have manually installed rosetta 2. I have updated an application to a known working build that removes some low level code that could not be run using rosetta 2. (FL Studio) The app still doesn't work for me. I have tried going to the application and get info. To tick the use rosetta 2. However it is not there. I am therefore highly confused as to how I can get this tick box to appear so I can get FL Studio to work on my DTK. I tried downloading a different app and in the get info the tick box for rosetta 2 is there. But not on FLStudio??
0
0
686
Dec ’20
How to update from watchOS 2 beta to watchOS 2 Final
Hi everyoneWhen the final version is released to the public of watchOS 2, how will the update work from the GM?Usually, on iOS when upgrading from the GM to final, you download the APK off itunes servers, plug it into itunes and update it.On Mac, you just redownload the installer from the app store and install it.How will this work on watchOS since you cannot use a manual file and im guessing it wont read the full update from a GM if you know what im trying to say 🙂
1
0
615
Jun ’15
How 2 get constraint to fix pos twix 2 widgets
Using XCode: Version 8.2.1 (8C1002)I have a view that contains several UIImage views and several TextFields. One UIImageView sits in the lower left part of the view near the alignment guides. Above that UIImageView sits a TextField whose bottom edge should be 4 pixels above the UIImageView's top edge. So I set a vertical constraint as:Constant <= 4Priority = 750Multiplier = 1//-------------------------------------------- //| enclosing_view //| // // // // // // ------------ // | 00 | // |___________| // <constraint is here> // ------------- // | | // | image_view | // |____________| // //|_____________________________________________This is in the smallest device view (iPhone 4s). As I go up the device views the TextField jumps to near the center of the view. The constraint has jummped to over 70 pixels! This is the only constraint on the entire ViewController. That does mean I'm missing some constraints but this is the ONLY constraint! What could be overridding the <= 4?So two questions:
0
0
313
Dec ’16
Multitasking with any two apps
Will appLe ever make it so you can multi task with any two apps
Replies
4
Boosts
0
Views
643
Activity
Sep ’15
Reply to Multiple instances of println() vs. a single instance
Your 2 version is considered clearer code by many, but for the compiler and the generated code there is no difference.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’15
URLSession for HTTP/2
I'm confused on how to initiate an HTTP/2 session. I keep seeing that URLSession supports it, but I don't know what that means. I'm on a mac (not iOS) and I've got all the code already to encode/decode the frames that the spec describes. Now I want to make a connection to the APNS server. I'm assuming I need to call the streamTask(withHostName:port:) method to get the bidirectional data stream? Right after the streamTask constructor I called startSecureConnection() but it doesn't look like the session delegate's challenge method was ever called.Let's assume that was working though. Would I then call captureStreams() at that point to get the InputStream and OutputStream items to then read and write to?
Replies
5
Boosts
0
Views
11k
Activity
Jan ’18
two-factor authentication
Hi. I can't enable two-factor authentication for my account. There is no such option on my iphone and ipad. When I try to enable it on my macbook pro, it show me the the message that two-factor authentication is not available for my apple id this time.I called to apple support but they said that I have deleveloper account and I should ask my quetion hereThanks
Replies
0
Boosts
0
Views
355
Activity
Sep ’16
Transaction.latest(for:) returns nil in StoreKit 2
Using the Implementing a Store In Your App Using the StoreKit API sample code, I've successfully integrated my new APP with StoreKit 2. There is one problem though: when I call the method Transaction.latest(for:) to get the user’s latest transaction, it always returns nil. Here's the code snippet: guard let result = await Transaction.latest(for: myProductId) else { return false } Is this a bug with StoreKit 2, or am I doing something wrong? This happens on a physical device, running from Xcode. Thanks in advance.
Replies
4
Boosts
0
Views
2.2k
Activity
Sep ’21
2 queries on Dialer app..
I have 2 generic queries based on a mobile dialer concept which I am having for iOS. So before I start the coding I need you experts advice here... Your views and suggestions will be appreciable.This app about which I am asking is on an iOS phone dialer concept.1) Is it possible for me to code a dialer app which can fetch the call logs from the phone and display on my app2) If the above can be done, is it possible to dial back to a number from the call log displayed on my app. Will that call mature and dial out by getting passed on to the phone from the app?
Replies
0
Boosts
0
Views
192
Activity
Sep ’15
HTTP 2 support?
Any news on http/2 support for APNS ? It was announced at last WWDC.
Replies
0
Boosts
0
Views
329
Activity
Oct ’15
Two factor verification problem.
I have a huge problem with two factor verification for Apple ID. I decided to install El Capitan Public Beta on my second Mac. When it was installed it offered me to turn on this two factor verification for my Apple ID. So I accepted it. Later I decided to bring my Yosemite back and delete El Capitan's Public Beta and then I got a trouble. I couldn't sign in with iTunes on all my devices because it showed me an error Error description not available. So I went to Apple ID managing web site trying turn two factor verification off but it started asking for verification code which I couldn't receive. So I asked it to sent an SMS or call to my phone which it asked before. But I didn't receive anything. After that I realized that that's all because two factor verification is not available for my country (Ukraine) yet, but why was it offering me that then. So I don't know what to do with that now. I still don't have permission to my iTunes, AppStore, Apple Music. Please h
Replies
10
Boosts
0
Views
4.7k
Activity
Aug ’15
Xcode 9.1 beta 2 (9B46): Autocomplete broken, no source code syntax error annotations, and no edit all in scope
I'm working with an existing Xcode workspace from Xcode 9 on 9.1 beta 2. My minimum target is iOS 9.0 for this project. This is in Swift and Objective-C source files. These problems all seem related to code parsing/build image processing. Here's each problem I've noticed:1. If I try to use auto complete on a property in code, such as self.searchController, I don't get any autocompletions on typing the period in self. or at the end of self.searchController.. The autocomplete keyboard shortcut doesn't help either. The tooltip says No Completions, even though the code builds with a valid property after self.searchController, such as self.searchController.searchResultsUpdater.2. If I type self. it doesn't show me the red syntax error in the gutter on the editor window. If I build, I get the expected build error.3. I no longer get the edit all-in-scope functionality. There used to be a dropdown arrow that no longer appears and the button on the touchbar for the same doe
Replies
1
Boosts
0
Views
1.4k
Activity
Oct ’17
Reply to bindings with custom fieldeditor problem
The sample code does two things you're missing:Boy did I feel stupid after reading that comment 😟I did read the documentation but for some reason I missed those 2 critical lines of code.1. It sets the fieldEditor property to YES.2. It creates one field editor and caches itAs it seems both are required!It now works as expected
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Jun ’17
DTK - Force using rosetta 2
I have manually installed rosetta 2. I have updated an application to a known working build that removes some low level code that could not be run using rosetta 2. (FL Studio) The app still doesn't work for me. I have tried going to the application and get info. To tick the use rosetta 2. However it is not there. I am therefore highly confused as to how I can get this tick box to appear so I can get FL Studio to work on my DTK. I tried downloading a different app and in the get info the tick box for rosetta 2 is there. But not on FLStudio??
Replies
0
Boosts
0
Views
686
Activity
Dec ’20
Reply to Xcode error with SpriteKit
I would just switch that view.center code to any other CGPoint value. You could useCGPoint(x: self.view.bounds.size.width / 2, y: self.view.bounds.size.height / 2 )
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Dec ’16
How to update from watchOS 2 beta to watchOS 2 Final
Hi everyoneWhen the final version is released to the public of watchOS 2, how will the update work from the GM?Usually, on iOS when upgrading from the GM to final, you download the APK off itunes servers, plug it into itunes and update it.On Mac, you just redownload the installer from the app store and install it.How will this work on watchOS since you cannot use a manual file and im guessing it wont read the full update from a GM if you know what im trying to say 🙂
Replies
1
Boosts
0
Views
615
Activity
Jun ’15
How 2 get constraint to fix pos twix 2 widgets
Using XCode: Version 8.2.1 (8C1002)I have a view that contains several UIImage views and several TextFields. One UIImageView sits in the lower left part of the view near the alignment guides. Above that UIImageView sits a TextField whose bottom edge should be 4 pixels above the UIImageView's top edge. So I set a vertical constraint as:Constant <= 4Priority = 750Multiplier = 1//-------------------------------------------- //| enclosing_view //| // // // // // // ------------ // | 00 | // |___________| // <constraint is here> // ------------- // | | // | image_view | // |____________| // //|_____________________________________________This is in the smallest device view (iPhone 4s). As I go up the device views the TextField jumps to near the center of the view. The constraint has jummped to over 70 pixels! This is the only constraint on the entire ViewController. That does mean I'm missing some constraints but this is the ONLY constraint! What could be overridding the <= 4?So two questions:
Replies
0
Boosts
0
Views
313
Activity
Dec ’16
two Xcode version
Is it possible to have two xcode version on mac in high sierra, if yes how? ,Thanx in advance.
Replies
4
Boosts
0
Views
1.5k
Activity
Mar ’18