Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

167,635 results found

Post

Replies

Boosts

Views

Activity

Getting two searchBar in iOS 26.0
Hi team, while i am using below code, i am getting two searchBar at top & bottom. Kindly refer below code & attached image Code: override func viewDidLoad() { super.viewDidLoad() title = Test Data setupSearchData() DispatchQueue.main.asyncAfter(deadline: .now() + 2) { self.setupSearchData() } } func setupSearchData() { navigationController?.navigationBar.prefersLargeTitles = false let searchController = UISearchController(searchResultsController: nil) navigationItem.searchController = searchController } It is working fine for other iOS versions. In my real useCase, i will refresh screen after API completed, then this issue occurred in my app.
2
0
185
Jul ’25
Can't convert to Swift 2
I spent 4 hours last night attempting to solve these two errors that I get when trying to convert my swift 1.2 project to swift 2. I have tried a variety of answers that I came across while googeling involving duplicate certificates, bitcode settings, compiler optimization level's etc. I'm still having no luck converting my project. Any help would be much appreciated.Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1ditto: can't get real path for source '/Users/tracepomplun/Library/Developer/Xcode/DerivedData/joann-abcfteuqtvsfmjbkykjrgrttcxsq/Build/Intermediates/SwiftMigration/joann/Intermediates/joann.build/Debug-iphonesimulator/joann.build/Objects-normal/i386/joann-Swift.h'Command /usr/bin/ditto failed with exit code 1
3
0
1.3k
Sep ’15
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
194
Sep ’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
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
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
361
Sep ’16
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
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
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
Getting two searchBar in iOS 26.0
Hi team, while i am using below code, i am getting two searchBar at top & bottom. Kindly refer below code & attached image Code: override func viewDidLoad() { super.viewDidLoad() title = Test Data setupSearchData() DispatchQueue.main.asyncAfter(deadline: .now() + 2) { self.setupSearchData() } } func setupSearchData() { navigationController?.navigationBar.prefersLargeTitles = false let searchController = UISearchController(searchResultsController: nil) navigationItem.searchController = searchController } It is working fine for other iOS versions. In my real useCase, i will refresh screen after API completed, then this issue occurred in my app.
Replies
2
Boosts
0
Views
185
Activity
Jul ’25
Reply to iOS: "Sign in with Apple" state does not restore after app restart
ps: i'm getting two conflicting messages: Credential State request returned with error: Error Domain=AKAuthenticationError Code=-7073 this is printed to the console and credentialState 2, error Domain=com.apple.AuthenticationServices.AuthorizationError Code=1000 (null) this is the error message i'm getting back in the callback (different codes? why?)
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’20
Can't convert to Swift 2
I spent 4 hours last night attempting to solve these two errors that I get when trying to convert my swift 1.2 project to swift 2. I have tried a variety of answers that I came across while googeling involving duplicate certificates, bitcode settings, compiler optimization level's etc. I'm still having no luck converting my project. Any help would be much appreciated.Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1ditto: can't get real path for source '/Users/tracepomplun/Library/Developer/Xcode/DerivedData/joann-abcfteuqtvsfmjbkykjrgrttcxsq/Build/Intermediates/SwiftMigration/joann/Intermediates/joann.build/Debug-iphonesimulator/joann.build/Objects-normal/i386/joann-Swift.h'Command /usr/bin/ditto failed with exit code 1
Replies
3
Boosts
0
Views
1.3k
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
Xbox Elite 2
Will we be able to use the Xbox elite 2 on the next iOS update
Replies
1
Boosts
0
Views
1.1k
Activity
Jun ’20
watchOS beta 2?
Anybody knows if wachtOS beta 2 comes today?
Replies
3
Boosts
0
Views
1.3k
Activity
Jun ’15
Multitasking with any two apps
Will appLe ever make it so you can multi task with any two apps
Replies
4
Boosts
0
Views
645
Activity
Sep ’15
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
194
Activity
Sep ’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
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
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
361
Activity
Sep ’16
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
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
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
HTTP 2 support?
Any news on http/2 support for APNS ? It was announced at last WWDC.
Replies
0
Boosts
0
Views
331
Activity
Oct ’15