Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,351 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
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
683
Dec ’20
Apple Configurator 2
Having issues in version 2 - we only use this software in our corporate environment in order to wipe any devices that ex-employees leave logged in to iCloud. We've had no success in version 2 however in wiping or restoring the phones and always get the activation lock message on startup. The test device is supervised and our profile is applied to the phone which only sets up the wifi and prevents removal unless a password is entered. Another thing we can't get working is a 'verified' signed profile, whether this is causing issues with the first problem we don't know. Any help would be appreciated as there's little documentation on version 2. Thanks.
1
0
753
Oct ’15
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
611
Jun ’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
Odd error with Configurator 2
I've got an odd issue with Configurator 2 when trying to build new iPads. I've fully updated the Mac and apps. The iPad downloads and installs the latest OS happily, but when I try to prepare, add a profile or add a wallpaper, it throws up this error. An unexpected error has occurred with iPad. The operation couldn't be completed. (NSMachErrorDomain - 0xFFFFFFFFFFFFFF (-1) [sys = 0x3F, sub = 0xFFF, code = 0x3FFF (16383)])(NSMachErrorDomain - 0xFFFFFFFFFFFFFF (-1) [sys = 0x3F, sub = 0xFFF, code = 0x3FFF (16383)]) Any help would be hugely appreciated!
1
0
1.8k
Aug ’20
beta 2 UIDocumentBrowserViewController is broken
Since feedback assitant does not allow bug reports in beta-2, I'll drop this here.Howdy, I just installed Xcode 11 beta 2, and ran my slightly modified version of the UIDocumentBrowserViewController-based template app, which was working the last time I tried it. However, in Xcode 11 beta 2, in the iPad simulator, it no longer works. I have another app which uses the same template, but had been modified to click the checkbox and run for Mac, and it has the same trouble.Here are the error logs[DocumentManager] Failed to get the remote browser View Controller with error (Error Domain=NSCocoaErrorDomain Code=4097 connection on anonymousListener or serviceListener from pid #### UserInfo={NSDebugDescription=connection on anonymousListener or serviceListener from pid ####})[DocumentManager] Remote view controller crashed with error: Error Domain=NSCocoaErrorDomain Code=4097 connection on anonymousListener or serviceListener from pid #### UserInfo={NSDebugDescription=conne
5
0
2k
Jun ’19
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
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
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
HTTP 2 support?
Any news on http/2 support for APNS ? It was announced at last WWDC.
Replies
0
Boosts
0
Views
328
Activity
Oct ’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
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
683
Activity
Dec ’20
Apple Configurator 2
Having issues in version 2 - we only use this software in our corporate environment in order to wipe any devices that ex-employees leave logged in to iCloud. We've had no success in version 2 however in wiping or restoring the phones and always get the activation lock message on startup. The test device is supervised and our profile is applied to the phone which only sets up the wifi and prevents removal unless a password is entered. Another thing we can't get working is a 'verified' signed profile, whether this is causing issues with the first problem we don't know. Any help would be appreciated as there's little documentation on version 2. Thanks.
Replies
1
Boosts
0
Views
753
Activity
Oct ’15
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
611
Activity
Jun ’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
Odd error with Configurator 2
I've got an odd issue with Configurator 2 when trying to build new iPads. I've fully updated the Mac and apps. The iPad downloads and installs the latest OS happily, but when I try to prepare, add a profile or add a wallpaper, it throws up this error. An unexpected error has occurred with iPad. The operation couldn't be completed. (NSMachErrorDomain - 0xFFFFFFFFFFFFFF (-1) [sys = 0x3F, sub = 0xFFF, code = 0x3FFF (16383)])(NSMachErrorDomain - 0xFFFFFFFFFFFFFF (-1) [sys = 0x3F, sub = 0xFFF, code = 0x3FFF (16383)]) Any help would be hugely appreciated!
Replies
1
Boosts
0
Views
1.8k
Activity
Aug ’20
2 app on store
hi, is it possible have the same app with 2 names in appstore and different icons and splash screen?
Replies
3
Boosts
0
Views
858
Activity
Jun ’20
Distance between 2 ARAnchors
Is there an easy function to determine distance betwwwn 2 aranchors or the underlying matrix_float4x4 they use?Thank you!
Replies
1
Boosts
0
Views
584
Activity
Jun ’17
beta 2 UIDocumentBrowserViewController is broken
Since feedback assitant does not allow bug reports in beta-2, I'll drop this here.Howdy, I just installed Xcode 11 beta 2, and ran my slightly modified version of the UIDocumentBrowserViewController-based template app, which was working the last time I tried it. However, in Xcode 11 beta 2, in the iPad simulator, it no longer works. I have another app which uses the same template, but had been modified to click the checkbox and run for Mac, and it has the same trouble.Here are the error logs[DocumentManager] Failed to get the remote browser View Controller with error (Error Domain=NSCocoaErrorDomain Code=4097 connection on anonymousListener or serviceListener from pid #### UserInfo={NSDebugDescription=connection on anonymousListener or serviceListener from pid ####})[DocumentManager] Remote view controller crashed with error: Error Domain=NSCocoaErrorDomain Code=4097 connection on anonymousListener or serviceListener from pid #### UserInfo={NSDebugDescription=conne
Replies
5
Boosts
0
Views
2k
Activity
Jun ’19
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
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
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
Universal 2 Binaries
How is a Universal 2 binary different than the original Universal binary? Why is a new format needed?
Replies
2
Boosts
0
Views
3.5k
Activity
Jun ’20