Wireless Debugging in Xcode4.2 - xcode

When I use wireless debugging in Xcod e4.2 it tells me:
Don't know how to run. Try "help target".
Please see "Wireless debugging in xcode" for more information.

Wireless debugging in Xcode 4.2 is still really unstable. I've only been able to get it up and running once or twice before needing to restart Xcode, disabling and reenabling wireless device support, restarting the device, and deleting the app from the device before trying it again (not necessarily in this order).
Hopefully they'll get it working better soon.

Related

Xcode 11 No Device Conditions Available

I trying to add device conditions in my Xcode 11 so that I can simulate a slower network connection. However, when opening Devices and Simulators window and making sure my device is selected, it says that 'No Conditions Available'
How do I make them appear?
I finally managed to fix this. It appears that you need to have a 'Network Link Conditioner' installed on your Mac (in my case Catalina) for the the option to appear in Devices and Simulator window. To install it, go to Downloads for Apple Developers and download 'Additional Tools for Xcode 11'. Once downloaded, you can find it in the Hardware folder. Interestingly, when trying to install it, I received the following error:
“Network Link Conditioner” preferences is installed with macOS and can’t be replaced.
Despite me unable to find it in preferences. Luckily there is an easy fix described in this answer.
I had the same issue. Try to install the latest system software updates (Xcode Command Line Tools in my case). It worked for me.

Delphi - Checklist for PAServer Connection (Mac OSX)

I have spent the better part of a day trying to connect to PAServer on MAC OSX from my Windows PC with no luck. I am not sure what I am missing.
I am using Delphi 10.2 Tokyo on Windows. Trying to connect to PAServer 19.0 on a Mac Mini running macOS Sierra (10.12.4) on which I already have XCode (v8.3.2) installed along with Command Line Tools.
Both the dev machine as well as the Mac Mini are connected to the same Wifi network. I even tried connecting both machines to a different network but with the same issue.
I get the same error message every time that the connection failed. I suspect that it has something to do with the network - where the 2 machines cannot see each other, but I don't know how I can confirm this or resolve it. I have tried to search on SO as well as online but have not found anything that has helped.
Has anyone seen this issue and overcome it? Is there a set of steps I can go thru to troubleshoot this? Any help or guidance would be most appreciated!
OK - I kept trying out different things and was able to solve this issue (one way to solve it I guess).
Because it seemed like it was network related, I tried first to create a hotspot with my phone and connected the dev machine and the Mac Mini to it. The PAServer connection worked.
So I looked for a way to do this via Windows. Here are the steps I followed:
Open Settings > Network & Internet (on Windows 10)
Go into Mobile Hotspot and select Wi-Fi in the Share my
Connection From dropdown
Set a Network name and Network password
Turn on Share my Internet connection with other devices
Now on the Mac, connect to the network name we set up in step 3 and enter the password that was set. Then start PAServer on the Mac. That's it!
Now when you connect from Delphi to PAServer, the connection succeeds.
Note: Interestingly, when I was not using the mobile hotspot method on Windows, the IP address on PAServer (and on Windows) was 10.xx.xx.xx. With the mobile hotspot, the IP address is 192.xx.xx.xx.
I just configured (today) a new macos sierra with paserver. yes it's painfull :(
don't use virtualbox (it's buggy and slow), but use instead VMware, it's work like a charm. it's much more easy to have only one computer to develop than 2. also you can copy/past the log or anythink else from macosx to windows (or vice-versa) in just one click. and you will not have any internet problem or anything else ...

Getting Network Link conditioner to only affect iOS Simulator, not the entire Mac?

Is there a way to use Apple's Network Link Conditioner in such a way that it only affects the iOS Simulator, and not the rest of the Mac?
My KB+M is connected to the Mac via a program called Synergy, which lets me share my Windows KB+M with it, and attempting to run unit tests on the iOS Simulator with any packet loss profiles selected in the Network Link Conditioner makes it almost impossible to control the Mac at all.
I have had the same issue for a while and have been trying to find a solution.
I eventually gave up and started using the Charles Web Proxy instead because it's free (they claim only for 30 days but it works forever) and it allows you to choose which websites you want to throttle internet access for.
Please share if you can do something like that with the network link conditioner.

Why won't ADB recognize my Samsung Fascinate on Mac OSX?

I am trying to write some android apps on Mac OSX and then test them on my Samsung Fascinate (Verizon), but ADB will not recognize the phone. I have tried everything from restarting adb, to reinstalling the SDK. It works on the linux/windows machine that I have, and I know Mac is recognizing the device, because it shows up in System Information.
Other people posted that EasyTether caused problems for them and I previously used EasyTether, but I removed every trace of EasyTether from my machine so that should not be the problem.
I also recently restored the phone to stock through Odin so the problem is definitely not on my phone. If anything, it is a Mac problem.
Anyone have any ideas why this isn't working? I appreciate the help.
I was having the same problem. What fixed it for me was going in to the USB connection option after it registers on the phone side and changing to USB Mass Storage mode. This was counter-intuitive since PC Mode is supposed to be for debugging, but on the Mac this caused the device to register with the adb server and I am able to debug my apps; it will not work for me when the connection is set to anything else.
Just had the same problem and removing EasyTether and then disconnecting/reconnecting solved the problem for me.
This site has some tips (bottompart of the page) which could help you.

Shark crashes on processor bandwidth trace

Shark started crashing on me when I use the "Processor Bandwidth (Core 2)" mode of analysis. It collects the samples, spends the time to analyze them, and crashes with a bus error about when the window should come up.
First I thought it might be because I've been running on low memory. I installed the latest system updates, rebooted, tried again. No difference. Installed latest XCode, no difference. Used CHUD Remover, reinstalled Shark, rebooted, no difference. Tried building with symbols and without.
All the other analyses work. I don't have any third-party KEXTs and never had problems with this before.
Has anyone else seen this? Is there another forum where I can ask this kind of thing? (Apple's dev forums require a $500/yr support package!) Is there a verbose mode for Shark, perhaps via command-line option?
You might try the apple perfoptimization-dev mailing list.
Even if this turns out to be an easily solved issue, please file a bug. You need to have a developer account, but a free account is fine.

Resources