Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

165,590 results found

Post

Replies

Boosts

Views

Activity

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.3k
Sep ’21
AVFoundationErrorDomain Code=-11800 NSOSStatusErrorDomain Code=-42800
Hello I am working on a project that supports Download and Play on Fairplay encrypted videos and I have the above error. Error Domain=AVFoundationErrorDomain Code=-11800 The operation could not be completed UserInfo={NSLocalizedFailureReason=An unknown error occurred (-42800), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x28189d470 {Error Domain=NSOSStatusErrorDomain Code=-42800 (null)}} The weird is that the first 2 days the downloaded asset plays correctly, but after 2 days I get this error and the stream isn't working. (Might have nothing to do with the problem) The file is .movpkg and the path is correct. I would like to know what -42800 means. And how can I fix it.
1
0
4.4k
Jul ’20
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
690
Dec ’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
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
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
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
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
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
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
318
Dec ’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.3k
Activity
Sep ’21
AVFoundationErrorDomain Code=-11800 NSOSStatusErrorDomain Code=-42800
Hello I am working on a project that supports Download and Play on Fairplay encrypted videos and I have the above error. Error Domain=AVFoundationErrorDomain Code=-11800 The operation could not be completed UserInfo={NSLocalizedFailureReason=An unknown error occurred (-42800), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x28189d470 {Error Domain=NSOSStatusErrorDomain Code=-42800 (null)}} The weird is that the first 2 days the downloaded asset plays correctly, but after 2 days I get this error and the stream isn't working. (Might have nothing to do with the problem) The file is .movpkg and the path is correct. I would like to know what -42800 means. And how can I fix it.
Replies
1
Boosts
0
Views
4.4k
Activity
Jul ’20
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
690
Activity
Dec ’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
Replies
5
Boosts
0
Views
2k
Activity
Jun ’19
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
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
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
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
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
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
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
318
Activity
Dec ’16