What do these Xcode simulator system errors mean? - ios

The Xcode simulator disconnects from Xcode which will no longer show information in the console of Xcode. Xcode then provided the following error: "DTAssetProviderService could not start DTXConnection with Simulator 'iPhone 6'. Check the system log for errors."
I've tried quitting and restarting both the simulator and Xcode but still no luck. Here are the system log errors:
Jun 25 15:49:34 --- last message repeated 1 time ---
Jun 25 15:49:34 Laurences-MBP diagnosticd[8123]: System mode client started - Console (8117) - mode: 0x8
Jun 25 15:49:48 Laurences-MBP sandboxd[10550] ([318]): useractivityd(318) deny mach-lookup com.apple.PowerManagement.control
Jun 25 15:49:53 --- last message repeated 1 time ---
Jun 25 15:49:53 Laurences-MBP cloudd[10528]: notify name "com.apple.cloudkit.pcs.flushCaches" has been registered 20 times - this may be a leak
Jun 25 15:50:05 Laurences-MBP sandboxd[10550] ([318]): useractivityd(318) deny mach-lookup com.apple.PowerManagement.control
Jun 25 15:50:05 Laurences-MBP syslogd[47]: ASL Sender Statistics
Jun 25 15:50:08 Laurences-MBP sandboxd[10550] ([318]): useractivityd(318) deny mach-lookup com.apple.PowerManagement.control
Jun 25 15:50:11 Laurences-MBP diagnosticd[8123]: System mode client started - Console (8117) - mode: 0x8
Jun 25 15:50:44 Laurences-MBP sandboxd[10550] ([10647]): lsd(10647) System Policy: deny system-privilege 1013
Jun 25 15:51:00 --- last message repeated 1 time ---
Jun 25 15:51:00 Laurences-MBP DTServiceHub[10677]: DTServiceHub[10677]: [error] 'mach_msg_send' failed: (ipc/send) invalid destination port (268435459)
Jun 25 15:51:09 Laurences-MBP Xcode[7692]: Xcode[7692]: [error] 'mach_msg_send' failed: (ipc/send) invalid destination port (268435459)
Jun 25 15:51:09 Laurences-MBP Xcode[7692]: +[DTServiceHubClient localConnectionWithAuthorization:returningServerPid:]: failed to establish connection with DTServiceHub service '/Applications/Xcode.app/Contents/SharedFrameworks/DVTInstrumentsFoundation.framework/Resources/DTServiceHub'
Jun 25 15:51:09 Laurences-MBP Xcode[7692]: Xcode[7692]: [error] 'mach_msg_send' failed: (ipc/send) invalid destination port (268435459)

You're using Xcode 7.3.1 on macOS Sierra Beta which is not supported. This question has been discussed in more detail in XCode "DTAssetProviderService could not start.." error, How fix this?
Use Xcode 8 beta or Xcode 7.3.1 the .dmg image downloaded from the Developer Portal https://developer.apple.com/download/more/ which doesn't exhibit this problem like the Mac App Store version.

Related

App error on iOS simulator

I was debugging my application earlier today from Visual Studio Cordova to iOS simulator running on a mac just fine.
After minimal changes, it would no longer run and seemed to crash instantly, giving the following errors in the system log:
Feb 22 14:59:28 Derricks-Air com.apple.CoreSimulator.SimDevice.FD118263-FDD1-4B7F-ADDB-0B5BA5811F88.launchd_sim[1946] (UIKitApplication:com.packagename.mail[0x8540][2832]): Program specified by service does not contain one of the requested architectures: ï
Feb 22 14:59:28 Derricks-Air SpringBoard[1962]: Unable to get pid for 'UIKitApplication:com.packagename.mail[0x8540]': No such process (err 3)
Feb 22 14:59:28 Derricks-Air SpringBoard[1962]: Bootstrapping failed for <FBApplicationProcess: 0x7d890cd0; com.packagename.mail; pid: -1>
Feb 22 14:59:28 Derricks-Air SpringBoard[1962]: Application 'UIKitApplication:com.packagename.mail[0x8540]' exited voluntarily.
I have since reverted any code changes and am still having this issue.
Any ideas?

HW kbd failed to set (null) as keyboard focus iOS Xamarin.iOS 10.2.1.5

