XCode6 not enabling development on iOS8 iPhone device - usb

I realise this is a duplicate of a few other questions:
Ineligible Devices section appeared in Xcode 6.x.x
Xcode 6 won't let me develop on my iOS 8 phone
But I'm hoping to provide more detail.
Different messages appear at different times in the System Console, when this error occurs:
18/08/14 2:46:22.000 am kernel[0]: USB (XHCI Root Hub USB 2.0
Simulation):Port 1 on bus 0xa connected or disconnected:
portSC(0xe0206e1) 18/08/14 2:46:24.827 am Xcode[300]:
stream_image (thread 0x1131f5000): received ack: ReceiveBytesAck,
proceeding with transfer... 18/08/14 2:46:24.830 am
com.apple.usbmuxd[47]: MuxTCPInputSCE received RST for
0x1-5448ce54615fa3fcc36079423e0fde3c403d1615#0x14100000:49230->0x100312220-Xcode/com.apple.dt.Xcode:10752:
handleMuxTCPInput no matching session 18/08/14 2:46:24.830 am
com.apple.usbmuxd[47]: MuxTCPInputSCE received RST for
0x1-5448ce54615fa3fcc36079423e0fde3c403d1615#0x14100000:49230->0x100312220-Xcode/com.apple.dt.Xcode:10752:
handleMuxTCPInput no matching session 18/08/14 2:46:24.831 am
com.apple.usbmuxd[47]: MuxTCPInputSCE received RST for
0x1-5448ce54615fa3fcc36079423e0fde3c403d1615#0x14100000:49230->0x100312220-Xcode/com.apple.dt.Xcode:10752:
handleMuxTCPInput no matching session 18/08/14 2:46:24.831 am
Xcode[300]: __stream_image_block_invoke (thread 0x1131f5000):
AMDServiceConnectionSend failed: 0xe800002d, kAMDSendMessageError,
buflen: 65536, sent: -1 18/08/14 2:46:24.831 am Xcode[300]:
stream_image (thread 0x1131f5000): read_file failed 18/08/14
2:46:24.831 am Xcode[300]: AMDeviceMountImage (thread 0x1131f5000):
stream_image failed (kAMDSendMessageError), trying copy...
18/08/14 2:46:24.831 am Xcode[300]: copy_image (thread
0x1131f5000): Jay Root 18/08/14 2:46:27.365 am Xcode[300]:
AMDeviceMountImage (thread 0x1131f5000): line: 207: Could not hangup
with service agent: kAMDSendMessageError 18/08/14 2:46:27.454 am
Xcode[300]: mount_image (thread 0x1131f5000): There was an error
mounting the image: kAMDSuccess 18/08/14 2:46:27.455 am
Xcode[300]: AMDeviceMountImage (thread 0x1131f5000): Could not mount
image: kAMDMobileImageMounterMissingImagePath 18/08/14
2:46:27.456 am Xcode[300]: AMDeviceMountImage (thread 0x1131f5000):
Could not hangup with service agent: kAMDSendMessageError
These occur simultaneously with the following errors from the iPhone logs:
Aug 18 03:05:55 iPhone mobile_storage_proxy[145] :
0x34ae59cc handle_receive_bytes: The request is missing the disk image
signature Aug 18 03:05:55 iPhone mobile_storage_proxy[145]
: 0x34ae59cc handle_receive_bytes: failed, unlinking Aug
18 03:05:55 iPhone mobile_storage_proxy[145] : 0x34ae59cc main:
Could not receive bytes Aug 18 03:05:55 iPhone
mobile_storage_proxy[146] : 0x34ae59cc handle_mount_image:
Could not find disk image Aug 18 03:05:55 iPhone
mobile_storage_proxy[146] : 0x34ae59cc main: Could not mount
the image
Note: Timestamp is off in the above logs because I copied the iPhone logs from a different test-run.
Other times, this error is preceded by another USB-related error message in the OSX logs:
18/08/14 1:37:58.824 am com.apple.usbmuxd[47]: MuxClearPipeStall Can't clear pipe stall 2 on 0x4-5448ce54615fa3fcc36079423e0fde3c403d1615#0x14200000. Error: 0xe00002c0
The above message ALSO being common to some generic iTunes sync issues encountered very long ago by some users
Restarting XCode, the iPhone, the Mac over and over and reconnecting the device in different orders (while the Mac is starting up. Before XCode is launched. After XCode is launched, etc.) has not helped.
Resetting the PRAM and SMC (a couple different procedures here and here) have not helped either.
Can someone understand the root of the issue from the above logs? And if so, suggest a more permanent solution? (than restarting X device or performing some timing voodoo).

