Trash box is getting full quickly with dyld_shared_cache_arm64 file - xcode

My mac got a trash box always full soon. Even if I clean trash box, it cause over and over again.
Does anyone know what is dyld_shared_cache_arm64 files?
Please let me know how handle it.

I don't know the reason.
However I figured out.
Whenever I have my iPhone8 connect into Mac with USB Cabel.
Every one minutes, 1.62Gb back up file were made.
I stoped to connect iPhone8 and Mac to get charge.
Thanks.

Suddenly also happening to me, in my case, i was uninstalling and then installing again Xcode. After some time browsing i found this article that helped me, simply disconnect your phone, open Xcode, go to Window > Devices and Simulators
then
Connect your phone, after it appeared on Devices pane, unpair it, and then disconnect again, reconnect you phone, and do the pairing mechanism and it solved.

dyld_shared_cache means dynamic library shared cache.
Macos may share sth with IOS while connects to your IOS device.

Related

Xcode will continue when AppleTV is connected

I seem to do everything right: I connect AppleTV to the same wi-fi as my Mac, but when trying to deploy to AppleTV, Xcode says "Xcode will continue when AppleTV is connected".
The same thing happens when I connect AppleTV and my Mac via the cable!
If I go to "Devices and Simulators" option, it says AppleTV is locked.
This does not look like a "real" problem because I sometimes am successful on deploying, but these errors keep coming back after one or two successful deployments...
What am I doing wrong? Any thoughts on this?
This issue seems to be a hardware issue: I bought a new AppleTV, everything worked fine.
At times though the connection gets lost. The troubleshooting for that is re-pair AppleTV and Mac. You probably will need to also restart the Mac as the UI does not always allow to unpair the connected devices.

Xcode Project won't run on iOS Device

Xcode gives me this message every-time I try running my app on my iPhone. (Works fine on the simulator.) (And this occurs in every project I have.) (I also just downloaded Xcode again.)
This is the message I get.
App Installation Failed.
Unknown Error Occurred.
How do I fix this error?
Unplugging iOS Device and plugging it back it in fixed it for me.
Alright, it was a simple fix:
Go into Xcode Preferences -> Accounts -> More Info. Hit the refresh icon.
Clean your project. Project -> Clean.
Force quit Xcode.
Reboot Mac and Device.
If you have the same App but downloaded from AppStore, I suggest to remove the App manually from your device, then try to run the new version with XCode.
After following the suggestions in this thread (restarting iPhone, cleaning Xcode project, quitting and re-launching Xcode) and others (setting Team to None then back to my Team) and unplugging and replugging Lightning connector from my iPhone 6 I was still experiencing this problem. Xcode would even display an error that my iPhone 6 was locked, even though it was not.
I was able to fix it by unplugging the USB-A connector of the USB to Lightning cable from my MacBook Pro, then plugging it back in. I'm not sure why that made the difference, but glad that it did resolve this annoying problem.
I have this issue regularly. There are a number of techniques that help me overcome it, including the classic "turn it off and back on again."
One thing that isn't mentioned here is that the iPhone should be switched on, unlocked, connected to the mac and then the app should be run (with the iPhone unlocked). Don't lock it!
Make sure your device name doesn't have any emoji (Xcode 11.0)
if you using vpn services, then you need to turn off vpn. Works for me

XCode alert says UPDATING_LOCKED_* on launch