I have looked at other thread on same topic but couldn't get any answers there and hence created a new thread.
I am running into subjected error. It started when I upgraded my iPad to iOS 9.3.5 and it happens only on UITextField field. Here are logs but not able to find the root cause. This is occurring in Xamarin.iOS 10.2.1.5 which is latest and greatest.
Nov 26 13:16:09 rb-iPad SpringBoard[46] <Warning>: HW kbd: Failed to set (null) as keyboard focus
Nov 26 13:16:09 rb-iPad SpringBoard[46] <Warning>: HW kbd: Failed to set (null) as keyboard focus
Nov 26 13:16:10 rb-iPad SpringBoard[46] <Warning>: Unable to get short BSD proc info for 219: No such process
Nov 26 13:16:10 rb-iPad SpringBoard[46] <Warning>: Unable to get short BSD proc info for 219: No such process
Nov 26 13:16:10 rb-iPad SpringBoard[46] <Warning>: Unable to get short BSD proc info for 219: No such process
Nov 26 13:16:10 rb-iPad SpringBoard[46] <Warning>: Application 'UIKitApplication:com.safetytracker.app[0xbad8]' exited voluntarily.
Nov 26 13:16:10 rb-iPad UserEventAgent[23] <Warning>: 89823664133: id=com.safetytracker.app pid=219, state=0
Nov 26 13:16:10 rb-iPad mobile_installation_proxy[194] <Error>: 0x1f197000 handle_connection: Could not receive request from host.
Nov 26 13:16:10 rb-iPad com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.3.124[218] <Warning>: 1 +0.000000 sec [00da/0a0b]: error: ::read ( 6, 0x64dd7c, 1024 ) => 0 err = No such file or directory (0x00000002)
Nov 26 13:16:10 rb-iPad com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.3.124 [218] <Warning>: Exiting.
Has anyone faced the same issue? Not sure what am I going wrong.
This turned out to be an issue with code. But surprisingly code was working fine until I upgraded to latest build.
Lesson learnt, debug the code as you never know what part of code will start failing after you upgrade the Xamarin.

Maximo Anywhere 7.6 - iOS - Error during Login - "errorCode":"UNRESPONSIVE_HOST"

I have tried using both xcode simulator and install the .ipa file directly to the device (through iTunes) and got the connection error. This is the detail:
Mar 27 20:33:30 --- last message repeated 5 times ---
Mar 27 20:33:30 myMBPro Inspection[10213]: ERROR: {"textMsg":"Your user name and password could not be validated. Connect to the server and try again."}
Mar 27 20:33:30 myMBPro Inspection[10213]: nw_interface_create_with_index refusing to create an interface with index 4294967295 too high (>=2147483647)
Mar 27 20:33:30 myMBPro Inspection[10213]: CFNetwork SSLHandshake failed (-9806)
Mar 27 20:33:30 myMBPro Inspection[10213]: NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9806)
Mar 27 20:33:30 myMBPro Inspection[10213]: Cancel processing requested
Mar 27 20:33:31 myMBPro Inspection[10213]: ERROR: {"invocationContext":null,"errorCode":"UNRESPONSIVE_HOST","errorMsg":"The service is currently not available."}
I did install SSL on the app server that hosts Appcenter & MaximoAnywhere (https://maximodev:9443/MaximoAnywhere https://maximodev:9443/appcenteradmin/installers.html)
I follow this IBM documentation:
www.ibm.com/support/knowledgecenter/#!/SSHS8R_6.3.0/com.ibm.worklight.appadmin.doc/appcenter/t_installing_the_client_on_a_ios_mob.html
Is there any other configuration files need to be set?
Thanks!
I suspect your device doesn't trust the certificate that you're using on the MobileFirst server. Can you check your certificate trust list on the iOS device?

App crashing on iOS device

EDIT - I downgraded back to METEOR#1.1.0.3 and everything is working again. Looks like there's something wrong in Meteor's 1.3 release
I have an app that I built in meteor. I recently upgraded Meteor to the latest 1.3 Beta.
My app works on the iOS simulator, on an iOS device when I build and run for the device through XCode, however it crashes on devices when downloading the app through Testflight. Everything worked before the upgrade.
The splash screen will show for half a second and then the app will quit.
I'm at a bit of a loss here. What could be causing this?
EDIT 2 - Found a different log. I think this is the one we need.
Feb 21 13:23:03 iPhone kernel[0] <Notice>: xpcproxy[366] Container: /private/var/mobile/Containers/Data/Application/E04C2844-B735-4BA2-B54A-9202F6EA5C6F (sandbox)
Feb 21 13:23:03 iPhone ReportCrash[367] <Error>: task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument)
Feb 21 13:23:03 iPhone ReportCrash[367] <Notice>: ReportCrash acting against PID 366
Feb 21 13:23:03 iPhone locationd[64] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Feb 21 13:23:03 iPhone ReportCrash[367] <Notice>: Formulating crash report for process VUSE Videos[366]
Feb 21 13:23:03 iPhone com.apple.xpc.launchd[1] (UIKitApplication:rocks.brownchikenbrowncow.app[0x4a08][366]) <Notice>: Service exited due to signal: Trace/BPT trap: 5
Feb 21 13:23:03 iPhone ReportCrash[367] <Notice>: Saved report to /var/mobile/Library/Logs/CrashReporter/VUSE Videos_2016-02-21-132303_iPhone.ips.beta
Feb 21 13:23:03 iPhone SpringBoard[43] <Warning>: Application 'UIKitApplication:rocks.brownchikenbrowncow.app[0x4a08]' crashed.
Feb 21 13:23:03 iPhone wifid[70] <Notice>: WiFi:[477771783.972406]: BG Application: Not Present, BG Daemon: Present. Daemons: networkd apsd
Feb 21 13:23:03 iPhone assertiond[58] <Warning>: Could not set priority of <BKNewProcess: 0x16e75b10; rocks.brownchikenbrowncow.app; pid: 366; hostpid: -1> to 2, priority: No such process
Feb 21 13:23:03 iPhone assertiond[58] <Warning>: Could not set priority of <BKNewProcess: 0x16e75b10; rocks.brownchikenbrowncow.app; pid: 366; hostpid: -1> to 4096, priority: No such process
Feb 21 13:23:04 iPhone locationd[64] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
looks like the default build setting for "Runpath Search Paths" is blank for "Release"
both targets should be set to
#executable_path/Frameworks
after this change, my testflight build is no longer crashing right after startup
--
i had the same problem after meteor 1.3 upgrade. i got this error message from the device
Dyld Error Message:
Dyld Message: Library not loaded: #rpath/libswiftCore.dylib
which led me to dyld: Library not loaded: #rpath/libswiftCore.dylib / Image not found
I think, Logs will be helpful here
Open XCode -> window -> devices
Select your device on left window:
Now you will be seeing logs coming.
Clean logs from bottom of screen, and try opening your app, and when your app gets crashed, it will fill out error logs.
If you can provide those logs here, then we will be able to help better.