Just got it after logging out and back in to iCloud.
Rebooted device - didn't help.
Rebooted Mac AND device - didn't help.
Replugged to a different USB port - didn't help.
Finally, relaunched Xcode - works.
Spent about 15-30 mins with this. Some stupid bug, one of millions.
P.S. Xcode 6.0.1, iOS 8.0, iPhone 5S

Here's what actually worked for me:
unplug all devices that you're developing with.
quit XCode
I rebuilt my .xcodeproj file - easy because I'm using cordova
start XCode (now, at least I have all the simulators listed)
plug your device back in

Please use Xcode 6.1
Xcode 6 only contains the iOS 8.0 SDK.
If you're running iOS 8.1 on your phone, then you'll need to upgrade to Xcode 6.1, which contains the iOS 8.1 SDK.

Related

error while running gem5 full system mode on arm

i installed gem5 simulator on ubuntu 14.04. then i used the youtube guide (https://www.youtube.com/watch?v=gd_DtxQD5kc) to run gem5 in full system mode in ARM architecture. first i downloaded arm-system-2011-08.tar.bz2 as mentioned in the video then i run below command:
build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/morteza/full_system_images/disks/arm-ubuntu-natty-headless.img --kernel=/home/morteza/full_system_images/binaries/vmlinux.arm.smp.fb.2.6.38.8
but i encountered this output. can abybody please help me?
p.s: i added --kernel option and rename bootloader in /fulls_system_image/binaries from boot.arm to boot_emm.arm because of some errors about not finding bootloader and kernel. this is my final output which i brought hereunder. i' ll appreciate if anybody tell what is the problem.
OUTPUT:
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Jan 3 2020 05:49:20
gem5 started Jan 3 2020 17:16:17
gem5 executing on morteza-pc, pid 2499
command line: build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/morteza/full_system_images/disks/arm-ubuntu-natty-headless.img --kernel=/home/morteza/full_system_images/binaries/vmlinux.arm.smp.fb.2.6.38.8
warn: Can only correctly generate a dtb for VExpress_GEM5_V1 platforms, unless custom hardware models have been equipped with generation functionality.
Global frequency set at 1000000000000 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes)
info: kernel located at: /home/morteza/full_system_images/binaries/vmlinux.arm.smp.fb.2.6.38.8
warn: Bootloader entry point 0x80000000 overriding reset address 0
system.vncserver: Listening for connections on port 5900
system.terminal: Listening for connections on port 3456
0: system.remote_gdb: listening for remote gdb on port 7000
info: Using bootloader at address 0x80000000
info: Using kernel entry physical address at 0x80008000
warn: DTB file specified, but no device tree support in kernel
**** REAL SIMULATION ****
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue # 0. Starting simulation...
warn: Device system.membus.badaddr_responder accessed by read to address 0x10009018 size=4
gem5.opt: build/ARM/cpu/simple/atomic.cc:418: virtual Fault AtomicSimpleCPU::readMem(Addr, uint8_t*, unsigned int, Request::Flags, const std::vector<bool>&): Assertion `!pkt.isError()' failed.
Program aborted at tick 30500
--- BEGIN LIBC BACKTRACE ---
build/ARM/gem5.opt(_Z15print_backtracev+0x15)[0x1d505e5]
build/ARM/gem5.opt(_Z12abortHandleri+0x36)[0x1d5a796]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f41e3962330]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f41e1eacc37]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f41e1eb0028]
/lib/x86_64-linux-gnu/libc.so.6(+0x2fbf6)[0x7f41e1ea5bf6]
/lib/x86_64-linux-gnu/libc.so.6(+0x2fca2)[0x7f41e1ea5ca2]
build/ARM/gem5.opt(_ZN15AtomicSimpleCPU7readMemEmPhj5FlagsImERKSt6vectorIbSaIbEE+0x538)[0x1e4eca8]
build/ARM/gem5.opt(_ZN17SimpleExecContext7readMemEmPhj5FlagsImERKSt6vectorIbSaIbEE+0x21)[0x1e5c5b1]
build/ARM/gem5.opt(_Z13readMemAtomicI11ExecContextjESt10shared_ptrI9FaultBaseEPT_PN5Trace10InstRecordEmRT0_5FlagsImE+0x64)[0x1972e14]
build/ARM/gem5.opt(_ZNK10ArmISAInst27LOAD_IMM_AY_PN_SN_UN_WN_SZ47executeEP11ExecContextPN5Trace10InstRecordE+0x12d)[0x14f95cd]
build/ARM/gem5.opt(_ZN15AtomicSimpleCPU4tickEv+0x428)[0x1e4da58]
build/ARM/gem5.opt(_ZN10EventQueue10serviceOneEv+0xa1)[0x1d55f51]
build/ARM/gem5.opt(_Z9doSimLoopP10EventQueue+0x38)[0x1d65fc8]
build/ARM/gem5.opt(_Z8simulatem+0xaae)[0x1d66dfe]
build/ARM/gem5.opt[0x1dbbd3d]
build/ARM/gem5.opt[0xe08e85]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x45f7)[0x7f41e3579be7]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f41e357b63d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7f41e3579ec8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f41e357b63d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7f41e3579ec8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f41e357b63d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7f41e3579ec8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f41e357b63d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f41e357b772]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x563e)[0x7f41e357ac2e]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f41e357b63d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7f41e3579ec8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f41e357b63d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f41e357b772]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyRun_StringFlags+0x79)[0x7f41e35755a9]
--- END LIBC BACKTRACE ---
Aborted (core dumped)

Exit when logging in to Cisco Packet Tracer

When I log in the Cisco Packet Tracer authentication page, as long as I click next, the program will automatically exit. If you start the program from the command line, it displays:
Starting Packet Tracer 7.2.2
/usr/local/bin/packettracer: line 8: 6290 Floating point exception(core dumped) ./PacketTracer7 "$#" > /dev/null 2>&1
After debugging with GDB, you will see:
Thread 1 "PacketTracer7" received signal SIGFPE, Arithmetic exception.
0x00007fffeede5ef4 in QFontEngineFT::averageCharWidth() const () from ./libQt5XcbQpa.so.5
I received a similar error and spent a lot of time troubleshooting, trying different qt5 library versions and installing a new libpng12 and such. Never got it to work. Then I found Cisco has released version 7.3.0 and it works fine.
FYI here is the exact error I received (in my dmesg) upon clicking the 'Next' button as you described:
[Sat Dec 21 21:18:22 2019] traps: PacketTracer7[12228] trap divide error ip:7f8ab1531ef4 sp:7ffd9d9710d0 error:0 in libQt5XcbQpa.so.5[7f8ab1475000+111000]

Safari - Web site Crashing in iOS 6.0.1 and not in iOS 5.x

I'm trying to open the following URL in iPad 3 Safari browser.
http://www.pearsonschool.com/index.cfm?locator=PS1yJe&PMDbProgramId=110081&sampleId=11241
And doing the following steps:
Click on "Explore the innovative technology of Teacher Place for yourself"
On the top left, click on "Dash" -> Teacher Content
Then select CMP3 Grade 7
Click on Accentuate the Negative
Then click on "3" (Multiplying and Dividing..)
Select "Problem 3.1"
Click "Launch" button
Here we have 3 options to expand viz Launch Video, Connecting to Prior or Knowledge and Presenting the Challenge.
Expand all the 3 items by clicking ">" button on right of these options.
Scroll to the bottom
It crashes.
Its working fine on iOS 5 Safari. But its crashing on iOS 6.0.1 Safari.
The following is the message that I noted during crash:
??Jan 31 07:21:13 Happiestminds kernel[0] <Debug>: 008192.238887 wlan.A[568] AppleBCMWLANNetManager::checkRealTimeTraffic(): now 8192.238881625 num entries 4
??Jan 31 07:22:07 Happiestminds ReportCrash[355] <Notice>: Formulating crash report for process MobileSafari[230]
??Jan 31 07:22:07 Happiestminds ReportCrash[355] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
??Jan 31 07:22:07 Happiestminds com.apple.launchd[1] (UIKitApplication:com.apple.mobilesafari[0x61fb][230]) <Warning>: (UIKitApplication:com.apple.mobilesafari[0x61fb]) Job appears to have crashed: Segmentation fault: 11
??Jan 31 07:22:07 Happiestminds backboardd[51] <Warning>: Application 'UIKitApplication:com.apple.mobilesafari[0x61fb]' exited abnormally with signal 11: Segmentation fault: 11
??Jan 31 07:22:07 Happiestminds ReportCrash[355] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/MobileSafari_2013-01-31-072206_Happiestminds.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
I couldn't understand why is it crashing in latest safari.... When googled, i found that some URL's saying its problem related to Redirections, some say about bookmarking and some say about memory management. But I couldn't find the exact issue.
Can some one help me in identifying the exact issue please?
You can try to debug the javascript using chrome on mac, add console.log to your code and follow this tutorial:
http://devcoma.blogspot.it/2014/03/how-to-investigate-ios-safari-crashes.html
I've used a proxy installed on my mac in order to debug and trace from ios safari to the chrome dev tools.
I found that on my web app safari crashed when using iframes, css transitions, css overflow property and, the jQuery ready event, not all at the same time, obviously.
As and when there's updates in the browsers, we have to change the javascript etc respectively in the code as well.

get_iplayer RTMP failure

Could anyone tell me how to get around this problem highlighted?
I have got no problem downloading subtitles, yet with downloading programmes.
I've used UKBestVPN services. Downloading subtitles no problem so it shouldn't be any problem with the VPN service. Some said I needed to set up port 10060 in Win 7. I did in the Firewall Advanced Setting but the error occurred again.
Thank you.
C:\Program Files (x86)\get_iplayer>get_iplayer --pid b01fkbb3
get_iplayer v2.80, Copyright (C) 2008-2010 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
This is free software, and you are welcome to redistribute it under certain
conditions; use --conditions for details.
INFO Trying to stream pid using type tv
INFO: pid found in cache
Matches:
524: Newsnight - 02/04/2012, BBC Two, News,TV, default,
INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: flashhigh1,flashhigh2,flashstd1,flashstd2 modes will be tried for version default
INFO: Trying flashhigh1 mode to record tv: Newsnight - 02/04/2012
INFO: File name prefix = Newsnight_-_02_04_2012_b01fkbb3_default
RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)
INFO: Command exit code 3 (raw code = 768)
WARNING: Failed to stream file C:\Users\Tin\Desktop\iPlayer Recordings\Newsnight_-_02_04_2012_b01fkbb3_default.partial.mp4.flv via RTMP
INFO: skipping flashhigh1 mode
INFO: Trying flashhigh2 mode to record tv: Newsnight - 02/04/2012
INFO: File name prefix = Newsnight_-_02_04_2012_b01fkbb3_default
RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)
INFO: Command exit code 3 (raw code = 768)
WARNING: Failed to stream file C:\Users\Tin\Desktop\iPlayer Recordings\Newsnight_-_02_04_2012_b01fkbb3_default.partial.mp4.flv via RTMP
INFO: skipping flashhigh2 mode
INFO: Trying flashstd1 mode to record tv: Newsnight - 02/04/2012
INFO: File name prefix = Newsnight_-_02_04_2012_b01fkbb3_default
RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)
INFO: Command exit code 3 (raw code = 768)
WARNING: Failed to stream file C:\Users\Tin\Desktop\iPlayer Recordings\Newsnight_-_02_04_2012_b01fkbb3_default.partial.mp4.flv via RTMP
INFO: skipping flashstd1 mode
INFO: Trying flashstd2 mode to record tv: Newsnight - 02/04/2012
INFO: File name prefix = Newsnight_-_02_04_2012_b01fkbb3_default
RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)
INFO: Command exit code 3 (raw code = 768)
WARNING: Failed to stream file C:\Users\Tin\Desktop\iPlayer Recordings\Newsnight_-_02_04_2012_b01fkbb3_default.partial.mp4.flv via RTMP
INFO: skipping flashstd2 mode
ERROR: Failed to record 'Newsnight - 02/04/2012 (b01fkbb3)'
C:\Program Files (x86)\get_iplayer>
You can't assume from a successful download of the subtitle file that the video server will play nice with your VPN. I'm fairly certain that the .srt is delivered by a BBC server, while the video stream is served by one of the big CDNs.
Make another attempt with
C:\Program Files (x86)\get_iplayer>get_iplayer --pid b01fkbb3 --verbose --long
and take a look at the results. If it looks like the request for the subtitle file is made to a different domain than the request for the video stream, your most likely issue is that Limelight or Akamai is rejecting requests made through UKBestVPN.
Paid VPN's are typically under no obligation to provide you with a new IP if the CDNs get wise to circumvention of geographical restrictions--but it never hurts to ask. Sorry that's probably not what you wanted to hear; there might be more benign reasons the for the video server to reject your request...maybe if your VPN was really busy, it could have been slow to respond to RTMP handshake...etc.
P.S. Assuming you rectify your issues, here's a couple of tips:
Go into C:\Program Files (x86)\get_iplayer and make a copy of get_iplayer.cmd; paste it back into the program folder and rename it bbc.cmd.
Now all you have to type is bbc -g horizon.
Create a user variable called PATH and put C:\Program Files (x86)\get_iplayer in it.
Now you can just hit your Windows key and type bbc -g horizon directly into the Search programs and files box.
You don't have to deal with text wrap in a puny command-line window.
Right-click on the get_iplayer icon and select properties; click on the Layout tab and you can resize it to something more usable.
Use Expat Shield or any other program that provides a UK IP address.
Get_iPlayer will do the download job.
No RTMP error, then.
UKBestVPN may not be as stable to bypass the IP restriction as Expat Shield is.

warning: Unable to read symbols for xxxx (8C148)/Symbols/usr/lib/info/dns.so (file not found)

Not sure what this is about... dns.so?
(I only have this problem on the iPod device... but the simulator works fine.)
This WARNING(NSLog) shows on installing the app on the iPod:
warning: Unable to read symbols for /Users/xxxxxx/Library/Developer/Xcode/iOS DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so (file not found).
warning: No copy of dns.so found locally, reading from memory on remote device. This may slow down the debug session.
This ERROR(NSLog) shows up with the app running on the iPod:
2012-01-09 18:32:12.071 PlotData[868:307] Received memory warning. Level=1
2012-01-09 18:32:18.256 PlotData[868:307] Received memory warning. Level=2
Then the app crashes out... and sometimes locks the iPod entirely.