This is on OS X Yosemite. It appears when I try launching Xcode.
There are no updates shown in the App Store and there are no active downloading updates shown, either. Not exactly the pinnacle of Apple's great user experiences.
I hope I don't have to do a clean install…
This happened to me during the installation of iTunes 12.2.1 (1220C173).
I restarted my computer and ended the update, then Xcode opened properly.
Happened to me as well. Restarting the computer fixed it.
Restart fixed mine too - after restarting, it asked me if I wanted to install some required components, and once that was done it worked fine.
Opening Xcode from the App Store fixed this issue for me.
Looking at the screenshot it seems a weird error. I don't think there will be a easy solution for this error. You have to go through the hard way.
Update/Install xcode again. If it didn't then
Update iTunes and launch/download Xcode again. If it didn't then
Update your Mac OS and try the above
P.S: I usually download xcode from here rather than from Appstore( requires Apple ID to login) https://developer.apple.com/downloads/
In my case I attempted to download Xcode 6.4 from the AppStore and got this same message AND the AppStore progress indicator was stuck; I couldn't pause the download because the button was grayed out. I rebooted and restarted the download a few times to no avail. But then I decided to wait and let the thing work itself out, and it did. Aparently there is a bug in the AppStore download for Xcode 6.4 that DOES download it (and it took forever in my slow connection) but does not show a progress bar. When I opened the Activity Monitor's Network tab, there it was!

Couldn't register "Application" with the bootstrap server [duplicate]

I keep getting this error when launching my app on the iOS Simulator:
Couldn't register com.mycompany.MyApp with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger.
I've read other reports of this error and it seems there is no obvious fix for it (restarting the iOS Simulator, restarting Xcode etc..)
At this point here's a list of things I've tried:
Restarting the Simulator
Restarting Xcode
Rebooting my machine
Deleting my app's Derived Data, and Cleaning
Deleting the iOS Simulator App Support directory
Reverting to a 2 weeks old version of the app (which was working 2 weeks ago)
Deleting the application in the Simulator (by clicking-holding on it and hitting the X button)
Upgrading Xcode form 4.1 to 4.2, and running the app both in iOS Simulator 4.3 and 5.0
Nothing worked, I still get the same bootstrap error.. Any (and at this point I really do mean ANY) suggestion would be appreciated.
Edit: Just wanted to add that the app runs fine on a device. I only get this error on the simulator...
As the GDB said:
This generally means that another instance of this process was already running or is hung in the debugger
So find out it and kill it. ;)
I restarted the mac, and it run successfully.
Tip: Well, this may be not work sometimes, so I strongly suggest that you press cmd+. to make sure that you do have stopped the simulator (or device). I find that in most cases the simulator (or device) will not stop exactly when it crashes. I rarely met this issue again with pressing the cmd+. every time it crashes or even just normal exit. Hope this will be helpful. :)
I just closed my xcode & restart my device(ipad2) and it works for me :)
You can try this :: Couldn't register with the bootstrap Server
Another solution, go to clear the memory of the iphone simulator
Simulator > recovery content and setting
then run the program again.
i just change the identifier and the app can work again.
I had to change my bundle identifier finally
No matter you reboot all devices and cleanup all , it gets stuck hard in the debugger..
don't know how to clear it..
As I experienced, device (or simulator) restart does solve the issue,
BUT it would be better not to couse it.
Also my experience is that:
You can find the place of crash by cousing it. In such time developers usually press "STOP the running scheme" this could cause zombie process stuck in device.
BUT
if you press "COUNTINUE program execution", debugger will terminate the process, it will not become a zombie.
I had this error too and I noticed that it works for me if you close the simulator and stop the program and then change your company name.
I don't know why but it works for me.
I opened Activity Monitor and searched for my app name, and found another instance of it listed. I used Activity Monitor to quit that instance, and the problem went away for me.

Xcode 4.2 Wirelessly connected devices

I got my device to sync wirelessly with iTunes and the devices shows up in the organizer. The only problem is that the dot next to it is yellow and I get a message saying "Unable to read from device".
When I plug it in, it works just fine, but trying to access it wirelessly doesn't.
Anyone ever run into that kind of problem before? If so, what did you do to fix it?
Thanks!
Ha! I think I figured it out. The reason why I couldn't sync wirelessly with Xcode is because iTunes was syncing everything BUT apps. Your iTunes needs to be syncing your apps in order for Xcode to push apps to it. It makes sense when you think about it... :)
Let me know if that works for you too!

Resources