Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

167,643 results found

Post

Replies

Boosts

Views

Activity

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
689
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
621
Jun ’15
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
I have two objects colliding that shouldn't be
I have two objects that collide even when they are not moving, and are apart from each other. Now I know it's rude not to include code. But before I start reducing my code to post it up here, at let me describe what's happening with a photo. Maybe I'll get lucky and it's something I'm overlooking since I am still learning. Here are the two screenshots. I had to spilt the link because the forum won't let me post it completely. https ://i.ibb.co/QYHcp3L/Untitled.png In the left shot, everything you see, the two balls, and the left and bottom edges are created where you see them. The only thing I have not done is given the edges their SKPhysicsBodies. The edges purposes are just to keep the balls on screen. My intent is to keep the edges just a little off screen, but the same thing happens. I merely moved them in for the screenshots. But in the right shot, I've just given the edges their physics bodies, isPinned is set to true for the edges and the masks are set so th
2
0
463
Oct ’20
Reply to Problems with randomised array items
You do not show the code where the UILabel is set, so it is difficult to be sure.Do you usevar question = [1+1=2, 2+2=22]somewhere ?But most likely you have a synchronization issue, because UILabel is not updated yet, but code has moved after. That's often the case when you have an alert and try to use the result of the alert outside of the alert code.There are several solution:- using completion handlers- setting semaphoresBut once again, need to see your code first.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’18
Why do I have to wait 2 weeks?
After following the correct procedures to start launching our in house app I get the following message. In House distribution provisioning profiles for this account will be available two weeks after program activation. Why do I have to wait two weeks for this? We really need to launch this app ASAP. Please can someone explain the reason so I can feed back to the business.
8
0
3.0k
May ’16
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.9k
Aug ’20
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
316
Dec ’16
How to merge two projects
Hello,I have two projects. One is written in Swift 3, while the other is written in Objective C. Both compile and run fine.I have tried to add the Objective C project into Swift by adding files to the project. The project won't build because it can't import the bridging header. I have spent two days on this and am certain that I am correctly specifying the location of the bridging header and header files under build settings. I'm now looking for an alternative approach to merging these projects.From Apple: In addition to organizing all the files in each Xcode project, a workspace provides implicit and explicit relationships among the included projects and their targets.Does this mean if I add the two projects to a Workspace that I can build the two targets into one target resulting in one product? I read something about using schemes, but the post wasn't detailed. I'm running Xcode 8 and Swift 3.Thanks!
0
0
1.7k
Oct ’16
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
755
Oct ’15
Two way SSL failed on WatchOS2.1
I was trying to communicate with a service with two way SSL from a watch.I found the connection was cancelled immediately after the client (watch) provide the client certificate, by calling completeHandler(NSURLSessionAuthChallengeUseCredential, credential).The error got is NSURLErrorDomain Code=-999 cancelled.But I've tried run the same piece of code on a phone, it did succeed. Apart from two way ssl, all other requests work fine on the watch.Since, the frameworks on watchOS and iOS are different, I am wondering if that might be an issue for WatchOS? Or is there anything specifically need to be configured for the watch?Cheers.
4
0
917
Feb ’16
watchOS 2 Keychain
I know that with watchOS 2 group containers are no longer allowed however I would like to know if this alos applies to accessGroup for keychain. I did not see any specific mention of this in the Apple Migration Docs. Will keychain with accessGroup still work in watchOS 2 or do we need to figure out some other way to track user login status???
0
0
373
Jun ’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
689
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
621
Activity
Jun ’15
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
I have two objects colliding that shouldn't be
I have two objects that collide even when they are not moving, and are apart from each other. Now I know it's rude not to include code. But before I start reducing my code to post it up here, at let me describe what's happening with a photo. Maybe I'll get lucky and it's something I'm overlooking since I am still learning. Here are the two screenshots. I had to spilt the link because the forum won't let me post it completely. https ://i.ibb.co/QYHcp3L/Untitled.png In the left shot, everything you see, the two balls, and the left and bottom edges are created where you see them. The only thing I have not done is given the edges their SKPhysicsBodies. The edges purposes are just to keep the balls on screen. My intent is to keep the edges just a little off screen, but the same thing happens. I merely moved them in for the screenshots. But in the right shot, I've just given the edges their physics bodies, isPinned is set to true for the edges and the masks are set so th
Replies
2
Boosts
0
Views
463
Activity
Oct ’20
Reply to Problems with randomised array items
You do not show the code where the UILabel is set, so it is difficult to be sure.Do you usevar question = [1+1=2, 2+2=22]somewhere ?But most likely you have a synchronization issue, because UILabel is not updated yet, but code has moved after. That's often the case when you have an alert and try to use the result of the alert outside of the alert code.There are several solution:- using completion handlers- setting semaphoresBut once again, need to see your code first.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’18
Why do I have to wait 2 weeks?
After following the correct procedures to start launching our in house app I get the following message. In House distribution provisioning profiles for this account will be available two weeks after program activation. Why do I have to wait two weeks for this? We really need to launch this app ASAP. Please can someone explain the reason so I can feed back to the business.
Replies
8
Boosts
0
Views
3.0k
Activity
May ’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.6k
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.6k
Activity
Jun ’20
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.9k
Activity
Aug ’20
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
316
Activity
Dec ’16
How to merge two projects
Hello,I have two projects. One is written in Swift 3, while the other is written in Objective C. Both compile and run fine.I have tried to add the Objective C project into Swift by adding files to the project. The project won't build because it can't import the bridging header. I have spent two days on this and am certain that I am correctly specifying the location of the bridging header and header files under build settings. I'm now looking for an alternative approach to merging these projects.From Apple: In addition to organizing all the files in each Xcode project, a workspace provides implicit and explicit relationships among the included projects and their targets.Does this mean if I add the two projects to a Workspace that I can build the two targets into one target resulting in one product? I read something about using schemes, but the post wasn't detailed. I'm running Xcode 8 and Swift 3.Thanks!
Replies
0
Boosts
0
Views
1.7k
Activity
Oct ’16
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
755
Activity
Oct ’15
Two way SSL failed on WatchOS2.1
I was trying to communicate with a service with two way SSL from a watch.I found the connection was cancelled immediately after the client (watch) provide the client certificate, by calling completeHandler(NSURLSessionAuthChallengeUseCredential, credential).The error got is NSURLErrorDomain Code=-999 cancelled.But I've tried run the same piece of code on a phone, it did succeed. Apart from two way ssl, all other requests work fine on the watch.Since, the frameworks on watchOS and iOS are different, I am wondering if that might be an issue for WatchOS? Or is there anything specifically need to be configured for the watch?Cheers.
Replies
4
Boosts
0
Views
917
Activity
Feb ’16
watchOS 2 Keychain
I know that with watchOS 2 group containers are no longer allowed however I would like to know if this alos applies to accessGroup for keychain. I did not see any specific mention of this in the Apple Migration Docs. Will keychain with accessGroup still work in watchOS 2 or do we need to figure out some other way to track user login status???
Replies
0
Boosts
0
Views
373
Activity
Jun ’15