Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

165,591 results found

Post

Replies

Boosts

Views

Activity

Beta 2 Unresponsive
My watch has become completely unresponsive since upgrading to beta 2.First, the battery got low very quickly after just a few hours of use, after charging it, it restarted itself and showed the Apple Logo for a long time, now the screen is blank and the buttons are completely unresponsive (even when trying to force restart it), although my iPhone seems to be connected to it still.
3
0
634
Jun ’17
HTTP/2 Provider API
I'm trying to update my APNS provider server to use the new HTTP/2 API. I've got the TLS1.2 connection establishing fine, but I'm having difficulties getting a valid response from the server. I think this may be because the HTTP client library I'm using doesn't support the new HTTP/2 protocol. Is the new API HTTP/2 only as in it is not backwards compatible with HTTP/1.1? Is is possible to still send the POST request with an HTTP/1.1 library? I thought I've read that HTTP/2 should be backwards compatible.Any help appreciated,Jonathan
1
0
1.7k
Dec ’15
2 factor authentication and find-my login
I try to develop a software which connects to the find-my network to locate devices attached to my Apple-ID. This should pe possible using web requests. For example I post a request with my credentials to: https://setup.icloud.com/setup/ws/1/login This is working in the first step, but now I'm facing the problem that 2 factor authentication is to be used for logging in. Can someone help me/show me next steps in the login process via web request for 2 factor authentication? (Of course I receive the login authentication code on my apple devices) Thanks in advance ...
0
0
468
Apr ’21
2 problems with FileImporter and FileExporter modifier
Hi! I have two problems with FileImport and FileExporter Every time the file modal has been closed I get in the console this error/warning [DocumentManager] The view service did terminate with error: Error Domain=_UIViewServiceErrorDomain Code=1 (null) UserInfo={Terminated=disconnect method} The modal for FileExporter shows the label Move, why? I'm creating a new file, not moving an existing one, since there is already the modifier FileMover. Is it correct? Can't be confusing for a user to see the label Move? Am I using it in the wrong way? Can please someone help me with these two problems?
4
0
2.7k
Nov ’22
4:2:2, 4:4:4 or RAW video recording under iOS?
Doing 4 : 2 : 0 video recording using the built-in iPhone or iPad camera is not a problem, but how does one get 4:2:2, 4:4:4, RGB or RAW video access? Using the still camera mode for this is way too slow. Yes, the integrated HW encoder may not handle those modes but the SoCs now are fast enough for full HD and even 4K software encoding using the ARM and cores and the GPU to handle 4K60 @ 4:2:2 10bit and better. Even burst recordings of uncompressed would be very interesting. But how is this done. Tried all. Failed. Help, please!
0
0
846
Jun ’21
Paying at once for two different apps
Hi, I have two free apps in two different app store accounts. Each app has its own premium subscription. I would like to let the user pay at once for the two subscriptions. The payment should be using Apple. The apps are not Reader apps. When a user will buy a subscription inside one of the apps he/she will get a subscription for the other app automatically. Will it be an infringement of Apple's Guidelines? If not, what will be the best way to do so? Thanks in advance.
0
0
373
Jan ’21
Code Sign
Hi! I found a thread on the Apple forum about Code Sign/cdhashes, and there's a part where say Also note that you'll get different values for each architecture. The example above was run on Intel, and so you get the Intel architecture's cdhash. To get the Apple silicon one, specify the --arch argument In my code, I have a dictionary with the value of cdhashes of myapp in arm64 and I test this value, but I would like to know if there is a way to receive this cdhashes with the two architectures x86_64 and arm64 by the xcode code itself, just in case run on another architecture, keep working
0
0
257
Apr ’22
IPC between two processes
I am looking for a solution to transfer data between two completely separate processes (not from the same group). I did a lot of research, but the solutions were mostly for processes that are in a group. Is there a method? (It doesn't matter if the app is sandboxed, I can disable it). My goal is to communicate between a bundle(plugin) that is activated on the Mac login page and an XPC service and transfer data from the service to the bundle.
3
0
1.5k
Dec ’23
Move 2 UIImageview and repeating
Hey guys, I am new to code :) but not exactly that much new coz My first app is getting to be done to post to appstore :) Just little problem Using x-code and UIKit, I want to repeat 2 images for background of my app. I used a cadisplaylink timer to move them, and it is working, after the image1 goes offscreen, I remake it in new position and it is positioned right next to image2 but after 3 or 4 time of positioning, the images start to have distance between each other.How can I have them stick together again? if (bGround1.frame.origin.x <= -viewWidth) { bGround1.frame = CGRectMake (viewWidth, 0, bGround1.frame.size.width, bGround1.frame.size.height);} if (bGround2.frame.origin.x <= -viewWidth) { bGround2.frame = CGRectMake (viewWidth, 0, bGround2.frame.size.width, bGround2.frame.size.height);} Image link : http://i.stack.imgur.com/B72UY.png Plz tell me ifmore details are needed. Thanks for any help :)
0
0
386
Nov ’15
What is the order of didMoveToWindow for two views?
What is the calling order of didMoveToWindow for two views after switching between two ViewControllers. In my project,we need get the property of view.window to prejucduce if the view is in the window,when one ViewController transform to another viewController。 We would like to know how this behavior is defined
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
751
Jun ’23
Swift 2 closure with throw
Hello guys,While using Swift 2 I got one problem – how to throw inside closure of function. Example:// this func can't be changed and modifiedfunc httpRequest(param:String, completionHTTP:(result:String) -> Void){ completionHTTP(result:some result)}// this func can be changed and modifiedfunc myFunc() throws { httpRequest(param1) { (result) -> Void in throw NSError(domain: MyDomain, code: 0, userInfo: [NSLocalizedDescriptionKey: Error description]) }}myFunc - gives error of invalid conversion from thowing function to non-throwing functionHow can I call throw inside of closure of non-throwing func?
10
0
3.6k
Aug ’15
Handling failed transactions in Storekit 2
When simulating a Storekit error like an invalid device verification or others of that type, should we finish a failed transaction? When I test with a storekit configuration file, all failed transactions persist after every restart. The Apple-provided sample code for storekit 2 has transactions finished only when they are successful.
Replies
2
Boosts
0
Views
730
Activity
Jan ’25
Beta 2 Unresponsive
My watch has become completely unresponsive since upgrading to beta 2.First, the battery got low very quickly after just a few hours of use, after charging it, it restarted itself and showed the Apple Logo for a long time, now the screen is blank and the buttons are completely unresponsive (even when trying to force restart it), although my iPhone seems to be connected to it still.
Replies
3
Boosts
0
Views
634
Activity
Jun ’17
HTTP/2 Provider API
I'm trying to update my APNS provider server to use the new HTTP/2 API. I've got the TLS1.2 connection establishing fine, but I'm having difficulties getting a valid response from the server. I think this may be because the HTTP client library I'm using doesn't support the new HTTP/2 protocol. Is the new API HTTP/2 only as in it is not backwards compatible with HTTP/1.1? Is is possible to still send the POST request with an HTTP/1.1 library? I thought I've read that HTTP/2 should be backwards compatible.Any help appreciated,Jonathan
Replies
1
Boosts
0
Views
1.7k
Activity
Dec ’15
2 factor authentication and find-my login
I try to develop a software which connects to the find-my network to locate devices attached to my Apple-ID. This should pe possible using web requests. For example I post a request with my credentials to: https://setup.icloud.com/setup/ws/1/login This is working in the first step, but now I'm facing the problem that 2 factor authentication is to be used for logging in. Can someone help me/show me next steps in the login process via web request for 2 factor authentication? (Of course I receive the login authentication code on my apple devices) Thanks in advance ...
Replies
0
Boosts
0
Views
468
Activity
Apr ’21
2 problems with FileImporter and FileExporter modifier
Hi! I have two problems with FileImport and FileExporter Every time the file modal has been closed I get in the console this error/warning [DocumentManager] The view service did terminate with error: Error Domain=_UIViewServiceErrorDomain Code=1 (null) UserInfo={Terminated=disconnect method} The modal for FileExporter shows the label Move, why? I'm creating a new file, not moving an existing one, since there is already the modifier FileMover. Is it correct? Can't be confusing for a user to see the label Move? Am I using it in the wrong way? Can please someone help me with these two problems?
Replies
4
Boosts
0
Views
2.7k
Activity
Nov ’22
4:2:2, 4:4:4 or RAW video recording under iOS?
Doing 4 : 2 : 0 video recording using the built-in iPhone or iPad camera is not a problem, but how does one get 4:2:2, 4:4:4, RGB or RAW video access? Using the still camera mode for this is way too slow. Yes, the integrated HW encoder may not handle those modes but the SoCs now are fast enough for full HD and even 4K software encoding using the ARM and cores and the GPU to handle 4K60 @ 4:2:2 10bit and better. Even burst recordings of uncompressed would be very interesting. But how is this done. Tried all. Failed. Help, please!
Replies
0
Boosts
0
Views
846
Activity
Jun ’21
Paying at once for two different apps
Hi, I have two free apps in two different app store accounts. Each app has its own premium subscription. I would like to let the user pay at once for the two subscriptions. The payment should be using Apple. The apps are not Reader apps. When a user will buy a subscription inside one of the apps he/she will get a subscription for the other app automatically. Will it be an infringement of Apple's Guidelines? If not, what will be the best way to do so? Thanks in advance.
Replies
0
Boosts
0
Views
373
Activity
Jan ’21
Code Sign
Hi! I found a thread on the Apple forum about Code Sign/cdhashes, and there's a part where say Also note that you'll get different values for each architecture. The example above was run on Intel, and so you get the Intel architecture's cdhash. To get the Apple silicon one, specify the --arch argument In my code, I have a dictionary with the value of cdhashes of myapp in arm64 and I test this value, but I would like to know if there is a way to receive this cdhashes with the two architectures x86_64 and arm64 by the xcode code itself, just in case run on another architecture, keep working
Replies
0
Boosts
0
Views
257
Activity
Apr ’22
IPC between two processes
I am looking for a solution to transfer data between two completely separate processes (not from the same group). I did a lot of research, but the solutions were mostly for processes that are in a group. Is there a method? (It doesn't matter if the app is sandboxed, I can disable it). My goal is to communicate between a bundle(plugin) that is activated on the Mac login page and an XPC service and transfer data from the service to the bundle.
Replies
3
Boosts
0
Views
1.5k
Activity
Dec ’23
Move 2 UIImageview and repeating
Hey guys, I am new to code :) but not exactly that much new coz My first app is getting to be done to post to appstore :) Just little problem Using x-code and UIKit, I want to repeat 2 images for background of my app. I used a cadisplaylink timer to move them, and it is working, after the image1 goes offscreen, I remake it in new position and it is positioned right next to image2 but after 3 or 4 time of positioning, the images start to have distance between each other.How can I have them stick together again? if (bGround1.frame.origin.x <= -viewWidth) { bGround1.frame = CGRectMake (viewWidth, 0, bGround1.frame.size.width, bGround1.frame.size.height);} if (bGround2.frame.origin.x <= -viewWidth) { bGround2.frame = CGRectMake (viewWidth, 0, bGround2.frame.size.width, bGround2.frame.size.height);} Image link : http://i.stack.imgur.com/B72UY.png Plz tell me ifmore details are needed. Thanks for any help :)
Replies
0
Boosts
0
Views
386
Activity
Nov ’15
What is the order of didMoveToWindow for two views?
What is the calling order of didMoveToWindow for two views after switching between two ViewControllers. In my project,we need get the property of view.window to prejucduce if the view is in the window,when one ViewController transform to another viewController。 We would like to know how this behavior is defined
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
2
Boosts
0
Views
751
Activity
Jun ’23
Swift 2 closure with throw
Hello guys,While using Swift 2 I got one problem – how to throw inside closure of function. Example:// this func can't be changed and modifiedfunc httpRequest(param:String, completionHTTP:(result:String) -> Void){ completionHTTP(result:some result)}// this func can be changed and modifiedfunc myFunc() throws { httpRequest(param1) { (result) -> Void in throw NSError(domain: MyDomain, code: 0, userInfo: [NSLocalizedDescriptionKey: Error description]) }}myFunc - gives error of invalid conversion from thowing function to non-throwing functionHow can I call throw inside of closure of non-throwing func?
Replies
10
Boosts
0
Views
3.6k
Activity
Aug ’15