Unity IOS Build weird BoringSSL error - ios

I made a simple game with Unity and get built for IOS. When I try to build this app by XCode and run on my usb connected device, I see only unity logo and when app goes to first screen, it shows black screen and stucks there. In XCode log window, It says :
2018-05-25 02:35:46.906244+0300 helloworld[7424:2571959] [BoringSSL]
Function boringssl_session_errorlog: line 2871
[boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed
because the connection was cleanly shut down with a close_notify alert
Weird is that I never use internet connection in the app. Can anyone help to solve this problem?

Related

Cordova / Ionic iOS app hangs on splash screen while loading plugins

Our app is currently crashing for all users on iOS 11. The app loads the splash screen and then hangs infinitely. This issue does not effect users not using iOS 11 and is not reproducible on the iOS 11 simulator.
The only clues we have for this issue are that when we inspect the code using Safari Developer Tools we can see that it is the plugins that are failing to load. This issue is not reproducible 100% of the time but it is about 98% of the time.
Here is the only error we see in Xcode:
[BoringSSL] Function nw_protocol_boringssl_input_finished: line 1389 Peer disconnected during the middle of a handshake. Sending errSSLFatalAlert(-9802) alert
TIC TCP Conn Failed [1:0x1c016b4c0]: 3:-9802 Err(-9802)
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
Task <F69566CA-B83A-4252-B2F2-DDB84A7AAFD3>.<1> HTTP load failed (error code: -1200 [3:-9802])
Task <F69566CA-B83A-4252-B2F2-DDB84A7AAFD3>.<1> finished with error - code: -1200
and here is a screenshot of how it looks when we debug in the browser: (all other resources off the screen load fine)
This error started occurring right after iOS 11 was released and we have not changed any code. Help would be greatly appreciated as this error appears to be coming from inside of Cordova.
Note: We are using Cordova 4.3.1 and tried updating to the latest but it made no difference.
The solution to our issue was to remove the plugin cordova-plugin-wkwebview-engine.
I recently have been experiencing this issue. I'm using the new CLI 9.0 and iOS 5.0. I actually removed the splashscreen plugin and it worked. And a side benefit is it is a heck of a lot faster too!

Unit Testing, iOS, DTXProxyChannel error 1

I sometimes start to get the following error
2017-04-02 18:55:22.645937+0200 Stamps[730:111791] Connection peer
refused channel request for
"dtxproxy:XCTestDriverInterface:XCTestManager_IDEInterface"; channel
canceled Failed to run tests: The operation
couldn’t be completed. (DTXProxyChannel error 1.)
Last time, when this happened, I just did some random actions with clean my project, remove derived data etc., and it was fixed. Now, it happens again - just after a start of the app, it closes and log contains this error.
What does it mean and is there any workaround here?
I use XCode 8.3, Swift 3.1, test on device 6s with 10.3 installed.
Surprisingly, to fix this, I just replugged my iPhone to another port

Can you test replaykit in the simulator in Xcode?

Im in the ipad air 2 simulator and trying to test replaykit and see if the window pops up to view the video of the recorded screen. When I do that I get an error saying this. Is that because Im testing it in the simulator?
plugin com.apple.ReplayKit.RPVideoEditorExtension interrupted
Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.ReplayKit.RPVideoEditorExtension" UserInfo={NSDebugDescription=connection to service named com.apple.ReplayKit.RPVideoEditorExtension}
I ran into this issue as well in the simulator. It breaks in there. On-device it's fine. Searching the internet this seems to always be the case.

Error while running my first IOS app on Xcode

I just created my new iOS project as a single view app and tried running it with no codes added, but there appears just a blank black window in the iOS simulator, and it generates the below error:
"The operation couldn't be completed. (Mach error -308 -(ipc/mig)server died)"
Have a look at this question:
Swift Playground and Simulator Error (ipc/mig) server died, Unable to boot the iOS Simulator
Hopefully that will help you too.

iOS 8 custom keyboard crash when debugging

Issue
Most times, when I try to debug my custom keyboard extension, I receive the following error and then the keyboard disappears (presumably crashes, so the system removes it from screen and replaces it with the standard keyboard)
plugin com.db.Trype.TrypeKeyboard interrupted
(Note: Trype is the name of my keyboard.)
Process
I am debugging the keyboard the following way:
I have the keyboard extension as a target.
I've modified the TrypeKeyboard scheme to run my app executable on launch.
The keyboard has been added in the Simulator's Settings App.
I've tried different version of Xcode-Beta and tried restarting the simulator, computer, etc., all to a varying degree of temporary success.
Anyone else run into this error and have a suggestion?
Update:
Here is an accompanying error message. Maybe there is some way to print out more of the UserInfo?
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3
"The operation couldn’t be completed. (_UIViewServiceInterfaceErrorDomain error 3.)"
UserInfo=0x7fc99c900a50 {Message=Service Connection Interrupted}
After messing around with it some more, I'm beginning to conclude this is an iOS 8/Xcode bug with the way that extensions are debugged.
Xcode sometimes seems to build project and install multiple versions of the extension keyboard into the iOS simulator. It also occasionally kills the extension and reloads it. Very strange behavior. Just sitting and staring at the debugging sidebar shows it get killed (disappear) and then relaunch.
The first is a successful launch.
The second is an unsuccessful launch where the extension appears to hang and wait to attach.

Resources