How do I show all calendar events in "Today view" in iOS 9? I just updated my iPhone to iOS 9 and noticed my "Today View" only lists my next calendar event vs all my calendar events for the day.

Is there a way to change this so it shows all calendar events for the day?

I frequently use this to quickly see what's scheduled for my day and plan ahead for meetings, breaks, etc. later in the day. I cannot find anything in Settings > Notifications, or on the Edit menu on the Today View.

Add'd info: My iPhone is a 5s and I updated from iOS 7, skipping iOS 8, so I'm not sure if this change was in iOS 8 since I skipped it.

I don't know if by "Today's View" you actually mean the iOS 9 "Todays View" or the Calendar Widget. To activate the Calendar Widget scroll to the end of your Notification Center and touch "Edit" and add the Calendar Widget.

Now, regarding how the info of your next appointments on the Calendar Widget will look like, it depends on how you present them on the actual Calendar App.

As you can see in the pictures bellow, on the left you have a relative presentation of the events and on the right an absolute presentation.

I hope this clarifies things a bit.


Running an iOS Emulator on Mac I can't seem to find any updated (or reliable) sources of iOS emulators for Mac, I am running Sierra.

At first I believed that in Xcode, when I went to run my app, was running an emulator, but I was mistaken. I guess it's a simulator. The difference is they have different compatibilities, so if you take an .ipa (iOS app) file and install it onto the Simulator, the app will crash.

My question is are there any iOS emulators out there where I can install real apps from the App Store, or from an .ipa file.

I couldn't find anything so any help or suggestions would be much appreciated, thanks!

There is a recently announced service Corellium that offers virtualised cloud instances of iOS.  It's not publicly available yet though and no word of how much it will cost.  I'm not aware of any way of running them on your desktop though other than the Xcode simulator.

It is the kind of thing I imagine Apple would have been quick to clamp down on in the past although there is lots of talk about the two app stores converging in the near future so who knows what will happen.

See these links for more info on that:

https://9to5mac.com/2017/12/21/apple-cross-platform-apps-opinion/
https://www.bloomberg.com/news/articles/2017-12-20/apple-is-said-to-have-plan-to-combine-iphone-ipad-and-mac-apps

UPDATE:

Apparently a number of researchers have had varying degrees of success booting iOS in QEMU.  Here is an article providing a guide on getting iOS 12 to the point of launchd and recoveryd running:

https://worthdoingbadly.com/xnuqemu2/

In it's current state it will not allow you to run apps but very interesting none the less and worth keeping an eye as Corellium still appears to be invite only.

UPDATE 2:

Apple is attempting to slowly destroy Corellium. The user daeken on Twitter has been developing an emulator for iOS simulator on macOS that they have stated they are close to releasing (May 2020) though, but will be a commercial product.  They appear to have put in a huge amount of work and have demonstrated a number of apps working on it.


Why is my MacBook Pro quitting and/or failing to start up? This is an issue that started today.

Last night I shut down the machine. This morning I switched it on and got the initial sound but not the chime. The sleep indicator light would blink in groups of 3 blinks. I checked the battery. And also tried some tips on the Apple site for troubleshooting a MBP that won't turn on. Anyway, after looking at a couple of forums, I wound up removing and re-seating the memory. Ok, then it works for about 45 minutes, but then the screen went black and again the 3-blinks of the sleep light.

What should I try next in troubleshooting this machine?

I have had no problems in terms of performance or other issues til today. The MBP is from early 2008. There was an iTunes update yesterday and otherwise no new software or updates. Also no external devices plugged in.

However it did have the power supply connected. I did notice this morning that the power supply had come loose from the power strip -- possibly caused by a cat. This is the only thing that seemed to be a variance from usual.

Thanks.

Anyone? Links or tips on MBP diagnostics would be appreciated.

The blinking is a for of POST (Power On Self Test) and can certainly help diagnose the issue.

As most people are saying it is most likely a RAM issue.

The following documents can help diagnose POST messages and various issues related to your laptop during the boot process:

Intel-based Mac: Startup sequence and error codes, symbols
Intel-based Mac Power On Self Test RAM error codes
Your Mac won't start up in Mac OS X (Mac OS X 10.3.9 or earlier)


MacBook Pro won't turn on after Catalina update I have a 2017 13 inch MacBook Pro without a touchbar.

I upgraded from Mojave to Catalina and left the computer to do its thing. Now about an hour later, my computer seems to be off and won't turn on. It's connected to the charger and had a full battery when I started the update. Now it's basically dead. I've long pressed the power button for more than six seconds and tried short pressing it but nothing. I've tried this several times now.

I'm in lockdown and can't visit an Apple Store either.

EDIT:  Steve Chambers' comment about resetting the SMC worked for me. When it restarted, it had Catalina installed. I still do not know what went wrong but hopefully, this helps others who might end up in the same boat.

This sounds like it might be fixed by an SMC reset.Apple: Reset SMC

And on current Macs this is done like this:

Shut down your Mac.
Press and hold the power button for 10 seconds, then release the button.
Wait a few seconds, then press the power button to turn on your Mac


What's the difference between the OS X version and build numbers? Just for my curiosity and knowledge, from a software and hardware perspective, what's the difference between the OS X version and build numbers?

Example: Version 10.10.3 (14D136)

System Version Number follows the MAJOR.MINOR.PATCH convention. From this site:

Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards-compatible manner, and
PATCH version when you make backwards-compatible bug fixes.

Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