iOS app Crashes on Start Up

I developed an application with Xamarin studio. It runs completely fine with the iPhoneSimulator. I was able to run Ad-Hoc | Iphone and it compiles and actually saves the IPA directly to my phone. When I click the app it launches the load screen and crashes within 1 second.
I've tried to install command line tools for my OSX which is 10.9.
I'm all out of ideas, any help would be great.
Warning MT5303: Native linking warning: warning: can't parse dwarf compilation unit info in /Users/test/Google Drive/FernSoftware Mobile App/Hello/obj/iPhone/Debug/mtouch-cache/Hello.exe.armv7.o (MT5303)
Warning MT5303: Native linking warning: warning: can't parse dwarf compilation unit info in /Users/test/Google Drive/FernSoftware Mobile App/Hello/obj/iPhone/Debug/mtouch-cache/System.Data.dll.armv7.o (MT5303)
no errors but many warnings similar to that.
Jun 20 15:25:59 com.apple.debugserver-199[2466] <Warning>: 1 +0.000000 sec [09a2/0303]: error: ::ptrace (request = PT_THUPDATE, pid = 0x09a3, tid = 0x2503, signal = -1) err = Invalid argument (0x00000016)
Jun 20 15:25:59 com.apple.debugserver-199[2466] <Warning>: 2 +0.036680 sec [09a2/1303]: error: ::read ( 5, 0x2fe809fc, 18446744069414585344 ) => -1 err = Bad file descriptor (0x00000009)
Jun 20 15:25:59 com.apple.debugserver-199[2463] <Warning>: 1 +0.000000 sec [099f/0303]: error: ::read ( 5, 0x2fd7cebc, 1024 ) => 0 err = Bad file descriptor (0x00000009)
Jun 20 15:25:59 mobile_installation_proxy[2461] <Error>: main: Could not receive request from host.
Jun 20 15:25:59 mobile_installation_proxy[2464] <Error>: main: Could not receive request from host.
Jun 20 15:25:59 kernel[0] <Debug>: launchd[2467] Builtin profile: container (sandbox)
Jun 20 15:25:59 kernel[0] <Debug>: launchd[2467] Container: /private/var/mobile/Applications/6C7A90BA-B71E-41F5-BAA1-85B0202BA07F (sandbox)
Jun 20 15:25:59 FaaSBank[2467] <Notice>: MS:Notice: Installing: com.FaaSBank.FernSoftware [FaaSBank] (793.00)
Jun 20 15:26:00 com.apple.launchd[1] <Error>: (UIKitApplication:com.FaaSBank.FernSoftware[0x1e67]) Exited with code: 1
Jun 20 15:26:00 com.apple.launchd[1] <Notice>: (UIKitApplication:com.FaaSBank.FernSoftware[0x1e67]) Throttling respawn: Will start in 2147483647 seconds
Jun 20 15:26:00 backboardd[53] <Warning>: Application 'UIKitApplication:com.FaaSBank.FernSoftware[0x1e67]' exited abnormally with exit status 1
The device log is huge but i think these are the important pars
iOS device log
http://pastebin.com/PDjj0aHJ
Go through this, It' would be help you :
Architecture settings (armv6, armv7, armv7s) and also check your deployment version setting.
Set your Code Signing properly (Build Settings --> Code Signing)
Set/Check proper Deployment Target
Set/Check your Search Paths, if any. Check your other linker flags.
I think, might be possible your application run perfectly.

Resources