The number in brackets (14D136) is the build number (more info on the Apple site). This number is mainly for Apple developers, since normal users do not have access to non-public builds. In continuous integration, new builds can be made daily/weekly - every time the build number is incremented. When the developers/PMs (or anyone else in charge) is "happy" with the build, it can be released. Build numbers are constructed arbitrarily (I don't know of any standard numbering). It looks like Apple increments the first number by every MINOR release, then the letter with PATCH release and the last number is the real build number.


2008 MacBook Air connected to a 2011 iMac from DVI to Thunderbolt? I have an original 13" MacBook Air from early 2008 with a micro-DVI interface and a 2011 27" iMac that I would like to use as a monitor for the MacBook Air.

A cable that converts the micro-DVI to a DVI connection came with the MacBook but of course there is only a Thunderbolt display on the iMac and I would like to know if there is (officially or un-officially) a cable that will go from DVI to Thunderbolt so I can work on my MacBook Air and see what I am doing on my iMac please?

You should search for a DVI to Mini-Display port, as Mini-Display cables are compatible with Thunderbolt ports. A quick google search turned up this  from the apple store. Be aware that this is a DVI-D adapter, which means it only outputs digital signals.


Setting up wireless hot spot on Lion, DHCP issues I have Lion communicating via wire to old (spaceship) AEBS which is currently DHCP serving an IP address to the Lion. The AEBS plugged in via wire to the cable modem.

I want to set up internet sharing on the Lion using its 801.11n wireless connection.

I set up the Lion and get the grey up-arrow, no problem. Except as soon as it launches, then the Lion loses internet access. I assume this is because I have defacto created two DHCP servers.

So want I think will solve it is to stop the Lion from requesting an address from AEBS. E.g. manually assign it to 10.0.1.2.

I must be doing something dumb here though, because once I set to a manual IP address then the AEBS is refusing to let me access the internet. What settings should be on it (subnet masks, etc). I'd still like the AEBS to provide DNS, etc.

I have not purchase the OS X Server software but am happy to do so if needed.

Ok, got it. Upgrading Extreme to 7.6.3 might have been the root cause, but in addition I set up two wireless nets rather than one. Here is the set-up

CableModem -> Airport(Spaceship) running 11g serving DHCP values above 10.0.1.100 but accepting 10.0.1.xx with subnet mask. 11g given an obscure (private) name for the wireless account.

Spaceship -> Mac Mini via wire. Mac Mini with fixed address of 10.0.1.2

Mac Mini running internet sharing on 11n. Every wireless in the house able to connect via 11n. The 11n given a different (public) name for the wireless account and that's the wireless I tell friends visiting house.

AirportExtreme -> running in bridge mode, connecting via WDS to Spaceship, reading the 11g. Output on wire from the Extreme going to BoxWithNoWireless

BoxWithNoWireless requests DHCP and gets served an IP address from the Extreme.

Once all in place I did need to reboot the cable-modem too. Not sure why.

Not as clean as running a single 11n everywhere, however, and the BoxWithNoWireless is going to be running Netflix, etc, so I was really hoping to get 11n. But this at least gets me up-and-running.


Where are all of the different Python Copies Installed? How can I find all of the different Python(s) installed on my Mac? I've accidentally damaged a copy of Python 3 that was under /usr/local/bin, and want to replace it/fix it, but I don't even know how Python 3 got there in the first place – macOS only ships with 2.7.

Can I use HomeBrew to fix a broken copy?

How can I clean up my Python copies, so that I just have what should be there?

You can re-install the python3 that you messed up. With brew install python3  This linked question talks about the command line tools that may be need to complete the install. https://stackoverflow.com/questions/14583427/brew-install-python3-fails

To remove the home-brew versions, so that you only have the system original
brew remove python python3  && brew cleanup


iPad app to take notes in mathematics I would like to take mathematical notes with my iPad so that at the end of the process I would have a PDF file of A4 pages.

Do you have any idea?

PS: I have tried Nebo but it is too complicated to type a whole page of mathematics.

I would recommend Noteshelf 2 or GoodNotes. Both are not explicitly math-apps, but really good note-taking tools. You can export all your notes as PDF and even import PDFs or pictures in a note


Factory unlock iPhone 4 I'm in India.

I bought an iPhone 4 some time back. The vendor informed me that it is a factory unlocked version (iPhone 4 is officially not launched in India yet).

So, my questions are

Is there a way to find out whether it is a genuinely factory unlocked version?
If it's indeed a factory unlocked version, will I be able to update to the latest iOS version without getting it locked?
Since it is either a Canada/UK version, will updating the iOS in India create any problem (auto IP detection, time zone blah blah)?

I tried installing an .ipa file directly and it didnt work. What I'm guessing through that is that my iPhone is not a jailbroken one. I read somewhere that to unlock an iPhone, one needs to jailbreak it first. That concludes, it is indeed a factory unlock version since any GSM SIM works.

Do you think my logic is correct?

Your logic is not correct. For a while, there were people offering unlocking services for around US$170 who are believed to have bribed an employee of Apple or a mobile phone operator to unlock phones using the official channels, and those phones also didn't need to be jailbroken. There's no way I know of to distinguish one of those phones from a factory unlocked one.

Assuming it is a genuine factory unlock, there should be no problems -- I have a UK factory unlocked iPhone 4 and have upgraded the OS several times, though I've never tried to do so in another country.


Can iTunes Match grab "invisible" (placeholder) songs? I have a drive which has a folder full of MP3s on it. At one point, I added all of these MP3s to my iTunes Library; sometime after that, my folder turned into a Unix executable file.

My question is this: If I turn on iTunes Match and point it at the list of songs I have in my library -- as the list is still there, even though the files themselves can't be found -- will it scan the info saved in iTunes and use that to match with songs in the cloud? Or will it need the actual files, from which it can scan metadata to check in Gracenote?

iTunes Match matches based on the audio fingerprint of the files, simply having the metadata won't do. The process has nothing to do with Gracenote's metadata in any form. If it was just based on the metadata, you could change it and pretend to have whatever songs you want, and clearly that's something Apple wouldn't want you to be able to do.


Is there a program that automatically tiles all (new) windows? I'm doing a research on different ways to manage windows on a computer and for that reason I'm searching for a program that automatically tiles all opened Windows including new ones.

I know that there are some programs that use certain Shortcuts to tile all Windows but I don't know if one of them can be configured to do that automatically, so that there are basically no overlapping windows.

I'm not sure whether there are ways to automatically tile all open windows, but both BetterTouchToool (blog.boastr.net, free) or BetterSnapTool (https://itunes.apple.com/de/app/bettersnaptool/id417375580?mt=12) let you organize windows.

I'm not familiar with BetterSnapTool, but with BetterTouchTool you can configure your own actions, so you might be able to get what you want by using a series of built-in actions.


MacBook (13-inch, Late 2009) only boots up to Apple logo with little spinning wheel Using single-user mode, I get this message:

  launchctl: Please convert the following to launchd: /etc/mach_init.d/dashboardadvisory.plist

What does it mean and how do I convert launchctl to launchd?

This is your one and only hope that I know of.

Login Single User Mode and to repair a disk

Boot the Mac into Single User Mode by holding down Command+S during system boot. After you hear the boot chime, you know you will have successfully entered Single User Mode because you will see a bunch of white text on a black background scroll by.

When the Single User boot sequence has finished, you’ll find a small command prompt at the bottom of the screen prefixed by a hash sign (#), when you see that type the following command exactly:

fsck -fy

Once fsck completes, if you see a “File system was modified” message, then you should run “fsck -fy” again until you see a message stating “The volume (name) appears to be OK” – this is standard procedure of using fsck.

Type “reboot” to leave Single User Mode and boot the Mac back into OS X as usual.
Once OS X is booted again, it can be a good idea to confirm all is well by going back to Disk Utility and running the “Verify” tool to check on the drive's health.

If the above does not work

I hate to share this with you, but I have never seen a fix for this, other than connect the drive to another Mac and recover any files you can access at this point.

95% chance a reformat is the only solution.

Try to save what you can and hopefully there are no important files on the drive.


How can I run a command that requires user input through oh-my-zsh alias? I'm trying to add Reminder.app items through the command line by invoking an alias. I use the Automator workflow solution from this question: How can I add reminders via the command line?, which invokes a basic workflow containing an empty Reminders item, via the following command line input:

automator -i remindertext add_reminder.workflow

This works perfectly, but is clumsy to type, so I want to set an alias for it. My question is: how do I set an alias in .zshrc that allows for me to set the reminder item text when I invoke the alias? It would basically need to be able to replace 'remindertext' with a variable, like so:

alias reminder='automator -i <variable> add_reminder.workflow'

Is this possible in zsh/oh-my-zsh?

Aliases are used as a shortcuts - sipmple commands that expand to longer ones.
If you need to pass an argument to it, you would need to create a function.
Maybe try something like:

reminder () { automator -i $1 add_reminder.workflow' }

Here $1 will expand to the first argument that you've passed to the function.
So you'll to do something like:

reminder "Buy potatoes"

P.S: I haven't tried it, since I don't have zsh with me right now, so if it breaks, give me a shout.


Apple TV: Account verification nuisance My Apple TV keeps nagging me to enter my password for account verification.

When I give it the correct password, it appears to accept it, but will continue to ask for verification.

Verification isn't even actually required, because it gives the option to decline, so it's pointless.

It's easy enough to deal with but it's constantly harrassing me with frequent verification request popups during movies, etc.

Does anyone else have the same problem, or is it an isolated case?
Does anyone have a solution, short of contacting Apple? Thanks.

Depending on what specific verification item is problematic, you might need to reset the Apple TV and make sure your Apple ID and date/time setting work before loading any third party apps or logging into other accounts.

There is a chance you could use Xcode to look over the AppleTV logs and determine what app is triggering the requests, but it might be faster to wipe and verify it’s not software corruption or storage issue.


how do I set my HD to be case-sensitive I am running on OSX Maverick. I just realized that my machine is case insensitive.  How do I reset my HD to be case-sensitive?

This is the inverse of this solution on superuser.

The easiest way is to use a tool like Carbon Copy Cloner, clone the volume to an external drive, format your drive as case sensitive and restore it back. As this inverse question "Can CCC backup a case sensitive volume and restore to a case insensitive volume?" and answer on the CCC forums describes:

  Yes, that should work fine. I just did a quick "backup bouncer" test with this scenario (10.6.2) and it worked great. The only potential issue is if you had some items with the same name, differing only in case, in the same directory. Only one of them would be copied over to the case-insensitive filesystem. For example:

  /Users/david/Desktop/Files
  /Users/david/Desktop/files

  You could have both those folders on a case sensitive filesystem, but the last item to be copied to a case insensitive filesystem would overwrite the previous item with the same name, different case. I really doubt that you've created such a scenario yourself, and the OS certainly doesn't do it for the standard installation, so I would be too concerned about this. Clone away, it should work great.

  Mike

The other solution is to experiment with this older HFS Converter tool. Have a backup before you attempt this.


AMFI: allowing exception handler - because the handler was set by master-entitled process ´launchd´, VirtualBox I installed macOS Sierra 10.12 like Guest on VirtualBox 5.1.10 on my MacBook Air with macOS Sierra too.

I facing errors!
I login with difficulties an when I can, raise the error and I need to log in... the machine is not halt totally.

Here the video with the problem: https://www.youtube.com/watch?v=xALbh0S9FwQ

For me is difficult to extract all Logs.

AMFI: allowing exception handler for ´WindowServer´ (813) because the handler was set by master-entitled process ´launchd´ (1)
AMFI: allowing exception handler for ´loginwindow´ (812) because the handler was set by master-entitled process ´init´ (1)
AMFI: allowing exception handler for ´loginwindow´ (812) because the handler was set by master-entitled process ´launchd´ (1)
IOConsoleUsers: time(0) 0->0, lin 0, llk 1,
IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0

Some times:

SandboxViolation: fontd(1594) deny(1) file-issue-extension /Network/Library
SandboxViolation: languageassetd(544) deny(1) network-outbound /private/var/run/mDNSResponder

I want to know what solve it, and unsterstand what happens!

Thank you.

I found my problem!

I was using in VirtualBox 5.1.14. Type:Mac OS X and Version:Mac OS X 10.11 El Capitan (64-bit) the problem raise up!

But using Version:Mac OS X (64-bit) works perfectly.


Can I use a Mac Mini as an Airplay audio receiver? I don't have an AppleTV (yet), but I do have a Mac Mini hooked up to some decent speakers.  Is there something I can run on it, so that it acts like an Airplay audio receiver?

(Video support isn't important to me.)

Proprietary:

AirServer - audio and streaming, Mac/Windows, $15
Reflector - audio and streaming, Mac/Windows/Android, $15
AirFoil - audio only, Mac/Windows/Linux, $30 for Mac/Win, $40 for both, free for linux

Open Source:

casualShare audio and streaming, Java + NodeJS, open source
AirStream (Ruby) - audio and streaming, source only
Kodi - formerly XBMC, audio and streaming, Mac/Windows/Linux+, open source
Shairport Sync - audio only (multi-room), source only (C/make); this is the not-dead version of Shairport

Dead:

AirPlay for Totem - audio and streaming
AirMac, on GitHub - audio and streaming, source only (Objective-C)
AirStream (C#) - audio and streaming, source only
Shairport - audio only, source only (C/make + perl)
Banana TV audio and streaming, Mac, free, but only supports iOS 4.2 through 4.3.5


Does remapping modifier keys affect special boots? I'm running Catalina 10.15.5.  In the keyboard preferences there is the option to remap modifier keys, which I've done.  My question is, do these remappings apply when using the remapped keys for special booting options like NVRAM reset boots (https://support.apple.com/en-us/HT204063), etc?

No, the operating system isn’t running before boot so modifications to the OS are not in play before it starts.


Set sublime text to read .asp files as .php files (with php syntax) I have a few .asp files that I want to edit with Sublime Text, however, I always have to change the syntax to PHP under View -> Syntax -> PHP. Is there anyway that I can make Sublime Text automatically read it as PHP?

Go to View → Syntax → Open all with current extension as... and select PHP. Check the image below:


Can a RAM module not be compatible with Macs? There are DDR3 RAM modules sold on Amazon (branded by KomputerBay) where it is specified that they are "PC only" and not for Mac. They cost around £41.99 ($68).

The same company has modules with the same exact technical specifications on Amazon, called "for Apple" RAM. They cost significantly more £53.99 ($87).

Apart from the $20 price jump, what could be different? Is this a scam to make Apple users pay more?

Here are the specifications of both the "PC only" and "MacMemory" RAM from KomputerBay:

PC3-12800 (1600MHz)
Gold leads
Supports Dual Channel
DDR3
204 Pin
Laptop memory upgrade
Non-ECC
Non-Parity
Unbuffered
Density: 16GB (2x 8GB SO-DIMM)
Timing: 10-10-10-27 (1600 MHz)
Speed: 1600MHz CL10
Pin Out: 204 Pin
1.5V
Lifetime Warranty

Since Apple is using the same CPU and mostly intel logic boards, as long as you get the CAS latency and other details exactly perfect, it's hard to imagine you would buy the wrong memory.

Perhaps it boils down to support and testing. If the vendor literally spends more money testing and supporting the Mac memory, it's their privilege to sell it for more. If they don't and are just looking to maximize profit, that happens too. Look at Amazon charging different price based on who they think you are, what you have bought, etc... Same with airlines that charge different prices based on cookies set from previous flight searches.

In the end - all that matters is you understand the return policy and how to test things once you get the RAM. Then it's just a calculation, you estimate how much is your time is worth and you minimize your transaction cost - pay more for an easy buy that saves you time or spend more time looking for and researching a bargain. Perhaps the seller has decided Mac users value their time more highly and you can score a deal by saying you are buying PC RAM.

Happy RAM hunting.


Read geotagging data from iphone photos exif data I shoot photos with my iPhone and localization services are active.

When I open a photo from my Mac Preview (tools > show inspector > exif) I can't see any geotagging data.

BUT, when I open the image with my Mac Photos it correctly positions a pin on a map.

So, my question is: why I can't see geotagging data (GPS latitude and longitude) if it is clear they are written somewhere in the image? If they weren't, how could the map position the pin correctly?

I tried various services online but I can't see any geodata either.

If you are looking for an EXIF viewer on your Mac (which may show the location on a map or the actual GPS coordinates), I would suggest Image Exif Editor. If you look at the screenshots for this app, it clearly shows the GPS coordinates. If you are looking for something similar for your iPhone or iPad, I would recommend doing a search in the App Store using the search criteria "EXIF."


Is there any way to review all file moves done with Finder? I recently setup a new Macbook. I had a few apps open, and noticed all of a sudden a Finder dialogue window that showed thousands of files being transferred to 'Movies.'  I believe it said '...files being copied to Movies.'  And it was in the magnitude of 10's of thousands of files.
I quickly cancelled this process because whatever it was, was not intentional.  There is nothing now in the Movies folder.  And this is a brand new Macbook to which I did not migrate any personal data.
Im now paranoid about what those files were, how that process started, if I have malware, etc.
For my peace of mind I want to see if it's possible to find a log of all activity in Finder that would show details about that unintentional file transfer.  I tried looking at the Console application, and system.log file but Im not sure if that's the right place to look.

There’s no need to review since Finder cleans up a bulk move almost always and when it doesn’t - you will see the files sitting in the new location.
One way way to know what changes from day to day is Time Machine, so for your peace of mind, set that up and now you’ll have a reliable measure to track files even if they move / delete and even better - you’ll have a backup and not just a record of what was lost or misplaced.


Applications installed with brew cask install won't launch for other users I have two users accounts on my Mac, one for personal use and one for work use.  I use Homebrew to install most of my applications.

However, whatever GUI application I install using brew cask install <app>, it won't launch for the other user.  Every time I try to open such an app with the other user, I get an error like:

I noticed that the application files are installed owned by the installer (in this case the user work):

$ ls -l /Applications/
 ...
drwxr-xr-x@  3 root    wheel   96 Feb 11 20:13 Siri.app/
drwxr-xr-x@  3 work    staff   96 Feb  6 19:52 Spotify.app/

How can I get the apps to launch also for other users on the system?

The issue seems to be some directories in the app folders missing the execute bit. You can check permissions using for example:

find /Applications/Spotify.app/ -type d -exec ls -ld {} \;

Directories should have permissions drwxr-xr-x@ but some were drwxr--r--@.

The following command will change all directories to have the execute permission present:

sudo find /Applications/Spotify.app/ -type d -exec chmod og+x {} \;

The same needs to be run for all apps having this issue.


GFortran compiler error on Mac OS Big Sur I am trying to compile a hello world program in fortran on Mac OS Big Sur. Before updating everything  worked fine.
I compile with this line:
~ % gfortran hw.f90
--> ld: library not found for -lSystem
    collect2: error: ld returned 1 exit status

I have installed gnu gfortran and gcc before updating. Version command output:
~ % gfortran --version
--> GNU Fortran (Homebrew GCC 10.2.0) 10.2.0
    Copyright (C) 2020 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

~ % gcc --version
--> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
    Apple clang version 12.0.0 (clang-1200.0.32.28)
    Target: x86_64-apple-darwin20.2.0
    Thread model: posix
    InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Output of which command:
~ % which gfortran
--> /usr/local/bin/gfortran

~ % which gcc
--> /usr/bin/gcc

I have been able to fix the issue with the help of the following two posts:

https://developer.apple.com/forums/thread/666700
https://stackoverflow.com/questions/27314733/make-usr-local-lib-a-default-library-search-path-for-ld-on-mac-os-x

The problem is that after the update the System library is no longer in the search paths of the gcc. I solved this by adding it manually to the zprofile, so that anytime I run the Terminal, variable $LIBRARY_PATH is set.
To fix this issue
Edit file /private/etc/zprofile
Add this to the end of the file:
if [ -z "${LIBRARY_PATH}" ]; then
    export LIBRARY_PATH="/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
else
    export LIBRARY_PATH="$LIBRARY_PATH:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
fi

Restart Terminal


Upgrade mid 2011 27" iMac: replace Superdrive with SSD and create Fusion drive? Are there any caveats when removing the Superdrive from a mid 2011 27" iMac and replacing it with an SSD?

Which SSD should I buy? Is there maybe an installation kit somebody has already installed successfully?

My intention is to combine the SSD and the existing HDD into a Fusion drive.

Be carefull when working on an imac and ensure you have the correct tools - corrct size Torx drivers and a suction cup or two to remove the glass safely. Also use iFixit for a guide on how to do this such as https://www.ifixit.com/Guide/iMac+Intel+27-Inch+EMC+2309+and+2374+Optical+Drive+Replacement/1637

I would suggest a superdrive HDD enclosure. You will need a 12.7mm one such as: http://www.amazon.co.uk/adapter-caddy-Apple-iMac-slot-/dp/B00C0NU1TU/ref=sr_1_1?ie=UTF8&qid=1415181905&sr=8-1&keywords=imac+superdrive+enclosure They are around £10-£25.

Ensure that you remove the optical drive thermal sensor and replace it back onto the SSD.

As far as SSD choice I have used Crucial, Samsung and OCZ. The Samsung evo series are very good speed over price.

I would also suggest moving your mac os install to the ssd and using the normal HDD as storage, this will improve speed.


How to open .cfg file on iOS I have downloaded a .cfg file from
Windows 7 that I want to open in iOS. Are there any apps that will allow me to read the contents of this file ?

A .cfg is a config file for programs, saved in plain text, used in Windows.

To view on iOS simply...

Install iFile
Transfer the file to your iOS Device (Easiest is via iCloud)
Open iFile
Import into iFile (For iCloud: Navigate to Clouds>iCloud>Select File)

6.Go to Files

7.Tap on the file to view

To edit (and/or view) simply...

Rename file.cfg to file.cfg.txt
Transfer the file to your iOS Device (Easiest is via iCloud)
Install Textor
Open the file in Textor and edit

Note: I am not affiliated with any of the apps above and will not gain financially or otherwise from the purchasing/downloading/using of these apps. They were merely suggestions.


Quick Look not working for CSS and JavaScript files I have installed the QLColorCode plugin from this site, so that I can Quick Look JavaScript and CSS files, but it's not working. Pressing the space bar on a code file just shows the icon.

Removing the plugin has no effect either.

Is there another way to Quick Look source code files in macOS?

You don't need any 3rd plugin plugins to Quick Look source code/ASCII text  files. Invoking Quick Look by pressing the spacebar on JavaScript/CSS source code file (which are plain text ASCII encoded) will show you the plain source code text.

Here's what QuickLook shows when invoking Quick Look on a JavaScript file named callback.js:

Installing QLColorCode using Homebrew by running brew cask install qlcolorcode and invoking Quick Look on the same file immediately thereafter shows this color coded output:

Follow the installation instructions on the project homepage to make sure your have correctly installed the plugin:

  This is a Quick Look plugin that renders source code with syntax highlighting, using the Highlight library.

  To install Highlight, download the library manualy, or use homebrew brew install highlight

  To install the plugin, just drag it to ~/Library/QuickLook. You may need to create that folder if it doesn't already exist.

  Alternative, if you use Homebrew-Cask, install with brew cask install qlcolorcode.


Which file types are "ineligible" for iCloud drive? It seems that some files (or name thereof) are "ineligible" for iCloud drive. For example, if the file name ends with a tilde, it cannot be uploaded to iCloud drive. [Example of programs that produce file names with tilde are Emacs (for back files) and RCS (for revision files).]

Has Apple published any reference on what is (or is not) "eligible" in iCloud drive?

This is not an answer but here is a partial list of kind of file names that are considered ineligible for iCloud drive.

Warning: this list is purely based on trial and error on macOS 10.12.16. As of now, there does not appear to be an official documentation on this. So this behaviour may change in future.

Filenames with an extension and ending with tilde. (regex: .*\..*~)
Filenames ending with .tmp
Filenames starting with ~$
Filenames starting with .~
Directories named tmp

It seems that iCloud drive tries to identify temporary files by their names and does not upload them into the clouds.


Gibberish volume in finder which is inaccessible and un-deletable I'm not sure when it got there, but there is what looks like the icon for a time machine volume in my favorites sidebar for finder, but its name is gibberish : "_fTz328nSUG4ZgV4k5KaRm." If I click on it the name flashes the top of the finder window with the body blank then goes back to whatever the window was displaying before. I can't right click it. I can't drag it into the trash, although I can drag it around the favorites bar. I don't know where it came from, but I would like to get rid of it so I don't have to look at it any more. I am running OSX 10.7.5 on an early 2008 Macbook Pro.

Drag it off the Favorites bar?

You didn't give enough details, so I'm not sure you can do this, but hold down the ⌘Command  button and drag it off the Favorites bar (anywhere on the screen).
You will see a cloud-like animation beneath the pointer.
Then, release it.

POOF! It is out of the Favorites bar and your hair. :)


Macbook pro keeps returning to login window No matter what settings I apply within System Preferences, after a time of inactivity the login screen pops up. I'm attempting to backup to an external hard drive and create a time machine backup, but both stop once the login screen appears.

What setting am I missing that will prevent this from happening?

Are you sure it's the full login screen or is it just asking for your password?

If so, you can turn off "Require Password ______ after sleep or screen saver begins" in the "Security and Privacy" system preference.


Apple apps are not free anymore for new iPad Air I recently bought an iPad Air, as as I launched App Store for the first time it gave me an offer to download premium apple apps for free. Though I clicked on download now but due to slow connection they couldn't. Now when I search for same apps, it shows me a price on it.

How can I download them now for free?

Contact iTunes and request help:

https://ssl.apple.com/emea/support/itunes/contact.html

or try this

Sign out from App store
Restart iPad
Go to App store and DO NOT SIGN IN..
Go to app and hopefully you'll see the 'free' button, tap it and sign in when asked.


Any known problems with Ruby/Rails in Lion -> Mountain Lion upgrade? I am currently running OSX Lion on my Mac and I do a lot of Rails development.

I am wondering if upgrading my system to OSX Mountain Lion is going to really mess up my Rails/Ruby work. I run Ruby off of RVM.

I'm not sure about Ruby or Rails development specifically, but here's some things I had to do after upgrading to 10.8. See also this question and this blog post.

I had to install the command line tools package from Xcode's preferences. Xcode no longer includes separate binaries of the LLVM compiler or make or utilities like SetFile by default.
X11.app is no longer installed by default. Some Homebrew formulas required installing XQuartz.
Configuration files in /etc/apache2/ were removed or overwritten. See this question.
ImageMagick didn't work until I uninstalled and installed it again with Homebrew.


Maximizing app window while persisting Menu bar on top I would like to maximize all my app windows, especially browser windows. But I don't want to cover up the Menu bar at the top of the screen.

Right now, when I maximize Google Chrome for instance, it will expand all the way and hide the Menu bar, but when I hover the mouse pointer to the top, the window will jump up and down to reveal/conceal the Menu bar. I find this to be super annoying.

The first step of the dance routine:

The second step of the dance routine:

And, as I move my mouse up/down the view will toggle. I just want the Menu bar to always remain visible, but for my app windows to be maximized. Is that so hard?

You can use the free tool Spectacle App which allows to maximize (but no full-screen) the windows to use all available desktop space with following keyboard shortcut:

Option + Command + F

The keyboard shortcuts are visible in the app menu and can be changed within the app if they interfere with your workflow.


When I update an app, it makes me put in my password then in says update again. It never updated, why does it do that? The app never updates and it keeps telling me to put in my password.

Save your app settings, then try reinstalling it from the ground up.
Looks like an account misconfigure.


Can't install any app, App Store asks for credit card I haven't been installing anything on my iPad Mini for the past few weeks. But previously, I just had to tap on "Install", enter my Apple ID password and go.

Now, for every new application, even those free ones, I have to confirm each time, that I'm 17 or over. And then App Store asks to enter my credit card information. If I disagree and hit "Cancel", installation process is interrupted and I can't install any application, even free one.

I don't trust Apple at all and I'm not willing to share my credit card information, especially that I'm installing only free applications.

I'm pretty sure that I haven't changed anything in the configuration of my iPad Mini for ages.

Am I missing some significant change to the App Store or this is some kind of bug or virus? Is there anything I can do in this situation? How can I install a free application from the App Store, without having to share my credit card information with Apple?

You need to select that you don't have/want a payment option.

Navigate to this magic link on iOS or macOS:
https://apps.apple.com/account/billing
Remove all payment types from the list and choose None as the payment type.

If you're not able to select None or the None option is not present for you to select, there are some possible reasons as to why this is the case:

Unpaid balance
Changed country/region
Family Sharing management

For more information, see the Apple KB article:

Why can’t I select None when I edit my Apple ID payment information?

If you want to create a new Apple ID with None as the payment method, purchase a free app from the App Store and choose Create Apple ID. For more information, see:

Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method


How do I Bounce only part of a project in Logic Pro? In Logic Pro X, I wish to export only part of a project (I'm not yet happy with the end, but I don't want to remove the WIP).

I selected the zone I want with the yellow bar at the top, and pressed "Bounce selected region", but it doesn't seem to do what I want, which is only export the first 22 measures.

What is the proper procedure?

I'm stupid. I seem to have misclicked because the proper procedure is exactly what I thought I did: select the part you want in the bar (highlight in yellow), Bounce (CMD+B) "project or section", and make sure the "end" is the measure I wanted.

Well, now it works ^^


What causes a full restart vs a resume when battery dies? There are many times where if my macbook pro dies, it will simply resume where it left off once i plug in the power and turn it on. Other times, it will do a complete restarting and I will loose all my unsaved data.

What causes one vs the other? Preferably, I would like it to always resume instead of restart.

This is likely the cause of your system going down while in the process of performing a reboot. The most common cause of this is system updates loading in the background. Lots of times these updates will require a restart after installing. In addition, do you happen to have the computer scheduled for reboot?
This can be confirmed in System Preferences > Energy Saver > Schedule. Resume only occurs if the last known state was you logged into your home account.


How Do You Label The 3D Axis in Grapher? I want to label each axis with an x, y, and z. I know it's possible to label x and y axes in 2D view, but for some reason, I can't do it in 3D view.

Any suggestions?

Another helpful method that I've found was to save a standard 3-d template with colored unit vectors for the positive xyz-axis. I made the positive x-axis red, the positive y-axis blue, and the positive z-axis green.


Multi-Monitors: Locking machine moves windows to different monitors I am using a macbook with two external monitors.  Frequently, I lock the computer, my windows are on a different screen then when the computer was locked.

For example:

Open PyCharm on monitor #1
Open Chrome, iTerm2, etc on monitor #2
Lock computer
(Maybe wait for a few minutes?)
Unlock computer
Windows are now randomly distributed.  This may mean any of the following:

Windows are reversed - PyCharm is now on monitor #2 and everything else is on monitor #1
All windows are on monitor #1
All windows are on monitor #2

There seem to be multiple variants of this problem.  It seems to occur both when the lid of the laptop is open and when it is closed.  I haven't used the computer with a single external monitor, so not sure if the issue occurs then.  One related issue is that sometimes it will not recognize one or both of the monitors and I need to unplug/replug the monitor to allow the computer to recognize the monitor.

Info on my system:

And monitors:

(Maybe related) Mission Control:

I had the same issue and changing the cables / adapters fixed it.
My 2 monitors were plugged through an hdmi-hdmi cable going in an hdmi-usbc adapter. Changing one of these to an hdmi-usbc cable fixed the problem.


FaceTime with 2 Phones (work and private) & 1 Apple ID I have 2 phones, one is for work and one is private. I use the same Apple ID on both as I don't want to pay for my movies, apps & music twice. When I'm on the plane/train to another one of our offices or a customer, I really want to have access to the movies and music. My problem is I want to separate FaceTime and iMessage on the phones.

Basically what I want is this.

Work phone

FaceTime: Uses my work phone number as Caller ID and can be reached via that and my work email.
iMessage: Uses my work phone number.

Private phone

FaceTime: Uses my private phone number as Caller ID and can be reached by that and my private emails.
iMessage: Uses my private phone number.

Is this even possible?

Your Apple ID logins on an iOS device are completely independent for these services:

iTunes & App Store
iCloud
iMessage
FaceTime

You could sign into 4 different Apple IDs for these services on one device and that would work fine.

When you say you use the same Apple ID to not have to pay multiple times for iTunes content, that would suggest you would want to use the same Apple ID for iTunes & App Store, then use a different Apple ID between devices for the other three services.

You can find login/logout options for each of these services in Settings. When setting up a new device, you are given the option to use separate Apple IDs for iTunes & App Store by a small link on the iCloud login prompt.


com.apple.bkagentservice high cpu usage My macbook has a high cpu usage because of one process and i don't know why.

This is the process all the time at 130%

I think it has something to do with this log. The log is getting spammed only with this message.

com.apple.bkagentservice is part of BookKit, which itself is part of iBooks.

Based on the limited information in your question I'd guess the BKAgentService is trying to reconcile your books in iBooks.app on your Macbook with the books registered against your account in iCloud, and some conflict is causing it to go a little mental.

Something I'd try is closing iBooks, killing the BKAgentService, then renaming the following two folders and re-opening iBooks. This will relaunch BKAgentService and it should start to sync your library from scratch.

/Users/YOURUSERNAME/Library/Containers/com.apple.iBooksX
/Users/YOURUSERNAME/Library/Containers/com.apple.BKAgentService


Attempting to revert to Mac OS X Mavericks, now can't get out of OS X Utilities! Here is my situation:  I have an MBP Retina 2013 with an SSD drive which I ran with Mavericks with no problems for about almost a year now.  I recently upgraded to Yosemite which seemed to work well at first, but I found that it kept freezing up after an hour or two.  This was unacceptable and I was unable to determine the cause so I decided to revert to Mavericks using my Time Machine backups, so I rebooted using cmd R.  I selected Restore from Time Machine backup and followed the steps including unlocking the FileVault.  It began to restore and then said it couldn't continue because of some sort of unspecified error.

So I tried to use the disk utility to erase the disk but the erase button was disabled.  I did verify and repair on the Macintosh HD which did not report any errors.

Then I attempted to begin a reinstall OS X but that only sees the "Recovery HD", it doesn't see my main disk partition so I can't install.

Then I rebooted, hoping to simply boot back into Yosemite but it continues to boot to OS X Utilities no matter what I do.  Now I try to do a Restore From Time Machine backup and its no longer able to find my Yosemite boot drive!  I try selecting "Startup Disk" which doesn't find any startup disks. Somehow the main drive seems to be lost, I'm unable to erase it or even access it, what do I do?

Top drive partition ("Macintosh HD") does show under disk utility Partition: Name Macintosh HD,  Format Mac OS Extended (journaled), Size 750.42 GB.

Edit: I've also tried booting to my DiskWarrior DVD but it just hangs on the Apple screen and never gets there!  My next approach is to build a Mavericks USB bootable drive and see if I can install from there.

It seems clear that my main hard drive is locked or disabled somehow, I just don't know how to get it turned back on.

Restart your Mac to Recovery Mode by pressing cmd R at startup
Launch Terminal from the menubar Utilities->Terminal
Enter the following command at the Terminal prompt:

defaults write com.apple.DiskUtility DUDebugMenuEnabled 1

Press enter
Quit Terminal
Start Disk Utility and enable Show every Partition in the Debug menu
After a few seconds all partitions should be visible
Activate the partition Macintosh HD if it's present and greyed out.
Erasing/formating of Macintosh HD should be possible now.

If this doesn't work quit Disk Utility and according to this site

Start Terminal and enter following command at the Terminal prompt:

diskutil cs list

This will give you a list of the CoreStorage volumes on your system.   Your old FileVault 2-encrypted drive should be the only one listed.
Copy the Logical Volume Group (LVG) alphanumeric UUID of your CoreStorage volume. The LVG should be the first UUID listed and it’s the one you want to delete.
Next, run the following command:

diskutil cs delete lvgUUID #replace lvgUUID here by the UUID you found above

This will delete your CoreStorage volume and reformat it as an unencrypted HFS+ volume.

If it's still impossible to erase Macintosh HD or if it's not present consider the Internet Recovery Mode or a USB Recovery drive and format the whole internal drive.

Restart to Internet Recovery Mode by  pressing alt cmd R at startup.
The prerequisites are the latest firmware update installed, either ethernet or WLAN (WPA/WPA2) and a router with DHCP activated.
On a 50 Mbps-line it takes about 4 min (presenting a small animated globe) to boot to the recovery netboot image which is loaded from an Apple/Akamai server.
In the opening window choose Disk Utility and format/partition the internal drive. Choose Mac OS Extended (Journaled) and GUID partition table (available with the Options... button). Quit Disk Utility.
Plug in your Time Machine backup drive.
Start Time Machine and recover your old system


Why do higher resolutions not show in my display preferences? I'm connecting a MacBook Pro 13-in. retina (early 2015) running El Capitan to an LG 27" ultra HD 4K monitor. (LG 27UD68 to be exact.) I'm a noob, but everything I read about support for external displays says that up to 3840x2160 resolution is possible at 30Hz on an HDMI connection. Which is fine for now. But when I try to set the resolution in the display preferences, the largest option I get is 1680x1050. What am I doing wrong? This LG monitor has a Display Port input, so I've ordered a Display Port to Mini Display Port cable, which I assume will give me higher resolutions at 60Hz refresh, but is there no way to get higher resolution at 30Hz using HDMI??

Have you tried holding Option and clicking "Scaled" in your Display Preferences window?  This should unlock the full range of resolutions your Mac thinks is available for the monitor.  Not sure what that will be over HDMI, but once your DisplayPort cable arrives you should see 3840x2160.


Adding a new picture to the appstore needs a new build of the app It seems to be true, that I have to build a new app-version for only adding a new picture in the appstore. So my App has the same code, but a new version and I don't know what to write in the update text for the users. Its stupid to write "I uploaded a new picture, thats why you guys have to upgrade the app ".

Is this just a design glitch again from Apple, or is there a real reason for that ?

It was a slightly common tactic for spammers to change the screenshots to mimic a different app. Hence, from 2013, you are required to create a new app version to change screenshots.

Ideally, you should not update your app version just to change the screenshots — perhaps you can wait until you really have a new version to upload?

You can read more about this functionality at App Store Screenshot Changes - MacStories.


Does Apple Pay offer consumer privacy advantages over traditional payment on the web? As a developer, I know that an Apple Pay payment seems to offer more privacy in some cases when online.

Can anyone elaborate the different scenarios Apple pay offers and what the consumer privacy risk is of each?  For example:

A shoe vendor uses a "Apple Pay Merchant" such as Stripe or Braintree to process payments online.  In this case the trusted URL is set to https://BrainTreeOrStripe.com/.well-known/apple-developer-merchantid-domain-association
A shoe vendor acts as an Apple Pay Merchant, and the above URL points to their own website (Payless.com)

In the above examples some information identifying the user is shared with some parties and not others.

My question is regarding PII (Personally Identifiable Information) or even a  per-user tracking identifier that may exist. I'd like to know when any of that data is shared between the merchant, the payment network, and/or other parties.

A risky example shows itself when I use ApplePay with two different merchants (medical processing and a nightclub), and that data is subsequently  correlated by two merchants willing to share data or perhaps it's observed on the payment network itself.  My fear is that insurance rates will rise simply because I'm buying drinks for friends at a nightclub, but the data makes it appear that I'm buying all those drinks for myself.

Apple Support Document, Apple Pay security and privacy overview, throws some light on the security and privacy offerings when using Apple Pay on Web.

Relevant quote from the article:

  When you use Apple Pay within apps or on the web

  ...

  To securely transmit your payment information when you pay in apps or on the web, Apple Pay receives your encrypted transaction and re-encrypts it with a developer-specific key before the transaction information is sent to the developer or payment processor. This key helps ensure that only the app or the website that you’re purchasing from can access your encrypted payment information. Websites must verify their domain every time they offer Apple Pay as a payment option. Like with in-store payments, Apple sends your Device Account Number to the app or website along with the transaction-specific dynamic security code. Neither Apple nor your device sends your actual payment card number to the app.

  ...

  When you use Apple Pay on your iPhone or Apple Watch to confirm a purchase from your Mac in Safari, your Mac and the authorizing device communicate over an encrypted channel via Apple servers. Apple doesn’t retain any of this information in a form that personally identifies you. You can disable the ability to use Apple Pay on your Mac in Settings on your iPhone. Go to Wallet & Apple Pay and turn off Allow Payments On Mac.


What is my iPhone downloading in the background? Is there any way to find what apps are downloading stuff in the background? And what stuff they are downloading? I've done a little research and gather it's the Background Transfer Service doing the work. But no hint of how to monitor what its doing. This other question is a bit more general and the answer was "there's no way to know" but it's a bit old and the answers aren't authoritative.

About once a week when I plug my phone in and it's on WiFi I find it's suddenly downloading hundreds of megabytes of data. I can figure out a bit of what's going on from my router, an HTTP connection to aaplimg.com, but all that tells me is it's something on Apple's CDN. Short of running a packet sniffer I have no way to see what is being downloaded or by what.

Do you have iCloud Drive and/or iCloud backups enabled? If so, that's what it's probably doing. You may also want to check which apps you have enabled to refresh in the background. See: Settings > General > Background App Refresh


OS X: Read mbox formatted files in /var/mail (local mail) graphically I have a local development environment that is sending email to the mbox file at /var/mail/myusername.

I can successfully view those emails with the command line mail program, but I'm looking for a way to read the emails graphically (they contain HTML).

I've read the article at: http://hints.macworld.com/article.php?story=20040313194905606, but I've also read that this method does not work in Snow Leopard (10.6) because Mail.app no longer uses standard mbox files, but rather has it's own format based on sqlite.

An easier approach would be to use the mutt command line client that will natively access /var/mail/[username] without having to take extra steps for conversions and forwarding.

This is easy with MacPorts or homebrew (you probably want only one of these managers installed)

sudo port install mutt
brew install mutt


xClient process consuming CPU -- what is it? Basic question, I can't find anything on Google about it. There's a process that keeps my fans spinning, and consumes about 80% cpu.

xClient -- what is it, or how can I find out more about it?

Open Activity Monitor and sort by CPU. Then select the item and click the information icon (circle with a lower case i)

Then you can see all the open files and ports. That should give you a ton of system files that make no sense, but you should get a path to the file or some details to post if you can't figure out straight away where it's located and what files it's reading. (Worst case upload the files to a GitHub gist or pastebin and link to me in the comments below)


Locked out of iPhone. Don't want to restore After 6 months of not going on my phone, I have forgotten my (complex (I feel like an idiot)) password. Is there any way that I could save the files on it to a computer or talk to Apple or my service provider (because I could prove the Apple ID on the phone is mine) and have the password removed? I just don't want to have to lose everything I have on it by doing a full restore. Any possibilities? I have never backed it up to iCloud or any computer so I would have to delete everything on it. It is an iPhone 5 with ios 7 or the first one after seve

Here are a few iPhone lockscreen bypass procedures. Though they greatly depend on exactly which firmware is on the device, otherwise, I have a feeling your S.O.L.

http://www.wikihow.com/Bypass-iPhone-Passcode


Plex Media Server for Mac with a Pansonic Viera TC-P50S30 I have a Panasonic Viera TC-P50S30 that is connected to my home network with a wired connection. I also have a MacBook Pro that is running Mac OS 10.9.1 and Plex Media Server 0.9.8.18 and connected to the network with a wireless connection. Despite the seemingly simple setup, when I go to the DLNA Server option on my TV, I get an error message that says "DLNA server not found".

Does anyone know what steps I can take to try and troubleshoot this issue?

First, make sure you have the firewall turned off on the Mac.

Can your TV pick up anything else on the net?

Next, make sure that your router is broadcasting UDP packets. Some routers do not, they swallow UDP.

Now check that Plex Media Server is running right and listening for connections. At the command line:

sudo netstat | grep 'Plex'

That should give you a list of ports that it is using. They will include:

TCP 32400     (for access to the Plex Media Server)
UDP 1900      (for access to the Plex DLNA Server)
TCP/UDP 32469 (for access to the Plex DLNA Server)
UDP 5353      (for Bonjour)

So then you know that it is up and running.

Make sure both your TV and Mac are thinking they are on the same subnet and that the netmask is correct on both.


Disable read receipts on kik without jailbreak? How do I read messages on kik without sending the read receipt? Is it possible to do this by turning off internet connection while in the list of conversations and then clicking on one? If there is a method that does not require jailbreaking, will it allow me to view multi-media messages as well?

i do not believe there is currently a way to do it, there are a few links on how you can do it one by one but as far as i know (without jailbreak) there is no way for it to be permanently set not to show read receipts (my friend has android and she has that set on her kik). sorry!


Reduce size of the Xcode application Is there anyway to reduce the disk space used to store the Xcode application? I only downloaded Xcode so that I could compile C and C++, so if possible I would like it to take up much less than the 9.22GB it requires right now. Perhaps there are optional portions I can uninstall?

Although it's not directly related to the Xcode app size. There are multiple places where you can delete files to free up some space.

1. Derived Data
Xcode keeps data about your projects which includes index, build output and logs. Go to ~/Library/Developer/Xcode/DerivedData/ and delete the folders for projects that you no longer need to keep this data around for.

2. iOS Device Support
Xcode is storing information about the devices you have used for development. Delete the data no longer needed in ~/Library/Developer/Xcode/iOS DeviceSupport/.

3. Archives
Delete the one’s you don’t need in the Organizer, or go to ~/Library/Developer/Xcode/Archives/ to delete them in bulk. Be careful not to delete archives for which you still need the dSYM data for debugging.

4. Simulators
Simulators are stored under ~/Library/Developer/CoreSimulator/Devices. For each version of iOS you are building for.

5. Documentation Browse and delete unnecessary data under ~/Library/Developer/Shared/Documentation/DocSets.


How can I plug FileMerge into my Source Control App I'd like to use FileMerge (Version 2.8) as Git and Perforce's Diff viewer, however whenever one of these apps tries to do a diff I get this message:

This isn't just for Groovy files either,it's for any type of file I try to run a diff against.  This is happening on systems running 10.9 and 10.8.

This is how I have it configured in Perforce:

The issue is that you are setting an app bundle in the config when the version control program is expecing a Unix command line.

You should use /usr/bin/opendiff as the command line. I think that is the only chnage you need for the perforce diff you show.

Example git configs for merging are in this  question and several other duplicates on StackOverflow.


How do I delete a BootCamp partition using Terminal's diskutil? For some reason, the BootCamp Assistant app won't let me delete my BootCamp partition. How can I do so using Terminal and the diskutil terminal app?

Here's what worked for me:

use diskutil list to find the small Microsoft Reserved partition you're trying to delete but disk utility (or the command-line equivalent diskutil) won't allow.  Let's say it's on disk 99 partition 400 (mine was on disk 0 partition 4)
sudo diskutil eraseVolume JHFS+ deleteme /dev/disk99s400

The above reformats the partition to journaled HFS+ and once you've done that you can just simply delete it (and then resize etc. as you wish).

Note:  I've used /dev/disk99s400 because that should not ever work, you have to replace those with the right disk and partition.

WARNING: Destructive, high risk. ALWAYS do a full back up first before screwing with partitions.  ALWAYS.


Copy with Finder from external HDD to MacHDD(data) fails with zero byte entry and no warnings or copy dialogue I have an old NTFS backup disk (simple copy) used 2007-2014. Disk File system is OK.  I can open the files (Canon raw images) from the HDD using applications on the Mac so the Mac talks to the HDD.

Copy files with Finder to the Mac HDD fails silently. No copy dialogue - filenames appear in destination folder initially showing file-sizes but they are zero byte.

I can copy these same files with Finder from the external HDD to an attached Pen Drive and then copy from the Pen Drive to the Mac HDD but I cannot copy directly from the external HDD to the Mac hard drive.

I am using an up-to-date Catalina and up-to-date Paragon NTFS - but that should not be needed to read NTFS. Machine is a late 2012 iMac. Tried multiple remounts (physical disconnection) HDD and restarted iMac.

In hours of searching I have only found one near identical report of this behaviour - on here asked March 28 2013.

My workaround using a second connected disk and copying twice works but I am mystified. No permission errors. As well as running Time Machine I have always kept a manual backup of my photos to an external HDD. I use NTFS and Paragon because I was using a PC before I switched to Mac.

I've just been experiencing the same issue you're describing here and have a couple of workarounds that might be useful.
Option 1
Use the command line, the cp command seems to copy the files over just fine.
Option 2
Mount the drive in read-only mode. This is an option within the paragon NTFS for Mac application. After you've connected the drive and it shows up in the application you can opt to mount it in read-only mode.
You will have to re-mount the drive after for the change to take effect, this can be easily done using the unmount and mount buttons in the app. You won't, of course, be able to make any changes to any of the files in this mode.


What happens if I don't eject before disconnecting my iPod? iTunes is always sure to tell me that I have to eject my iPod before I can physically disconnect it from the computer.

What is going on when you eject it? What is the software doing? What's the risk of disconnecting it without ejecting it first?

If the connected devices are exchanging data while you interrupt it (unplug) following can happen.

You can have a corrupt files/folders on either site.

Mostly that can be repaired but not always.

If you use Eject, the data transfer process is stopped correctly.


What does middle click do in terminal? For a while now I noticed that 'randomly', my terminal will paste in recent command/log as input.

I finally narrowed it down to the fact that I have jitouch installed with 3 finger tap as 'middle-click'. But using command + tap/click does not produce the same behavior. Does anyone know what is the actual event sent by jitouch's middle-click and what command is it triggering to paste?

I'm just curious.

Terminal.app in itself makes the middle-button work as "paste". This is similar to how you would expect the middle-button to paste when using for example Linux.

So jitouch is not really triggering a special command or sending a non-standard event - it is really just sending the middle-button click event as usual. It is just Terminal.app that decides to interpret this as a request to paste from clipboard.


Can I just swap the hard drives of two macbook pros (different years)? I'd like to swap the hard drives of two Macbook Pros. One is a Core 2 duo model from 2010, the other a 2011 i5 model. Will this work? I just want to save time and not go through a lengthy data copying process.

Yes. In almost all cases, OS X software is hardware-agnostic (as long as the hardware comes from Apple).


How can I recover photos from a damaged MacBook? My grandson spilled orange juice on my MacBook and ruined it. I bought an iPad to replace it, but I had dozens of old family pictures stored in iPhoto on the MacBook. Is there any way I can recover them and store them on my iPad?

Go to an Apple store (or ask a friend with tech skills) to remove the hard drive from the MacBook.  Most likely the hard drive will be unharmed and putting it into an external USB case will let you access it (not necesarily directly via the iPad but through some other way, e.g. iCloud or USB stick or something).

Btw, quite likely the MacBook is not beyond repair also.  Ask an Apple tech.


Cannot launch Steam game with Wine I have 2 computers. One is Mavericks (10.9.5) and this one is Yosemite. On Mavericks, this works flawlessly. With wine, Steam launches fine. However, there is a peculiar window showing up, and whenever I try launching a game/app, it pops the usual window with "Preparing to launch...", then it disappears and nothing happens.

The image on top shows the unusual window showing up next to the main window.

This is my setup in Wineskin of Steam (needs -no-dwrite because else, it shows blank buttons).

Here and here are the 2 Last Run log files.

UPDATE:

Reinstalling didn't help, and I figured out what the little window is. On Mavericks, it was on the navbar on top, and on yosemite, it is in this window. Clicking it shows the same options as the Steam icon on the navbar on Mavericks. Also, I may have found something related in the logs:

err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated.
Makesure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

I am using OS X Yosemite (10.10.3)

The difference may be related to whether you're using the Mac driver. Go to Set Screen Options, and check Use Mac Driver instead of X11. It's the top checkbox under "Other Options".

Otherwise, it's not clear how your installations are different. Because you're using Wineskin, however, you have a great alternative: Just copy the Wineskin app from your working computer to this one. That will carry along all of the settings and tweaks you have in your working copy. It's all self-contained!


Looking for a good iPhone photo viewer I'm looking for a photo viewer that would sync with multiple (sub)folders on my computer HD (some of which are not in my MyPhoto folder), and would have a feature to do a slideshow on the iPhone.

Have you considered Dropbox?

It allows for any folder structure you like, and has a decent photo viewing and slideshow capability. And it's free up to a certain size, although depending on the size of your library, you might need to pay.

It's great at a Ton of other things, too.


Weekly "My New Music" Playlist disappeared from Music "For You" tab Since three days or so, "My New Music"  Playlist has disappeared from my Music on any device whether it is iOS device or Mac.

The playlist is still in my library except that it is not shown in "For You" tab of Music app.

Does anybody is having the same issue? I'm located in Germany.

iOS version: 11.0.1
Mac version: 10.13

I would check your settings as they may have been reset, especially if you’ve installed any updates recently (such as iOS 11).

More specifically, go to Settings > Music and ensure that Show Apple Music is enabled.


“Network accounts are unavailable” when logging into OS X Lion Server While trying to set up a server, I appear to have disabled user logins and now when I start my MacBook I only get the "Name" input field (followed by a red dot), the error message “Network accounts are unavailable” and a password field.  All external access has been shut off to this server.

I have run Disk Utility and fixed permissions and I have re-installed Lion (not a clean install).

The only access I have is via afp to shared Public Folders.

Running commands in Terminal does not seem to be an option as I seem to be locked out of the main directory.

Is there some way I can re-establish the normal login window?

You can enter the username and password of the local administrator account at the login window you are seeing. The local administrator would be the user account that was created when first setting up OS X on the MacBook and is not associated with any network account server.

Once logged in to the local admin, open System Preferences, click on Users and Groups, unlock the preference pane, click on login options, and change "Display login window as" to "List of Users". You can also edit Network Account Server binding from the preference pane.


Getting mountain lion I have an old Mac pro with lion. It's too old to upgrade to Maverick. Where, if possible, can I get Mountain Lion to upgrade this Mac? I cant find it on the store. I'd like to get a legal version. Even if I have to pay for it.
Thank you for your insights.

http://store.apple.com/us/product/D6377Z/A/os-x-mountain-lion?find=mountain+lion

From the Apple Store!  (Not the App Store...)

Although, from my understanding, there are no Macs that can run Mountain Lion that cannot also run Mavericks.  Mountain Lion dropped support for some older models (with older graphics cards on the whole), but since then support remains the same thus far.


Making the auto-hidden menu bar show up faster I have recently switched back to Mac after Linux Mint and there is one thing I find very cumbersome:

In fullscreen mode the menu bar at the top goes into auto-hide mode, so it animatedly rolls down when I pull the mouse up to the top. My issue is that, this happens pretty slow. There is a 0.5s delay and then the animation starts to roll the menu bar down. I know it doesn't sound a lot but in practice it gets annoying when I multitask and trying get tasks done fast.

Is there a way to remove the delay and trigger the animation instantaneously?
Also, is there way to make the animation faster, or perhaps disable it?

Yosemite 10.10.04

There appears to be no easy way to do this.

In previous versions of OS X, the preference com.apple.springing.delay controlled these timings, but setting this no longer affects the menu timeout on Yosemite (at least not for me).

The keyboard shortcut Ctrl - Fn - F2 pulls down the menubar immediately and focusses it so you can use the keyboard to select menu items (e.g. then press E to select the Edit menu; hit 'Enter' to pull down the menu, then press F to select Find, and Enter to activate). Switching to keyboard shortcuts can improve productivity because your mouse can then stay with the action in the middle of the screen.

Alternatively, commercial software Moom should do what you want.


What stopwatch timer app uses keyboard shortcuts on macOS? It’s not clear which of the timers from this other thread support hotkey / Keyboard only shortcut operation.

What stopwatch timer app to use on macOS?

Can anyone recommend a stopwatch timer for Mac which can be started or stopped using hotkey?

A low-tech solution is to open a terminal window, run time cat, and then stop by pressing control-c:

$ time cat
^C
4.487
$

Two ways to show the number of seconds since the last run:

f=${TMPDIR}stopwatch;date +%s>>$f;tail -n2 $f|awk '{l=$0;getline;print $0-l}'
now=$(date +%s);echo $((now-prev));prev=$now


How to fix "Error: -5341: MediaKit reports partition (map) too small" after upgrading to a larger hard disk? I recently bought a new SSD drive, as my stored data amounts outgrew the old one a little bit. After copying all data using dd if=/dev/disk0 of=/dev/disk1, I want to enlarge my system partition, but Disk Utility is failing silently and diskutil resizeVolume /dev/disk0s2 R (first partition is the EFI boot volume), I receive following error message:

  Error: -5341: MediaKit reports partition (map) too small

How can I resize my system volume?

Your partition table does not know about the larger hard drive yet. While Disk Utility also queries the hard disk size and lets you request it to enlarge your partition, it will fail when finally changing the partition size (after doing a file system check).

This can be solved on different ways:

One is to destroy the GPT (partition table) and recreate it manually, which is a rather annoying and error-prone way of fixing the problem as it's easy to mess up when adding your partitions again.
An easier, better way is to run gparted, which is also included in current Ubuntu Desktop Live images (or is easy to install from their packages repositories) and probably lots of other Linux disks. After starting it, it will recognize the wrong disk size in your partition table and ask whether it should fix it for you. After fixing the table, reboot to OS X and finally enlarge the Volume.


Invisible region on screen is blocking mouse cursor In the bottom right corner of my Macbook Pro (running MacOS 10.15.3 Catalina with a second screen connected as main),
sometimes, there is a region (invisible) where I just can't move the cursor to. I need to restart the MacBook Pro to let me access the region with my mouse cursor.
The cursor just won't pass this region, just as if the screen has ended there. I have added a screenshot below and drawn the region.
I read about applications that might behave weird and cause such an issue, but the problem persists even when all apps are closed.
What could this be?
Are there any known issues? Or yet better, known solutions? ...
Update 1:

I have appended a screenshot of my arrangement and drawn a yellow box of the area which is not accessible.

Update 2:

The cursor is blocked from reaching the region in the third screenshot (I cannot reach the Files folder for example).

Update 3:

Today (2020/05/25, using Mac OS 10.15.4), the problem re-occured, but the non-accessible area has changed to the top-left, with the available height only being as much as the system menu and a width of 90%. (For example, I have a window in full height/width and I can no longer move the mouse cursor to the 'minimize' or 'close' window buttons).

Update 4:

2020/10/30, (using macOS 10.15.7) I returned my 15" MacBook Pro, because I thought the problem only appears on them. I encountered the same problem on a 13" MacBook with completely different apps installed. I suspect more and more that it's a very rare (race) condition / scaling bug in the OSX core that handles multiple display screens. The problem also happens on macOS 11.1 Big Sur.

Note: In the linked question, someone has posted a video screenshot of what happens.

I had this same problem and it has been driving me crazy. While I still don’t fully understand the cause of the bug I finally found a way to fix it.
First a note, I think this problem only happens when the zoom accessibility mode is enabled, though it occurs even when not zoomed in. And further, it might be related exclusively to full screen zoom.
I have a keyboard shortcut that turns full screen zoom on and off (⌘⌥8 by default), configured in accessibility settings. Whenever a region of one of my displays becomes inaccessible, I just zoom in and right back out and the inaccessible regions are gone.
I hope this helps.


Moving individual specific applications from Leopard to Mountain Lion I'm moving from an old 2007 MBP running Leopard OS X 10.5.8 to a new MBP running OS X 10.8.2 and I want to keep the new system as clean as possible.

Therefore, I chose not to use the Migration Assistant. I'm wondering if it's possible to manually move specific applications by copying files from a Time Machine backup?

In particular I'd like to move Cinema 4D R12.5, but may also want to move other smaller applications.

Thanks for any suggestions.

It depends, primarily on the way the application got installed initially

Apps which get installed by drag&drop'ing the .app file into /Applications can just be copied to the new system. You will loose your preferences (unless you copied your ~/Library as well) but the application should work
Apps which need an installer may or may not work depending on whether the installer wrote stuff to other folders besides /Applications. Most installers probably do (there isn't a technical reason to use one otherwise)

And of course you need to keep in mind that PPC applications are no longer supported under  Mountain Lion.


Can I keep the BOOTCAMP Partition on "secondary" drive when upgrading to SSD? I have a Late 2008 MacBook Pro 2.53 GHz with 8 GB RAM and a 320 GB HDD. I'm running OS X Mountain Lion on the Macintosh HD (260 GB capacity, 100 GB used) and a Windows 7 on the 60 GB BOOTCAMP Partition.

What I want to do:

Install an SSD of 120 GB, move OS X there using Time Machine - don't see any problems here.
Keep the original 320 GB drive by moving it to the SuperDrive slot, erase the existing OS X system (since it will be migrated to the SSD)
Keep BootCamp unchanged on original (320 GB) drive.

Question: Will the BootCamp partition still work after moving the internal HDD? It will obviously not be on the boot drive anymore, since that should be the SSD.

If not, is there a way to make it work so I don't have to put it on the SSD?
If not, are there tools for migration so I don't have to do a Windows image & reinstall?

Yes it shouldn't be a problem. Using the option key during booting should show all available installations to boot.


How do I trigger a script when a second monitor is attached I am on macOS El Captain (upgrading to High Sierra soon) and I'm looking for a tool which can trigger an AppleScript or shell script every time when the number of monitors/displays attached to the system changes.

I have tried  ControlPlane, but could not get the trigger on attached-display-change to work. Two questions:

1) Does anybody know that display triggering in ControlPlane definitely works on macOS El Captain and higher? (Indicating that I am doing something wrong.)

Or:

2) Is there another tool which can act on a change of numbers of displays every time a monitor/display is (dis-)connected?

PS: I am aware there are other questions in the StackExchange network relating to this topic (like How can I run a script whenever I plug in an external monitor? or Reset Mac OS X Windows Position after de-attaching external monitor), but the answers do not seem to apply to El Captain/High Sierra .

There may be a more efficient way but if you save this following AppleScript code in Script Editor, as an application, after customizing it to your needs… running this application, as currently configured, will continue to run and check every five seconds, until an additional monitor is detected.

property displayCount : 1

repeat until displayCount is greater than 1
    tell application "Image Events"
        set theDisplays to count of displays
    end tell
    set displayCount to theDisplays
    delay 5 -- How Often To Check How Many Connected Monitors.. In Seconds
end repeat

-- The Following Line Will Execute When An Additional Display Is Connected
-- Replace The Following Code With Whatever Actions You Choose

activate
display dialog "New Display Connected" buttons {"Cancel", "OK"} default button "OK"

-- OR use the "run script" command as in the sample below

--set theScript to (path to desktop as text) & "whatever.scpt"
--set runScript to run script alias theScript

return

This next option will detect whether a monitor is connected or disconnected and will continue running

property displayCount : missing value
property tempDisplayCount : missing value

countDisplays()

repeat
    repeat until displayCount is greater than 1
        countDisplays()
    end repeat
    displayConnected()
    countDisplays()
    copy displayCount to tempDisplayCount
    repeat until tempDisplayCount is not equal to displayCount
        countDisplays()
    end repeat
    copy displayCount to tempDisplayCount
    if tempDisplayCount is greater than displayCount then
        displayConnected()
    else if tempDisplayCount is equal to displayCount then
        displayDisconnected()
    end if
end repeat

on displayConnected()
    -- The Following Lines Will Execute When An Additional Display Is Connected
    -- Replace The Following Code With Whatever Actions You Choose
    -- OR use the "run script" command as in the sample below
    -- set theScript to (path to desktop as text) & "whatever.scpt"
    -- set runScript to run script alias theScript
    activate
    set newDisplayConnected to button returned of (display dialog "New Display Connected" buttons {"Stop Monitoring", "Continue Monitoring"} default button "Continue Monitoring")
    if newDisplayConnected is "Stop Monitoring" then
        quit me
    end if
end displayConnected

on displayDisconnected()
    -- The Following Lines Will Execute When A Display Is Disconnected
    -- Replace The Following Code With Whatever Actions You Choose
    -- OR use the "run script" command as in the sample below
    -- set theScript to (path to desktop as text) & "whatever.scpt"
    -- set runScript to run script alias theScript
    activate
    set newDisplayDisconnected to button returned of (display dialog "A Display Was Disconnected" buttons {"Stop Monitoring", "Continue Monitoring"} default button "Continue Monitoring")
    if newDisplayDisconnected is "Stop Monitoring" then
        quit me
    end if
end displayDisconnected

on countDisplays()
    tell application "Image Events"
        set theDisplays to count of displays
    end tell
    set displayCount to theDisplays
    delay 5 -- How Often To Check How Many Connected Monitors.. In Seconds
end countDisplays


-20 shutdown, what to do? Comp just shut down. Checked the logs and it says:

Previous shutdown cause: -20

A shutdown causes page says:

-20    BridgeOS T2-initiated shutdown. The T2 chip in your 2018+ MacBook Pro or other Mac (list in link) initiated a shutdown.

This is a fairly new computer, I'm not sure what's going on. I've experienced a bunch of x86 CPU CATERR detected and AppleEmbeddedPCIeUpLinkMgmt kernel panics.
Should I just go and get it checked out?

Fairly new computer I would 100% talk with Apple support online to see what they recommend. Might be fine, but why not take advantage of the paid support for new hardware.


Separate everyone's phones & our Mac from receiving everyone's texts while sharing the same account? I want to share our account because we both use the reminders, photos, notes, etc., and when I tried to set up a new apple ID, it nearly took those away.  I, or he, would've lost our notes, etc.  I don't want to lose stuff, and I was able to separate them before the latest big upgrade back in 2014.  Surely I can do this again.  Same ID, but different, separate users.  How is it done?  Please and thank you!

The apple ID is the user.  At some point you'll need to bite the bullet and create new apple IDs for each user if you want separate texts/email accounts etc.

My wife and I use a multitude of applications that can share data across accounts, like

Anylist for reminders/grocery lists, etc (this can be integrated with the Reminders app
Photostream for photos
Google Docs for notes

Also, since iOS 8 you've been able to share applications purchased on any apple ID as long as they have the same credit card on file - so if my wife buys an application, I can download it for free, and vice versa.  It's unfortunate that they still don't support sharing app data, but maybe that's in the works.  Regardless, you will continue to run into problems down the road if you don't separate out your accounts with new Apple IDs.


Messages applescript not working under Mountain Lion? Tried adding an AppleScript to run a specific command when I'm sending or receiving a message in Messages on my server, but for some reason it never seems to get called.

Placed it first in ~/Library/Scripts/Applications/Messages, and then in ~/Library/Application Scripts/Messages, but it doesn't seem to work in either. It appears at the bottom of the AppleScript menu when I have Messages front though.

Here's the test script:

using terms from application "Messages"
    on message sent theMessage for theChat
        display dialog "Triggered on message sent"
    end message sent
    on message received theMessage from theBuddy for theChat
        display dialog "Triggered on message received"
    end message received
end using terms from

Any idea why neither of these fire?

I believe that the Applescripts need to be called in Preferences > Alerts. Select an event and then select "Run an Applescript Script:"

See if that helps.


Error message when buying songs When to do when you get this message while you were purchasing an album?

How are you supposed to contact support? Is there an email address for this? A specific phone number?

Please contact iTunes support to complete this transaction.

Here's how to find the way to contact Apple:

Go to apple.com and click Support.
On the Browse Support section on the left, click iTunes.
Click Music Purchases in the Get Customer Service list that appears in the middle.
Click Music Purchases in the sublist that appears.
Click the Email Us button that appears.

Here's a direct link to the form to fill out to contact them for a iTunes Store music purchase issue.


Cannot download anything in Mojave from factory I just received today my new iMac with Mojave 14.1 preinstalled.

I have pervasive issues downloading anything.  Downloads get interrupted all the time.

The connection does not seem to be the root cause.  I have a good Internet Fiber connection, browsing is just awesome.  Everything renders fast, including images.

But downloads are a nightmare, a real blocking issue.  For example:

Nearly no application can be downloaded.  If I try to download Visual Studio Code, Chrome and many other applications it always gets interrupted.
If I try to download from the Mac Store, downloads start but are eventually reset.  I only was able to download Microsoft Remote Desktop.
I was able to download Firefox.  If I try to download Chrome from Firefox,  I get the error /Users/pcondal/Downloads/rEZCkycn.dmg.part could not be saved, because the source file could not be read.
The 10.14.1 update download did not work either (could not be 'verified').  If I click Update Now to restart download of 10.14.1, it says To update, you must restart your Mac. If I restart, it abends the install and starts again.  So I cannot redownload 14.1.1 because it thinks it already has it and I all can do is restart with a damaged package.

Clearly, this is not the first day with an iMac one dreams on.

What options do I have to try to solve these pervasive download issues?

Apple offers 90 days of complimentary support and setup assistance so you qualify for free online / phone support to make amends. You've clearly got something that's not even close to happy, so this isn't the on boarding experience that was designed (clearly)

If it were me, I would just boot to recovery and erase and start the setup over. That takes about 15 minutes plus however long it takes to re-download the installer. It's often much harder to determine what went wrong and if you have a new machine, a fresh start will let you know right away if it was just some things that didn't get set up, a poor image of the OS or a very rare case of something not right. Getting Apple involved sooner if you're not sure how to erase would be my winning move if I wasn't super comfortable with recovery mode.

https://support.apple.com/en-us/HT204904
Reinstall Mac OS X Mountain Lion before selling a Mac
Trying to reinstall OS Sierra
Can I install an older OS X over a newer OS X without restoring from backup?


Using a keyword that contains a space in a Spotlight search? I'd like to run a Spotlight search to find all email messages that contain a specific attachment:

attachment names:screenshot

I tried the keyword "attachment names" in the Spotlight search window and in Finder's search field, but it returns no results. I suspect that this may be due to the space in the keyword "attachment names".

When I define the search criteria in Finder and pick Attachment names from the menu, it does return the correct results (see screenshot #2, I cut out the actual results).

Note: I tried leaving out the space, but that did not work. However, for another keyword, "Color space", using "colorspace" does work...

Note 2: Attachments are only one example, I'm looking for a solution that works for any keyword that contains of more than one word.

This is not an answer. I wrote this just inform:
In my experience, spotlight can get the right result, even if it contains spaces in the file name. Please refer to the screenshot below

First, Make Sure enable "Mail & Message" option in spotlight preference.

PS:Usually you can search email in build-in Apple mail search or using Smart mailbox. Of course, you can also use the spotlight to search for email.


Can I get bootcamp to use existing free space on physical disk? When I installed my Macbook Pro, I had a 1Tb drive. When I formatted and partitioned the drive, I assigned 800Gb for OSX and left 200Gb free. I intended the free 200Gb to hold a Windows installation at a later date.

Well, the later date has come, and Boot Camp Assistant wants to partition my drive with 780Gb for OSX and 20Gb for Windows. Clearly it's planning to resize my logical OSX partition down and create a new partition for Windows 7.

Is there some way to get Boot Camp Assistant to instead use the free space on the drive I reserved for this purpose? Perhaps use Disk Utility to format that free space for Windows 7 before running Boot Camp Assistant? If so, what sort of file system should I create?

Some more details: from running diskutil, I see that my disk0 is a 1TB drive partitioned into a 200MB EFI partition, an 800GB LVM partition, a 650MB recovery partition, and 200GB of unused space. The 800GB LVM partition is a physical volume containing a single 800GB logical volume mounted as disk1. Clearly, Boot Camp Assistant is trying to repartition this LVM physical volume rather than the actual disk0.

More people have problems with BootCamp trying to partition manually than any other way. This is what I would do:

Boot into recovery mode.
Get into disk utility
Delete the partition you created for Windows
Expand your Mac partition all the way into the available space
Now (assuming you already have the BootCamp media created) Run the BootCamp.app and follow the prompts
Part of the process will present you with a graphical representation of your disk and allow you to set as much space as you want for both the Mac and Windows partition.

The thing you have to learn (or un-learn as the case may be) coming from Linux or Windows is that the first thing you should do is nothing. Let the App and/or Operating System do it's thing the way it wants to. Which means things like, "just plug it in," "follow the prompts in the app," or as a last resort read the (usually brief) instructions in the app or on Apple's support web site.

I've been supporting Macs and PCs for 20+ years and it is a whole different mindset. Yes you can tinker, it's just a different method. What you did is not wrong, it just adds unnecessary complications making it necessary to then work around Apple's work-around that they build into BootCamp so you would not have to do all the partitioning manually.


What encryption method was used in OS9 Apple File Security? I am trying to decrypt files that were encrypted on Mac OS 9 with its built-in 'encrypt' function (part of the "Apple File Security" application). I have the password and an OS9 emulator, but it doesn't recognize the files as encrypted (the files have moved around a lot, perhaps some metadata was lost), and so it doesn't give me the password prompt as it should.

Is there anywhere I can find information about what specific encryption method was used at the time so that I can try decrypting the files another way?

I don't know what the format is, but my understanding is that ye olde Finder uses extended attributes to determine if the file has been encrypted. You could probably manually add this data back and get it to recognize it is encrypted again.

For example, here are the extended attributes on a file I created in OS 9:

$ xattr -l helloworld.txt
com.apple.FinderInfo:
00000000  65 6E 63 32 63 72 70 32 01 00 00 00 00 00 00 00  |enc2crp2........|
00000010  00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00  |................|
00000020

Contents of the file before encryption:

$ xxd helloworld.txt
00000000: 6865 6c6c 6f20 776f 726c 64              hello world

This Terminal command can add the attribute back to the file:

xattr -w -x 'com.apple.FinderInfo' '65 6E 63 32 63 72 70 32 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00' yourfile.ext

Not sure if these commands can be done from OS 9 but you should be able to do it from a modern macOS system and then pack the file in a .hqx file with binhex encode yourfile.ext for safe transport (so the attributes are not lost).


Atom code editor typing lag I am using Atom on 2016 MBP with these specs:

OS: High Sierra

Processor: Intel Core i5

Processor Speed:  2.9 GHz

Total Number of Cores: 2

Memory:   8 GB

Until recently Atom was working fine, but then Atom started lagging when I typed a key and would often not display the letters I typed until 5-10 seconds later. This happened multiple times. I tried starting up in safe mode (I think thats what it is called) and that did not fix this. Once when this happened I opened activity monitor and a strangely large amount of RAM was being used. Here are some pictures:

The apps that I had open

A picture of the activity monitor

Is there a reason why there is this lag?

Atom has some known issues with performance.  They've been working on them, and are getting better, but they are still there.  Until they get better performance, I'd recommend using Visual Studio Code (Free, also based on the Electron framework, but tends to perform [a little bit] better than Atom all around) or, if you want the fastest, then Sublime Text is about as good as you get in a GUI text editor, though it'll set you back $80.

There are numerous other text editors out there, all with their own pros and cons, and it really depends on what kind of development you're doing. PHPStorm, for example, has some really nice PHP-specific dev tools that are harder to set up in other editors.

As a full-stack dev, (I use Vue for front-end work, and Node.js / PHP for the backend) I've settled on VSC for now, until Atom catches up speed-wise.  I get a lot of flak from friends about using a Microsoft product on my Mac, but I am a firm believer in getting things done with the best tool for the job.  Currently, for my needs, that's Microsoft's editor running on a Mac.