Notification settings aren't being retained After upgrading an iMac and MacBook Air from Mavericks to Yosemite, changes to Notifications aren't being retained:

Looking at the Notifications Preference Pane - there are a set of apps with Notification settings.
Changing Notification settings for any of these apps works - ie I can change the alert style, whether notifications appear in Notification Center, etc.

These settings are respected until I reboot / logout, at which point they revert back the original settings.
New apps will appear in the preference pane when they are run. Notification settings can be changed. After rebooting, the app disappears from the notification preference pane until I run it again, at which point it appears with default settings.

So what seems to be happening is that these settings aren't being saved to disk. I have:

repaired permissions
deleted the ~/Library/Application Support/NotificationCenter folder

None of this had made any difference. Does anyone know where these settings are stored?

Fixed:

This thread on the Apple forums is the key:

Open the Library folder in your Home folder.
In the Library folder, open the Application Support folder.
Locate the folder named NotificationCenter. Drag this folder to the desktop.
Next, open the Terminal application and enter the following

.

cd `getconf DARWIN_USER_DIR`
rm -rf com.apple.notificationcenter
killall usernoted; killall NotificationCenter

Restart your computer.

The issue is clearly to do with the NotificationCenter database. There are 3 files:

db
db-shm
db.wal

In my case db.wal was a 0 byte file compared with 1.9MB on a correctly working Yosemite install. Permissions were correctly set, but looks as if Yosemite wasn't writing to it. Only deleting db.wal didn't fix the problem - another 0 byte file was created on restart. Deleting everything works though!


Enhanced Dictation only works in English I'm trying to use dictation in Spanish (Yosemite v10.10.5) but it's not writing any text.

I have downloaded the Spanish Enhanced Dictation bundle, deleted and re-downloaded it, deleted it by hand from /System/Library/Speech/Recognizers/SpeechRecognitionCoreLanguages and purged the file cache using sudo purge with no luck.

Right now it looks like this:

(I spoke something to the microphone)
But when I do the same using English:

What can I do to enable dictation in Spanish (or any other language)? Does it have to do with the OS language?

Thanks a lot!

Well, I have updated to El Capitan and the error is gone. It looks like a localization file was corrupt.

So, it seems that the solution is "Reinstall or upgrade your OS"


OS X Calendar extremely slow My calendar app has become super slow (possibly after the OS X 10.10.4 upgrade). Every action, like clicking on a calendar item or scrolling to the next week, will result in approximately 60 seconds of OS X beachballing. The app syncs with 8 different calendar servers (webdav, google, exchange, and ical). This usually works very well.

I had this issue some years ago but forgot how to fix it. Any ideas?

The first step is to make a new user account.

Does calendar app itself contain the problem with no calendar data?

Then you can isolate things from the network. Pull any wired networks and power down WiFi and restart. Retest calendar in the test account (which presumably is always fast and responsive) and your account (which is slow now).

Once you've done that, you can enable networking, sign out of your account and add your calendar source data one by one (if you maintain several calendars in OS X) to the test account to tell if your data is slowing the app.

Assuming you have a speedy calendar in the test account with your real calendar data - you can conclude that your caches for the data was the cause of the slowness. When that happens, I usually move everything over to a new account since the corruption in one app is almost always shared in another.

To make sure the disk isn't causing further issues:

delete the calendar data from the test account
make a full backup (if you like) as well as a Time Machine backup
restart the Mac to recovery HD to repair the volume with Disk Utility (or do a safe boot which runs the same filesystem check)
use the test account to remove the old account - keeping the files on disk (don't erase and don't make an image of the home folder when asked)
make the normal user account and then use that to move back the data from the old home folder


How do I restore my iPhone 4 without backup? I was just trying to put some new music on my iPhone 4 (just temp phone until Christmas), I have had it for around 5 months, after losing my old iPhone 4s 6 months ago. I thought the backup was for music so I tried backing it up, clicked the wrong one and it backed up my OLDER iPhone 3GS from almost 2 years ago. So now everything I have had for the last 5 months is gone, since I have never plugged this one into iTunes before or backed it up is there any way of getting it back?

So, I don't think this is necessarily as simple as the current answers make it out to be.

Technically no, if you don't have a recent backup, you can't restore your phone to it's most recent state.

However...  a backup (in its simplest form) is just:
- a list of apps you have installed, and where you have them on your screen
- your email / iOS settings
- any data stored in the apps
- photos (unless you have iCloud photo enabled, then photos are not part of the standard backup)

So, given the above...   music is not part of a backup.   Any music you've purchased through iTunes is already part of your account.   You just need to download it again (it's already paid for).   Any apps you've downloaded can be downloaded again as well...   they are already purchased.   If you aren't using iCloud photos, you might lose some recent pictures taken...  but that's going to be about it.

Almost everything done on an iPhone is easily recoverable without a "backup".   The backup just makes things easier.


How do I save a text file with a Ruby (.rb) file extension? I am new to Ruby and am trying to learn from a book. However, I have one problem – it says I should save a file so that it ends with .rb but my Mac only lets me use .rtf so that's what I used. But the next thing I needed to do was open it in Terminal and the command cd /Users/username/ruby didn't work for me. I'm guessing the reason for this is because I didn't use .rb it didn't work.

So my question is: What should I use for writing Ruby in the end of that command, or for saving with the .rb extension?

You could only save as .rtf because the file was rich text. To make it plain text, simply press ⇧ shift-⌘ command-T or go Format > Make Plain Text, then you can save as .rb.

Try not to use TextEdit: there is no syntax highlighting and code completion, not to mention that you have to manually turn off those wrong quotation marks.


Battery Menu Bar doesn't show Time Remaining Kinda a unique issue here I haven't been able to find the solution to on Google.  As you can see in the screenshot below, my battery menu doesn't give me time remaining on Battery.  Not even System Preferences gives me it.

Has this happened to anyone else? I'd love to re-enable it.  If it's important, I'm running macOS Sierra.

I can think of several failures to cause that, but let's rule out the obvious.

Open terminal.app and type:

pmset -g pslog

The log will show what the power management subsystem is seeing from the SMC. After trying to connect power, disconnect power and seeing charge for 10 minutes and then off charge for 10 minutes, you should have a good understanding of what is or what isn't working.

At that point, try resetting your SMC one time. Make a note of the information as if that doesn't fix things it's likely a hardware service situation.

https://support.apple.com/en-us/HT201295 - How to reset the SMC


Could my app store password stop working due to iCloud confusion? How can I figure out which Apple ID to use for purchasing and not end up with more confusion with @mac.com @me.com and @icloud.com email aliases that all belong to one iCloud account?

(I apoligize for dropping a bit of a mess here, but the back story is how I got here and hopefully has details to help solve my dilemma.)

I have never really understood the handling of usernames and passwords for iTunes, MobileMe and the app support web site and now with the introduction of iCloud, I sink to another deeper level of confusion. Please bear with me as I described my scenario:

I restored a backup of my older iPhone to a new iPhone 4s and it won't accept my password to get into the App Store to update apps.

I think when I first set up the new 4s I might have accidentally given it a version of my username (using pito@mobileme.com when it really was pito@mac.com or something like that.) I think it went and set up a new iCloud account for me. Guessing this I deleted the new iCloud account and was able to get the iPhone to properly log in on my previous iCloud/MobileMe account, pito@mac.com. Anyway, somewhere along the line things got confused.

Here's where things stand afaik:

I can sync with iCloud on my computer and iPhone and they are all talking to the same account
I see my email, my calendar, my address book and all seems correct
I can get into the iTunes store on my computer (with the pito@mac.com and the password)

However!!

on the iPhone it refuses to accept my the same password when entering the app store. (Not 100% sure what user  name is used in that particular instance.)
AND on the Mac, going into the App Store (NOT the iTunes store) I was able to log into that account, but it appeared to have started a new account because the apps that I have bought in the past don't appear. In other words it looks like I have a second APP STORE account.

So we end up with the question at the top of this post - How can I sort out confusion between Apple ID and passwords?

The iPhone maintains two separate Apple IDs: one for iCloud, and one for the iTunes Store. These may or may not be the same, and they are set in two separate places.

To view and set the Store account, open Settings and scroll down to Store. Beneath the settings for Automatic Downloads, it should show the Apple ID you're currently using on the phone for the Store, e.g.:

Apple ID: pito@mac.com

Tap that, and a dialog will pop up offering three options: View Apple ID, Sign Out, and iForgot (the last is for retrieving a forgotten password).

If the Apple ID displayed there is not what you expect, select Sign Out, and you will be able to sign into the Store with a different Apple ID. Note that this will not affect your iCloud settings, which are managed separately through Settings > iCloud.

Give this a try, and if you are still having troubles, feel free to update your question.

Further note: it sounds like you have inadvertently set up a new Apple ID instead of using an existing one. To identify which Apple IDs are associated with your account, check out My Apple ID. The Manage Your Account and "Not sure if you have an ID? Find out" links should help you get a handle on the situation.

Update: Regarding your comment about the App Stores, there's definitely confusion to be had here: The "App Store" on iOS is part of the iTunes Store - it's the same content that you see when you open iTunes, go to the Store, and browse to Apps, and it uses the same iTunes Account. The Mac App Store, accessed by clicking the App Store icon in your Dock (or under the Apple menu) in OS X is a separate content store containing only OS X apps. That said, it also authenticates using an iTunes Store account, typically the same one you'll use in iTunes.

As of today, the easiest way I've found to think about this - and the way I've configured my own accounts - is:

An Apple ID for buying things, which you'll use to authenticate in:

The iTunes Store
The App Store on iOS
The Mac App Store on OS X

And one for syncing things, which you'll use to authenticate in:

The iCloud settings on iOS
The iCloud preference pane on OS X
The iCloud website

The thing to note about the above is that you can use the same Apple ID for both sets of tasks, but, depending on what you want to accomplish, knowing where to enter each ID is important.


How does the new iPad's Retina Display affect its battery life? As we all know, the new iPad has a gorgeous new Retina Display. And yet, it's advertised to have battery life just as good as the iPad 2's.

How is this possible? Doesn't the new display require a lot more power to run? Were any performance tradeoffs made (e.g. refresh rate), or did Apple improve the battery enough that it's irrelevant?

Your question's wording is a bit unluckily.
There is no previous iPad with the same battery capacity. It does not really makes sense to talk of an impact of a new display to the battery-life. That's not a reasonable comparison because the battery has been updated as well.
The retina display of the iPad 3rd generation

The new iPad uses 2.5 times the backlight power of the iPad 2. This is due to the TFT transistors of the high-res LCD display blocking more light. (source)

This also contributes to the heat emission. The overall performance however is only little affected, because Apple compensated the increased power drain by adding a 70% bigger battery.

(pictures 1,2)


Do Apple WiFi drivers have a problem with Asus Routers? My two apple systems claim that my ASUS AC-88U is broadcasting country code '-'.
Asus claims  that they will broadcast NA (for North America). All the other routers in the neighborhood broadcast US.
Is this commonplace -- does Apple somehow flub the code for 'NA', or is ASUS blowing smoke at me here and my unit is in fact defective.

No, it is not so that Apple devices somehow cannot read the country code for North America.
Some WiFi devices comes with a settable country code - i.e. often you can access a configuration page from the router and set the country code to match where you are. For some vendors the country code can be changed with firmware updates. Also it is possible that you received your router via parallel import from somewhere else (China or similar) - and that it doesn't have the NA country code because of this.


Reply button not working I have a MacBook Pro, which uses Safari as the web browser.
When I check my company's e-mail online, I cannot use the Reply button (it simply does not respond.)

I wonder what I should do to fix this problem. (My computer is new.)

Does anything else not work, or is it just the “Reply” button? A few things you could try:

Restart Safari—or your computer. Sounds dumb, but it's amazing how often this does the trick.
Use the menu item “Safari -> Empty Cache…” to clear Safari’s cache.
Try to use your company’s webmail in another browser. There may be a subtle bug (or feature?) in the website’s code that Safari is not handling properly. Here are a few alternatives:

Mozilla Firefox
Google Chrome
Opera
OmniWeb
Camino
Internet Explorer, on Windows, just to check. Even in this day and age, some websites still only work properly with IE.
Netscape Navigator (Yuk yuk yuk. Just kidding, don’t download this. For the love of God, don’t download this.)


Apple watch always displays the wrong high temperature I'm having trouble understanding the Apple watch high and low temperature values. They are never correct.

In Nyc, the high is going to be 81 today. However when I looked this morning it said 72 degrees.  When I scroll forward I get time travel to update the weather values. Somewhat.

Right now as I scroll the low value for the day is 57. But as I scroll the high value keeps changing.

Is this a bug?  What is the frame of reference? (High in the past hour, past day, etc)

I've found that this happens because of the delay introduced by the network and retrieving the temperature for your location.

Many things have to happen to show you the temperatures. I see this same thing on my iPhone but I think it's more noticeable on the Watch because you're staring at it, waiting for the data.   You can be looking at the old data while the app gets the latest updates and then the numbers will change as the new data rolls in.

In addition, some apps, such as Weather Underground, take an extremely long time to do their updates. I've even given-up using some weather apps because of this delay.


Macbook Pro (Early 2011) to 2560x1440 monitor? I'm wondering whether I can connect my MBP to a 2560x1440 monitor and whether anyone else has has any success in doing so.

Maximum supported res for external monitor is 2560x1600 so I'd say if you used a Thunderbolt/miniDisplay Port -> Display Port it ought to work. I wouldn't be so certain of DVI or indeed HDMI.


Can an iPad screen be displayed on a Windows PC for accessing iMessage? I am new to Apple ecosystem of devices and services. I am trying to find a way to use iMessage service at work.

So far I only have an iPhone XS Max and an Apple Watch Series 4. I have a PC running Windows 10 at work, that is about 8 years old, and a Windows laptop that is about 6 months old.

I wish to use my desktop to communicate with people with images from the PC or texting, so that my workflow could involve not picking up the iPhone constantly.

I was considering getting an iPad Pro 2017 and plug it up to the PC, then display the image as a window on my Windows 10 PC. Is there a way of doing this?

The main goal is just to continue to use iMessage on my Windows 10 PCs.

Any other suggestions would also be considered. I have read articles about getting a Mac mini and use remote desktop from Google Chrome to do that, or run macOS in a virtual machine on windows. My Windows 10 PC is too old and limited to only 8 GB of memory.

iMessage which was subsequently rebranded as Messages is a messaging service available for Apple devices.

It is not available for other desktop and mobile operating systems. It is not possible to use iMessage on Windows by installing any app or Web based client.

  I was considering getting an iPad Pro 2017 and plug it up to the PC, then display the image as a window on my Windows 10 PC. Is there a way of doing this?

It is possible via 3rd party tools to display the screen frame (output) of an iPad on a Windows PC, however, it’s not possible to operate iOS (software running on iPad) via this way.

Accessing a Mac mini over remote connection should work fine, as it’s available on both iOS and macOS. As long as you are able to run and access macOS, you should be able to access iMessage service all right.

If the only thing you are looking for is to look for an easy way to exchange iMessage (from the comfort of using physical keyboard) using it on a Mac is your best bet. There’s no point in trying to connect and access an iPad via a desktop computer.


Time Machine keeps doing full backups I keep seeing Time Machine doing a full backup of my ~80 GB hard disk. I see this a few times a week, when I first turn on my mac. During the day, I see Time Machine doing small incremental backups of ~100 MB, hourly.

Why does Time Machine does these big backups?

I also see the large backups in the logs here.

nanceki@Stephen-Nancekivells-iMac /v/log> bzcat system.log.* | grep backupd | grep Copied | grep GB| sort | less

Jul 23 08:46:32 Stephen-Nancekivells-iMac com.apple.backupd[7569]: Copied 0 bytes of 78.3 GB, 0 of 23051 items
Jul 23 08:47:31 Stephen-Nancekivells-iMac com.apple.backupd[7569]: Copied 5324 files (1.1 GB) from volume Macintosh HD.
Jul 24 08:55:37 Stephen-Nancekivells-iMac com.apple.backupd[20310]: Copied 0 bytes of 78.4 GB, 0 of 23013 items
Jul 24 09:52:18 Stephen-Nancekivells-iMac com.apple.backupd[20310]: Copied 24172 files (78.4 GB) from volume Macintosh HD.
Jul 28 13:43:25 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 0 bytes of 76.5 GB, 0 of 4557 items
Jul 28 15:43:43 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 20.4 MB of 76.5 GB, 2477 of 4557 items
Jul 28 17:43:59 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 305.8 MB of 76.5 GB, 5797 of 5797 items
Jul 28 19:45:03 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 1015.8 MB of 76.5 GB, 5797 of 5797 items
Jul 28 21:44:58 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 1017.8 MB of 76.5 GB, 5797 of 5797 items
Jul 28 23:45:22 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 1.4 GB of 76.5 GB, 5797 of 5797 items
Jul 29 01:45:40 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 1.8 GB of 76.5 GB, 5797 of 5797 items
Jul 29 03:46:08 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 2.4 GB of 76.5 GB, 5797 of 5797 items
Jul 29 05:46:26 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 2.8 GB of 76.5 GB, 5797 of 5797 items
Jul 29 07:46:47 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 3.4 GB of 76.5 GB, 5797 of 5797 items
Jul 30 03:50:41 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 4.1 GB of 76.5 GB, 5800 of 5800 items
Jul 30 05:51:07 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 4.4 GB of 76.5 GB, 5800 of 5800 items
Jul 30 07:51:20 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 4.8 GB of 76.5 GB, 5800 of 5800 items
Jul 30 09:02:00 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 5.4 GB of 76.5 GB, 5800 of 5800 items
Jul 30 09:55:30 Stephen-Nancekivells-iMac com.apple.backupd[98930]: Copied 6598 files (76.5 GB) from volume Macintosh HD.
Jul 31 09:09:22 Stephen-Nancekivells-iMac com.apple.backupd[4793]: Copied 0 bytes of 76.5 GB, 0 of 4510 items
Jul 31 10:03:35 Stephen-Nancekivells-iMac com.apple.backupd[4793]: Copied 5615 files (76.5 GB) from volume Macintosh HD.

Time Machine doesn't normally do that. Open Console (under Applications/Utilities), select All Messages in the log list, and type "backupd" into the filter bar. If you scroll back up to the time of one of these full backups, there may be a log message explaining why it backed up so much.


I connected my iTunes account to another computer, and it's only showing purchased music? Where did my music go? the computer is fully updated. I'm going to be using a different computer for the next month, so i tried to connect my iTunes so i could access all my music. when i signed in, it was only showing my purchased music from the cloud. i connected my phone and synced it, but to no avail. i have 140 songs on my other computer, and all of them are on my phone. how do i get the music from my other computer's tines onto this computer? i don't have access to the other one.

You have to copy the music from the other computer (by flash drive or from a backup disk)
iPhones and iPods are doesn't allow to transfer music from device to computer


Problem with "Open With" menu I ran this command in Terminal, which supposedly clears all duplicate applications from the "Open With…" menu and now many of my files are just showing up as blank images (.zip files, .dmg files, .rar, etc.) and they don't open with the correct application. I did log  out and log back in after doing this. Help!!

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain user

Logout and then Login.

It's common for this to happen. If the problem doesn't fix itself upon logging back in it's just a matter of Rebuilding the Launch Services.

Try it this way:

  /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister
  -kill -r -domain local -domain system -domain user

Alternatively, you can use the commercial utility MacPilot:


Detecting theft of data - folder / files transfered from MacBook to USB I know this is similar to another question posted here a while ago:

Did someone copy files from my Mac?

but the problem is slightly different and the answers don't help in my case.

I need to know with a 100% certainty whether data from a MacBook laptop has been copied onto a USB key. I suspect that sensitive folders and files were copied. The question is would forensics be able to know whether copies were made and exactly what folders and files were copied?Assume also that the time it was done for appx. 1 month ago.

Surely there must be some sort of way to know what files / folder and how large it was was copied?

TL;DR: With a standard install of macOS it isn't possible to determine with any certainty whether data has been copied from the Mac onto an USB or network device

This is one of those questions where it's "a duplicate but not a duplicate because the answer doesn't work for me."

Here's a quick summary that addresses your question of whether or not you can detect if someone copied your files (to a USB):

You don't actually know if the file was copied. The problem with the answer from the linked question (and what makes this not a dupe) is that it only tells you if the file was accessed, not if it was copied to another location.  To elaborate, if the person double clicked on the file and closed it it would show it was accessed.  This is why you can't have your "100% certainty" (or even 50% certainty) as you state.
The logs don't record this activity.  There will be nothing in the logs because even if you look through all the system logs, it will only show that a USB device was attached/detached.  It doesn't tell you what was done with that USB device.

To do this and to have proof positive that this activity occurred, you need to enable Auditing and this is accomplished with OpenBSM.  Understand, it's not turned on by default because it would generate tons of log entries using up system resources as it monitors activities. From a system resource perspective, auditing is an "expensive" function to perform.

The problem with this and the linked question is that you're looking for an audit trail post hoc.  This is like wanting to have security camera footage of a break in when the security cameras weren't installed and operating prior to the breach.


Cannot change archive folder gmail on iPhone Since yesterday I inadvertently deleted an important email (it's waaaay to easy to swipe left too much and delete the mail), I changed the default setting to "archive" instead of delete. But since I want to be able to delete those email from my phone, I created a folder called "To Be deleted" on my gmail account, that I can then empty safely from my computer.

The only thing left to do is to change the default archive folder from "All mail" to the new folder I created, so that I can mark the emails I want to delete from my iPhone and then do so securely from my computer; but when I do this from my iphone the setting does not get saved. In  particular I go to Mail -> Gmail account -> Advanced setting and there i change the "archive folder", but as soon as I leave that screen the change is reverted back.

What is causing this / what should I do now?

This seems to be a bug with "Google" mail accounts in iOS.

I was able to solve this by not showing the "All Mail" label in IMAP in the Labels settings in GMail.

You can then select a different folder as the archive folder in the Mail app. The Mailbox list will still show it as "All Mail" but it is actually your chosen folder.


Is there a way to hook up my IPhone to my Windows computer to make and recieve calls and texts? Basically what I am looking for is something similar to Phone Amego from these questions, but for Windows. Also my desktop doesn't have Bluetooth so a solution that works over WiFi or by plugging my phone into the sync/charging cable would be preferable.

Without a jailbreak, what you ask is not possible (Even on Mac OS).


want to remove imagemagick I encountered problem here as I used to install ImageMagick before but then changed my mind and removed the ImageMagick. When I continue using X11 to run the other applications, the error was appeared as below. What should I do? Do I have to uninstall X11 (already did that but cannot be moved) or perhaps reboot?

$The error    192-168-1-5:~ abc$ source  /users/abc/GAMOS/GAMOS.4.0.0/config/confgamos.sh

192-168-1-5:~ abc$ cd /users/abc/GAMOS/GAMOS.4.0.0/examples/test192-168-1-5:test abc$ gamos transport.in
dyld: Library not loaded: /opt/X11/lib/libfreetype.6.dylib
  Referenced from: /users/abc/GAMOS/external/root/5.34.03/root/lib/libGraf.so
  Reason: Incompatible library version: libGraf.so requires version 15.0.0 or later, but libfreetype.6.dylib provides version 10.0.0
Trace/BPT trap: 5

$I used these commands while I was installing ImageMagick;    export /users/abc="/users/abc/ImageMagick-6.8.6"

export PATH="$MAGICK_HOME/bin:$PATH"
export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib/"
convert logo: logo.gif

Check your ~/.bash_profile in a text editor and delete any lines referring to those libraries or ImageMagick.


Lion deletes files after copying to shared folder on AFP I have an iMac 27" (late 2009) running Lion OS X with all latest patches.

There is an external USB drive (Mac partition, journalled), on which I have created a network share using AFP.

Since yesterday, another Lion machine (the source) trying to save files to the share will copy the files, but at the end of the process the files are nowhere to be found on the target (i.e. my machine).

It was working yesterday because I have a folder there with yesterday's date.

I have stopped and started sharing, tried with different shares and permissions, turned off the Firewall, and various other things to try fixing this.

The only thing that I know has changed since yesterday afternoon is that I upgraded iLife to version 2011 (with associated updates from Software Update).

Behaviour: files can be seen copying (grayed out), and at the end of the process, have vanished. From the source machine, everything appears normal. In other words, the files are disappearing after they finish copying.

Side note: if a folder is copied, the folder itself is created, but the files inside are copied and then deleted but the folder remains.

Further note: AirDrop does work, but I don't want to use it because it's the 21st century and network shares should work by now.

Any thoughts are welcome.

EDIT: When I try to overwrite the folder that has already been created (see above), it tells me (at the source) that the folder is in use and cannot be changed.

SECOND EDIT: After repairing permissions on both iMacs, things appear to be working again, but I will monitor the situation and update this question in a day or two anyway.

As noted in my second edit, repairing permissions appears to have fixed the problem, though I don't see how.


Does the Apple Mini DisplayPort to Dual-Link DVI adapter passthrough HDCP? I have a dual-link (2560x1440) DVI monitor connected to my computer (2015 retina MbP) through the Apple Mini DisplayPort to Dual-Link DVI adapter. It is reported as not HDCP-complient by iTunes and Netflix. Is this because the monitor doesn't support HDCP, or because the adapter doesn't pass the HDCP?

Here's what Apple says about this:

  Apple Mini DisplayPort adapters that offer digital connections—such as
  the Apple Mini DisplayPort to Dual-Link DVI adapter and the Apple Mini
  DisplayPort to DVI adapter—support HDCP content. Apple Mini
  DisplayPort adapters that offer analog connections—such as the Apple
  Mini DisplayPort to VGA adapter—do not support HDCP content.

Also, I found this answer on an Apple site but I can't verify if it's correct so YMMV:

  Here is what I found a) Mini DP to DP will offer full resolution 2560
  X 1080 @ 60 Hz but HDCP content from iTunes is not permitted, ie. will
  not run; b) HDMI adapter to DVI-D allows HDCP content to run but the
  resolution is limited to 1920 x 1080 @ 60Hz; c) HDMI to HDMI also does
  not offer full resolution but allows access to HDCP content; finally,
  the only configuration that offers both full resolution and HDCP is
  with Mini Display Port to Dual DVI-D cables.


How can I copy a PDF from OneDrive to iBooks using the OneDrive iPhone app? I have a PDF file in OneDrive that I would like to copy to iBooks on my iPhone. Usually apps have an option to copy the PDF to iBooks, but apparently the OneDrive app doesn't. I tried pressing the button on the top right corner after opening the PDF in the OneDrive app and then selecting "Share a link", but it doesn't seem like the iBooks option is available there:

I clicked on More to see if there was an iBooks option that was hidden, but no.

I also tried Open in another app, but nothing happened. The other options in that menu (delete, rename, etc) don't seem to have anything to do with what I want to do.

I also tried opening the PDF online on OneDrive's website with Safari, since Safari usually has an option to copy PDF files to iBooks, but that didn't open it as a PDF file but as a webpage, so copying it to iBooks that way created a screenshot in iBooks and not the actual PDF.

The only solution that I found was sending the PDF to myself by email and copying it to iBooks through the Gmail app, but I would like to know if there is a better way to do.

Is there an easy way to export a PDF from OneDrive to iBooks on an iPhone, preferably directly from the OneDrive app?

Try downloading the PDF, there should be an option called "Open with ..." or "Open in iBooks".

Or after selecting it, click on the 3 dots on the top right, there should be the option "Open in"


RSS feed for new AppleTv titles? Is there perhaps an RSS feed or some other method of being notified of new AppleTv titles as they become available?

There should be, but almost all I found were people complaining that there wasn't one.

Given that, one or more of these might help:

Apple TV Junkie has a feed of at least some new movies.
Apple has an iTunes RSS Generator
While it doesn't do new movies, it will give you top movies and top movie rentals.
If you felt like getting into the code, here's the  iTunes search API.
This URL launches iTunes and goes directly to the "New Movies to Rent or Own" section of the iTunes store.


Apple Music loved songs I tried to create a smart playlist with "Loved" criteria = true, but this smart playlist will only include the loved songs from my library.

Is there a way to include also the loved songs from Apple Music that are not in my library?
Is there any other way to collect all the loved songs from all my devices into one playlist/album/whatever?

I don't know why Apple makes this so complicated?!

There is no way to achieve the Loved smart playlist without adding the song first to your library from my testing.

I have just given a song Love on Apple Music and it did not appear in my smart playlist until I added it to my library. Even if it was added to a playlist but not actually to My Music it would not appear.


TestFlight - What happens to the installed beta-app when that version goes live in AppStore? We're using TestFlight with external testers to beta-test our app. In the guidelines to TestFlight it states that If you already have the live app installed on your device, the beta version of the app will replace the live version., but what about the other way around?

We uploaded a build to TestFlight a week ago, and started the beta-testing. Today, we released the same build on AppStore, and now - TestFlight says that we don't have any builds in beta, both on iTunesConnect and in the app. Did TestFlight 'understand' that we released the same version, and removed it from testing? Or did something else happen here..? I am not sure if this happened last time we did this.

What happens to the testers version of the app? It still has the orange beta-dot next to its name, will it update itself to indicate that it's the 'live' version? After all, it is the same build. Or will it 'expire' in 60 days? The real problem is that our beta-testers may be confused if it suddenly says that the app has expired, with no additional information in the TestFlight-app, and they have to install the live AppStore-version manually.

The user can 'update' to the newest version on the App Store to remove the 60 days 'trial' for your beta version.

TestFlight checks your build version that is marked as test version and the live version on the App Store. If they match Testflight won't show the same version anymore.


Can Finder and the "open" command treat files with .sh or other typical extensions just like .command files? I am looking for a way to inject some more extensions into the OS X launch services database systematically so that when clicked, they execute in the terminal app just like .command files do by default.

Things like .ksh, .sh, and .csh would be nice to start, but I assume once I figure out how to add one, it's easy to do the rest.

An answer specific to Lion or Snow Leopard is fine, so a general-case answer for all OS versions is not necessary. It would be great if this were scriptable and wrote directly to the Launch Services database so I could automate this rather than going to finder on each mac and doing a lot of clicking.

If a file is opened with Terminal, and has the execute bit set, then Terminal will execute it.

Get Info on a .sh file and set it to be opened with Terminal, and click the Change All button.


Automatically open a terminal window and run a command, robustly I am looking for a way to automatically open a new window of Terminal.app and run a command in it.

I used to do this with AppleScript, in a way similar to this:

tell application "Terminal"
  do script ("some-command")
end tell

The official distribution of Julia opens terminal windows in the same way.

However, if Terminal.app is set up to run a command on startup (which is an often recommended practical way to set a new shell without changing the login shell globally), this method simply fails.

Is there a robust method that works even when an alternative shell is used?

Save whatever script you wish to a file and when you change the extension to .command

Finder will robustly make a command line window that’s new to run that command / script. This works for whatever #!/bin/whatever shell or script you start the text file.

AppleScript can open documents just like when Finder clicks on them to open, this should be a fairly universal way to accomplish your task.


How to index one folder on a (huge) smb shared drive for Spotlight? I have a team of a few Mac users in an organisation of about a thousand PC users, all of whom share an Active Directory shared drive which the Mac users connect to with smb.

There's one folder with a few thousand files in many subfolders that the Mac users need to be able to search. I've tried to index it directly and to mount the folder as a volume then index it, but in both cases the standard way seems to not work with folders.

Indexing the whole drive is not an option - It's insanely huge and already has performance issues. Installing smaller physical drives or partitions isn't an option.

How can I index just one shared folder (and its sub folders)?

I've found some vague allusions to mdimport and mdimport -f instead of mdutil (example) but I can't find any clear info on it.

I'm not sure you can index a single folder in quite that way. Indexing starts at drive level…

But how about the other way round?
Tell it to index the drive, then add everything else to Private?
Exclusive rather than inclusive method.

You can do that at the server by adding a file called .metadata_never_index at the top level of each other directory, rather than have to do it at each user's machine from the Spotlight control panel.


Is it possible to know if a macOS startup drive has been used in another mac? I need to know if the storage drive in a Mac (SSD/flash storage or hard drive), has been used on another machine (same model probably).  How can I otherwise know if a file in this Mac or the use of an app has been done in this same Mac, or on another same mac started up after swapping the storage drive?

My idea is that this is not possible as during the boot nothing seems to be written to the startup drive.  I know that the log-in can be found with Terminal (Last command), but how can I know this activity has been done in this mac or in another mac with this same storage?

Image added as part of answer by Jaume:

I need to know if the storage drive in a Mac (SSD/flash storage or
  hard drive), has been used on another machine (same model probably).

macOS logs the computer's MAC addresses in these files: /var/log/daily.out and /var/log/wifi.log.

Since a MAC address (MAC stands in this context for media access control) is unique to every network interface and thus different on every Mac, you can list the current computer's MAC addresses and check if they differ from what has been logged:

Launch the Terminal app, located in /Applications/Utilities.
Run:

ifconfig | grep -A 2 '^en' | grep ether | sed 's/\(.*\)\(..:..:..:..:..:..\)/\2/'

to list all physical MAC addresses on your Mac.

Output will be similar to this:

60:f8:11:8f:f0:00
e0:f8:43:42:6d:40
d2:00:11:8f:f0:00

Now run:

sudo grep 'initWithInterfaceAndIE: _myMacAddress' /var/log/wifi.log | sed 's/\(.*\)\(..:..:..:..:..:..\)/\2/' | sort | uniq

to list all logged physical MAC adresses.

Output will be similar to this:

60:f8:11:8f:f0:00

Compare the output of ifconfig with the logged MAC addresses.

If a MAC address listed in step 3 is not included in the list from step 2, it is very probable that the internal storage has been used with another Mac.


Is my iPad 2 a "Rev A"? After spending some time searching with Google and on developer.apple.com, I still can't figure whether my iPad 2 is a "Rev A" or not (its model is MC979LL/A).

How can I know my exact model?

You don't have a Rev A iPad 2 — the MC979 is an iPad2,1 (16 GB White).

The Rev A iPad 2 (iPad2,4 — A1395) model numbers start with MC954 (black) or MC989 (white). They use the Apple A5 Rev A.

Source: The iPhone Wiki — Models

To view your model number, you can find it in Settings → About.


Has Arrow Key Navigation Changed for Skim in Yosemite? In Mavericks, I was able to scroll through PDFs in Skim by pressing the up/down arrow keys, with the down arrow navigating to later pages in the document, and the up arrow navigating to earlier pages. In Yosemite, it appears that the up and down arrow keys have reversed when viewing a document in either "single page" or "two pages" mode (not continuous); now, the up arrow goes to later pages, and the down arrow to earlier pages. Is this a Skim-only change, or is the change more system-wide? If it's system-wide, is there a way to change it back to the Mavericks behavior?

Edit: It seems that some people aren't able to reproduce this, so it might be a particular choice of settings that is causing this strange behavior.

According to the author of Skim, there is a bug in Yosemite that swapped the up and down arrow keys. Some versions of Skim had the fix, and the author later decided to remove it. In the newest version of Skim, 1.4.12, the author re-added the workaround. From the changelog:

Reinsert workaround for Page Up/Page Down bug Apple refuses to fix


What is a .apple extension? What is a .apple extension? I am recovering some files and I recovered several files with the .apple extension.

What does the terminal command file f0009024.apple show you about the files have.

It's highly unlikely they are truncated Apple Single or Apple Double files, but that's the only guess I have at the moment.


Al Jazeera sports application geolocation problems for iPad I have an app for Al Jazeera sports. I have a subscription with them on the app, and now I'm going to the USA to study and I need to watch the games on my iPad since I'll have no TV access when the games are played. Is there a tweak that I can do through iFile to trick the app to think that I am in the Middle East? It works if I change the IP address to a Saudi web proxy, but its not reliable, not always online, and becomes slower. If you want to test the application, you'll need to get it from a middle eastern Apple Store.

If the Al Jazeera apps determines your location based on your IP address (which seems to be the case), the only way to circumvent this check is by using a proxy or VPN connection with an IP address in an allowed range.


Can't get my USB-C to Display Port Adapter to work on new iMac; works on MacBook Pro I bought a new 2017 iMac 27", but I still want to use my 4K monitor. I was using the monitor with my 2012 MacBook Pro just plugging in the mini-DP cable into a Thunderbolt 2 port.

I tried the "All Smart Life" USB Type C to Mini DP adaptor, which advertised that it worked on the new MacBook Pro, but it didn't work on my iMac.

Does anyone know what adapter I can use to connect my new iMac to my 4K monitor?

Thunderbolt is a "multiplexing" of several signals including DisplayPort so the signal already exists there.  You just need a Thunderbolt to DisplayPort cable that goes from USB-C to DisplayPort (or mini DisplayPort if necessary) and you will be able to connect your 4K monitor.


I purchased & downloaded Mountain Lion, and then...nothing happened I purchased Mountain Lion through the App Store on my 10.7.5 MacBook Pro.

The download completed and I clicked through the prompts to choose an install location and agree to the terms.

I'm sorry to say I'm not sure what happened next as I shifted my attention to another computer.

I assumed the install process was running.

However, when I looked back at my MBP, I was back on the desktop with no sign of activity.

(It's conceivable that I clicked "cancel" by mistake -- I'm kind of tired/distracted/trying to juggle several things at once today.)

I went back to the App Store, looked under "purchases," and found Mountain Lion labelled as "downloaded" (as I would expect).

How can I restart the installation?

Can I go to the downloaded file and click on it? Where would I find it?

Check your /Applications folder. After downloading Mountain Lion, the installer is placed there (entitled Install OS X Mountain Lion).

It will be deleted after installation, but should still be present on your machine if you have not upgraded yet.


Remote control of iPad pro from another touchscreen display With AirServer I am able to display my iPad screen on another device.
Now, I would like to know what are the possible solutions to have a remote control of my iPad.

Unfortunately, Teamviewer or VNC are not allowing such thing.

Someone has an idea ?

Regards,

Kelson

Unfortunately, Apple does not allow remotely controlling an iOS device, but if you are jailbroken, you can use the Veency tweak:

Open Cydia to search for and install Veency.
Respring when prompted.
Go to Settings > Veency and choose the settings you want.
Figure out your IP address by going to Settings > Wifi > click the "i" next to your currently connected network and the IP address should be listed there.
Open up a VNC client on your computer and connect to your device by inputting the IP address when prompted.


How to make new certificate recognised? We have a large number of Mac Minis that are running a piece of software that we have developed and have been distributed to various clients.

We recently updated our code signing certificate as the old one had expired. However, when we put a new version of the application which is signed with the new certificate on one of these machines, it pops up asking to 'Allow Once', 'Allow Always' etc.

Since we have to remotely update these machines, it is not practical to click 'Allow Always' and type in the password on all these machines. Is there a command line way to make the new certificate recognised so that if a machine is updated with a version containing the new certificate, it will run straight away?

Copy the certificate to the client (in DER or PEM format), then run:

sudo security add-trusted-cert -d /path/to/certificate

At least, that works for SSL certificates; I haven't tried it for code signing.  You might need to add -p codeSign or something similar.  Also, this sets a trust policy for the certificate, but doesn't actually add it to the system keychain.  If you want it to appear there as well, you also need to run:

sudo security add-certificate -k /Library/Keychains/System.keychain /path/to/certificate


How do I reinstall Adobe Design and Web Premium CS6 on my Mac? When I tried to open Photoshop I got a message that files were missing.  Someone (mis?)informed me that I had to uninstall Photoshop and then hit the button to reinstall. Instead the whole file along with Acrobat Pro and a whole bunch of other stuff disappeared. And there was no reinstall button. Is there a simple way to fix this?  I have the license key for the suite.  Do I need anything else?

Just download the installation files of the CS6 trial version from Adobe again:

https://helpx.adobe.com/en/x-productkb/policy-pricing/cs6-product-downloads.html

Once you've installed the trial, you can upgrade it to the full version using your license key.


Is there a 1 cable solution to connect 2 monitors in extended mode and charge a MacBook 15" at the same time? Is there a hub which can drive 2 screens directly without relying on DisplayPort-MST and charge a laptop at 85W?

What I'm trying to find is a hub which would allow the following using only 1 cable to the laptop (thunderbolt preferably or USB type C):

charge a 15" MacBook Pro (85W) at full speed
use 2 external monitors over HDMI or display port in extended mode
keep using the macbook's screen (effectively driving 3 screens in extended mode)

All of this from Mac OS.

I have tried multiple docks so far, and none seems to offer a simple way of connecting multiple monitors to the MacBook 15" (2018).

The USB ones I tried require a display link driver. Despite this they don't drive more than 1 monitor (1080p) at a time. If you connect 2 they copy the same image to both monitors (so they work but not in extended mode)

Another issue with the thunderbolt 3 ones is that all the ones I looked at are unable to drive 2 screens over DP or HDMI directly. They require either:

one of the screens to be connected using thunderbolt or USB-C
the OS of the computer attached must handle DisplayPort-MST

The issue is that OSX does not support DisplayPort-MST for hubs https://en.wikipedia.org/wiki/DisplayPort#Multi-Stream_Transport_(MST) (even if apple mentions MST support in their docs)

A solution which seems to work with most setups is to add a USC-C to HDMI dongle. But this comes at the expense of having to use another dongle, and of sacrificing daisy chaining.

I have found that using a thunderbolt 3 hub and connecting it to a second hub (thunderbolt 2 or 3 consistently and USB-C sometimes) allows me to drive 2 monitors in extended mode without sacrificing chaining, even when the MacBook is using the built-in display, but this is not the ideal solution as it requires multiple docks per computer.

You need a Thunderbolt 3 dock - many exist.  What you seem to be confused about is that they require a Thunderbolt 3 monitor - they don't. You can buy a simply cable to connect the Thunderbolt 3 port on the dock to the monitor via DisplayPort or mini-DisplayPort.

I'm using the OWC 12-port Thunderbolt 3 dock for attaching dual-monitors to the MacBook Pro while charging it at the same time. Monitors are both connected using mini-DisplayPort. This does not use MST as that is not supported by macOS. Nor does it use DisplayLink. It is all connected to the MacBook Pro with a single Thunderbolt 3 cable.

You can also use other Thunderbolt 3 docks such as the OWC 14-port Thunderbolt 3 dock, the Belkin Thunderbolt 3 Express Dock HD, the Caldigit TS3, the Elgato Thunderbolt 3 Pro Dock, and many others. They all provide 85 watts for charging and allow attaching two monitors.

It would seem that the docks you have tested earlier are USB-C docks. They require MST to be able to support dual-displays, or they use DisplayLink. MST is not supported on macOS, so that's only going to work if you run Windows on the MacBook Pro. DisplayLink is generally limited in performance compared to a native DisplayPort signal.


Macbook Pro not responding to keyboard or power button I bought a used Macbook pro mid 2010. The previous owner sold it to me because the computer would not power on. It turned out the magsafe charger was broken and it had run out of battery.

After replacing the magsafe charger, the computer now charges and after a minute or so it powered itself on. I have also replaced the internal hard drive with a brand new SSD.

Now, it "boots" up and says no bootable device - insert boot disk and press any key which is exactly what I exptected it to do.

The thing is, both the keyboard and the power button is not responding. So I can't press on any key and I can't turn the computer off.

Is the keyboard and power button issue related? In other words, is it the same "cable" on the inside powering them both? Or is this two separate issues?
Will it work if I connect an external keyboard via USB?

Update

I ordered a replacement keyboard from Ebay, but when I was in the process of taking the laptop apart, I noticed that the keyboard "connector cable" that sits on the logic board was loose. After refitting the cable I decided to put it back together again - leaving the original keyboard inside.

Now it responds to the power button (keyboard and power button is connected to the same cable), but the keyboard still won't work.

So I connected an external USB keyboard (that I have confirmed works on a PC), but that will not work either.

It powers on, and after a few seconds it just says no bootable device... bla bla even though I have the original OS X DVD in the tray (and I can hear it working on boot).

Would it boot with the old (original) hard drive? If so, you need to either clone the HDD to the SSD via Disk Utility (hold Cmd+R at boot), or install OS X anew on the SSD. You can use DiskMaker X to prep a USB installer, or use a OS X install DVD, assuming you can find one and the MacBook has an optical drive (fairly sure a '10 model does).

Just sounds like a mechanical issue with the keyboard, but hard to know without OS X installed. I would simply plug in a USB keyboard (any keyboard will work) and try that.


How to recover a forgotten Apple ID without access to a trusted device or a IOS device iPhone is considered to be the best in case of security. What should be done if the Apple ID is lost or forgotten and the iPhone is turned off, and there is no other way to start it?

This has happened with me twice and this time the problem is again the same. It's a big loss for me to buy a new iPhone every time. Please give me best guide so I can fix this problem.

It's possible to recover an Apple ID even if you have forgotten your login email and password. Refer to the Apple Support article, If you forgot your Apple ID.

  Use your Apple ID account page

  Go to your Apple ID account page and click Forgot Apple ID or password.
  When you're asked to enter your Apple ID, click If you forgot your Apple ID, you can look it up.
  Enter your first name, last name, and email address. If you enter the wrong email address, you can try again with a different one.


How do I delete Albums from Photos for synced folders that don't exist anymore? I previously used a Windows 7 desktop PC before and synced a folder of pictures to my iPod Touch 4G Photos using iTunes. Unfortunately, the desktop PC crashed and so I had to reinstall Windows 7 on my laptop.

In my current Windows 7 setup on my laptop, I have reorganized my folder structure which included the pictures folders.

So now, I want to sync to these picture folders with my iPod Touch. But first I want to delete a previously synced folder from my iPod Touch (as these will most likely duplicate pictures which are now on different folders). The problem is, I can't do that on the iPod. And I can't do that on iTunes as well because the synced to folder isn't there anymore.

The only thought that occurred to me is to reset the device but I don't want to do this just yet. How do I go about deleting the folder from my photos without touching the other data (e.g. Emails, Messages, etc) on my iPod Touch?

What I did to erase photos in my iPod Touch synced to a non-existent folder.

Created an empty folder in my Pictures directory (eg. Temp)
Plugged in my iPod Touch, opened iTunes and went to the Photos tab and synced to the empty folder
Opened the Photos app in iPod Touch and album I wanted to remove was removed


Why do Apple's 2012 MacBook Pros cap the RAM limit at 8GB? According to apple's latest documentation (at the time of writing), the cap on the 2012 MacBook Pros is 8GB RAM.

The Mac Pros, however, can take up to 32GB RAM.

So, why do the MacBooks have this cap? Is it a hardware issue, because I don't think it's a software one.

The OS X that runs on the Mac Pros is the same that runs on the MacBook Pros. Being 64-bit software on top of a 64-bit Architecture (both the MacBooks and the Mac Pros), it's obvious that the OS can use as much as 32 GB of RAM.

Is it simply because manufactures don't make RAM sticks larger than 4GB for laptops?

The limitation imposed is based on the chipsets used on the computer's motherboard. For example, the noted Apple maximums you mentioned for the MacBook Pro and the Mac Pro, are smaller than the maximums that those machines can address in practice. The MacBook Pro tested maximum is 16 GB according to EveryMac's MacBook Pro max RAM listing. And as for the Mac Pro, its maximum is 128 GB according to EveryMac's Mac Pro max RAM listing.

As noted on Intel's Specs, the CPU supports a different maximum than the chipset on the motherboard does. The Xeon X5670 used in the Mac Pro supports up to 288 GB.

And as for the i7s e.g. a i7-2860QM used in the MacBook Pros, it supports up to 32 GB.

So these limitations come from engineering decisions made by Apple based on what kinds of chipsets are selected to be installed on the motherboard and what those chips support is what enforces the maximum amount of RAM that a particular Mac can address at or below what the CPU can actually address.

As for why Apple underrates their maximum numbers for RAM on some Macs, that's for Apple to know and for us to wonder. However, admittedly it is a nice practice to under promise and over deliver for whatever reason Apple has. Although, the Mac Pro supports more RAM than Mac OS X can address, according to OWC's testing on Mac Pros, where they discovered Mac OS X unofficially will not address more than 96GB of RAM, but other 64-bit operating system can get to the full 128GB.


What happens if you stop iTunes Match subscription? If you cancel your iTunes match subscription, what exactly does happen?

Can you still download the songs you matched already, but cannot match any new ones? Or can't you download any song anymore? Will the matched songs you already have downloaded on your Mac or iOS device be deleted or will they be kept?

You will no longer be able to download like you currently do, and in effect, iTunes will act like Match was never on.

You will be able to keep any songs you downloaded, though. So if you upgraded files you uploaded that matched to iTunes-Plus-type files, then you keep those once it cancels.


Updating Apps to discover an unrecognized email linked to my account Three of my current apps on my iPhone 6 require updates (What's App, Instagram and Skype).  When I attempt to update them, an email address that I do not recognize comes up as linked to those particular Apps and asks for a password.  All of my other
Apps are linked to my correct email/ iTunes account email.  How did this happen & how can I rectify it?  Also, does this mean someone else has access to what I'm posting on these 3 Apps?

Thanks,

Did someone help you set up your phone?

One way this could happen is that someone used their Apple ID to download apps on your phone.

It could also happen if you restored, updated or migrated your phone on someone else's computer.

The easiest way to solve it is by deleting and downloading them again with your Apple ID.

The problem is, at least with WhatsApp, that you will lose the data stored in it. You can export conversations by email but that is a very rough way of backing up and it usually leaves out media.

Instagram will ask for your credentials and you'll be ok; Skype will be somewhere around those lines too, but check their support site for specifics —I'm thinking chat history.

As for your data being compromised, it is probably not the case. The person who used this email you don't recognize to download apps on your phone (which is their Apple ID) only has access to a copy of the app on his purchase history —the same copy everybody has access too by the way— not the data inside of it. I would check if this Apple ID was used for some other service on your phone, which could have privacy implications, but that should be asked separately.


What are the correct .Trashes Sharing & Permission settings? I was trying to recover some files I accidentally deleted, so I followed this wikihow article. It makes you change the privileges for the .Trashes file, but then after says, "You can now reset the Access Privileges in the .Trashes Info window back to what they were".

This would be fine, except I didn't pay attention to what they originally were.

If anyone could take a quick look and see what there's are that would be great.

Mine is at this:

d-wx-wx-wt    2 root  wheel       68 Jan 15 17:05 .Trashes/

Or, from the finder, all privileges are set to:

Write only (Drop Box)


Does Java come pre-installed on Mac OS X 10.7/10.8 and beyond? Does Java (the JDK) come pre-installed with Macs on OS X 10.7/10.8 and beyond? I am hearing Apple is going to stop shipping Java with 10.8 and beyond but I couldn't find any link to confirm it/deny it.

Apple did stop shipping Java as of 10.7 and higher. Neither the JDK nor the JRE come preinstalled. However, the first time you need a JRE, Mac OS X will offer to download and install it for you (via the Software Update mechanism).

Similarly, javac is stubbed in a base OS X install and will trigger the install process.

Note that the Apple JRE/JDK is Java 1.6—if you need 1.7 or 1.8, you'll need to get it yourself from Oracle.


Three photos libraries, which library can I delete? this is my first message here.
The space on a friend's iMac 400GB hard drive is almost gone. I've seen there are three photo libraries, which take around 320GB. One is the migrated iPhoto library, which I think I can delete without problems, but then there are two Photos libraries, both around 108GB (Photos Library and Photos Library 2)

Are they both necessary?
And really can I delete the migrated iPhoto library?

You need to be careful here…

The old iPhoto library doesn't take up any actual space on the drive. When it was first translated to the new Photos structure all that actually happened was that hard links were made. These are multiple pointers to the same file. Only when both pointers are removed, eg by deleting the same file from both the old & the new library, is the file itself actually deleted.

There's a further issue though, & I'm not sure how this is dealt with on OSes since High Sierra.
APFS can't use hard links.
I really don't know what this means for the two sets of data previously reliant on hard links. Perhaps they are now 'real' so deleting the old iPhoto library will actually free up space.

In either case, deleting the old iPhoto library should be safe. It has all already been migrated to the new structure.

For the other two, you need to be more circumspect.

Load up each & see what's actually in there. It's quite possible to have multiple valid libraries, each with its own content. At launch, hold the  Opt ⌥  key & you will be presented with a dialog allowing you to choose which library to open.

There's no way I know of to merge the two, should it be desired; the only way I can think of would be to export from one to a new folder, then re-import to the other - then you could delete the now spare library & the intermediate folder.

I'd be very tempted, however, to make sure to have a good backup before you start… just in case.


How can I use my Apple earbud mic with the internal speakers on my Macbook Air? When I plug my iPhone headset into my Macbook Air, the operating system recognizes both the headphones and the microphone. As a "side-effect" it disables the internal speaker and microphone.

Is there a way that it only disables the internal mic, but keeps the internal speakers functioning? What I would like to achieve is that the sound coming in from the external mic is played over the internal speakers. LineIn doesn't help me (yet), because the internal speaker gets disabled.

You can solve this problem physically with an extension cable.

Check the tip of the extension cable (the male end) for the number of rings. If it only has 2, it is only recognized as a pair of headphones. The third ring carries microphone audio which you'll see on the end of the headset cable.


App Store iOS binary rejected: Your app includes non-iOS device images in the app Recently our iOS app got rejected by App Store review team stating your app includes non-iOS device images in the app along with following screenshot.

Mobile phones are an important category in our app and we can not remove related data. What is the solution on this?

Consider removing references (links, images) to other platforms in the text, screenshots from your app to make it past the review process.

You may find this discussion helpful:

https://stackoverflow.com/questions/31688956/3-1-details-we-noticed-that-your-app-contains-irrelevant-platform-information-r

The screenshots would get displayed on the App Store page for the app on Web and App Store app, and Apple doesn't allow reference to other platforms as part of the app metadata.

It appears you are in violation of the following App Store review guideline:

https://developer.apple.com/app-store/review/guidelines/#performance

  2.3.10 Make sure your app is focused on the iOS, Mac, Apple TV or Apple Watch experience, and don’t include names, icons, or imagery of other mobile platforms in your app or metadata, unless there is specific, approved interactive functionality. Make sure your app metadata is focused on the app itself and its experience. Don’t include irrelevant information, including but not limited to information about Apple or the development process.


How exactly do you create a portable cross-platform USB stick with VeraCrypt? I originally asked this question which never got an answer beyond the fact that you apparently can't do this on a Mac.  So finally I've given up and have fired up my Windows gaming box just for this purpose.

Now I can run VeraCrypt (a TrueCrypt fork) and use it's "Portable Mode", but I can't for the life of me actually get it to work such that I have an encrypted partition that can be opened on both Windows and OSX.  And the docs basically assume everything "just works" and haven't proven to be very helpful.

At the moment I have created a USB stick with a very small unencrypted FAT partition which can be seen by the Mac, and a FAT VeraCrypt encrypted partition which can be seen on Windows and the mac.  It mounts fine with the password on Windows, however when I run VeraCrypt on the Mac and try to mount it, I'm met with an error:

VeraCrypt requires OSXFUSE 2.3 or later with MacFUSE compatibility layer installer.
Please ensure that you have selected this compatibility layer during OSXFUSE installation.

Some googling on that error message has just left me more confused.

Given that I'm running OSX Mavericks, and this image must be accessible to both Windows (versions >= XP preferably) and OSX (Mavericks or higher) without installing anything special (stock OS in other words), what do I need to do to get this to work?

Note also that I don't care about hiding the fact that VeraCrypt is being used, and I will not upgrade from Mavericks.  I just want to be able to store some sensitive documents securely such that they can easily be moved between workstations and opened on either Windows or OSX by anyone with the password.

From the VeraCrypt Supported Operating Systems page:

  MacOSX 10.6 and newer. OSXFuse must be installed.

If you want to use VeraCrypt, you will need to install OSXFUSE. They are telling you there is no way for it to operate without OSXFUSE installed, both on their website and in the error message you posted.


What is the best Subversion GUI? I'm looking for "the best" SVN GUI/manager for Mac OS, allowing things like line by line comparison, merging, branching, ...

I tried Versions for a few days but now I found that Cornerstone might be a good alternative (better ?).

I was wondering if anyone would have some feedback on these two apps (or on others ...).

I've used both, bought Versions in the end. They were both about equal in my use cases. What really helped was adding Kaleidoscope to my tool box and using it for diffs instead of the XCode diff engine or the simple diff engine in Versions.


How do I unlock an iPhone 3GS? I bought a second hand iPhone 3GS which is locked to AT&T's network, I want to unlock it for use in the UK. I'm on the Redmond Pie site which can unlock and jailbreak it, but I don't know what version of iOS the phone is running. I can't figure this out either because opening Settings crashes.

I would check the serial number (printed on the box or/if it wasn't replaced, behind the SIM tray/by entering DFU mode and checking in System Profiler or using the Identify feature in redsn0w) and, if it is old enough to downgrade its baseband, restore it to the iOS version you'll want to use° and perform the jailbreak+iPad baseband and baseband downgrade procedures.

°depending on available SHSH, of course

Seeing the poor condition of the existing system software you'll likely want to restore it anyway…


Can I attach a Thunderbolt-to-Firewire adapter and a Mini DisplayPort monitor to the same computer? I have a 2013 MacBook Air with one Mini DisplayPort/Thunderbolt 1 port. Is there a way to connect both an LED Cinema Display and my old Firewire accessories to this port?

You need a Thunderbolt Dock with a Firewire port

Thunderbolt is not like video or USB where you can get an inexpensive splitter and just multiply or split the signals.   So, to use two devices simultaneously, you need a dock.


General purpose computing on GPU I've recently moved to Mac. And even though I like OS X itself, I find it way too outdated in terms of working with GPU based calculations.

I realize that notebook is not the best thing for heavy computing, but even regarding study projects it's quite outdated.

I realized that due to AMD my CUDA adventures would have to stop, but I really counted on OpenCL which appears to be v1.2, while there's 3.0 is out.

And it does not seem to be replaced with something. E.g. Keras uses PlaidML, which is based on that utterly outdated CL version.

I obviously see bootcamp as one of the solutions, but is there anything which would allow me to use OS X while still having an ability to run experiments with parallel computing?

Oh, I kind of found Metal, but question still persists since I'd rather work with something more portable.

UPD: And yes, plaidml appears to have metal backend.


What kind of cable do I need to connect MacBook Pro to iMac for display? I would like to use the iMac for external display and would like to connect MacBook Pro as a source. What kind of cable do I need and how to I setup the display?

If the iMac has Thunderbolt (Mid-2011 and later models):

The MBP must also have Thunderbolt
Connect the two with a Thunderbolt cable and press Cmd-F2 on the iMac's keyboard

If the iMac doesn't have Thunderbolt:

It must be a 27" model with a mini-Displayport connector (21" and 24" mini-Displayport models don't support Target Display mode).
Any device with Displayport output can use it as a display.
Connect the two with a Mini-DisplayPort to Mini-DisplayPort cable, and press Cmd-F2 on the iMac's keyboard

Full documentation is available here.


mdfind -onlyin wildcard without pipe Can -onlyin contain wildcards?

mdfind pattern -onlyin '*bin'

I know this works:

mdfind pattern | grep bin

No, mdfind's -onlyin does not perform pathname expansion nor tilde expansion and only accepts explicit pathnames. You can have multiple -onlyin options.


What's the minimum SDK version for new iOS apps? Is there a page on the Apple website listing the minimum iOS SDK required for new app submissions?

The Apple Developer news feed is where Apple announces all hard deadlines on SDK requirements that are not enforced when you submit an app. Watching here, you can prepare for future requirements before they are enforced.

https://developer.apple.com/news/

Today (October 2020) it’s the iOS 13 SDK and iOS 14 was announced as the mandatory minimum in April 2021.

Starting April 2021, all iOS and iPadOS apps submitted to the App Store must be built with Xcode 12 and the iOS 14 SDK.


Keychain issues after Sierra I've updated to MacOS Sierra a few days ago, and it has been really unstable (a lot of freezes and hangs, specially in XCode).

I noticed that in Console, the following two lines appear repeatedly, for different apps and services:

switching to keychain-db: /Users/user/Library/Keychains/login.keychain-db from /Users/user/Library/Keychains/login.keychain (0 1 1 1)
not switching as we're not in ~/Library/Keychains/: /Library/Keychains/System.keychain (0)

Is there any issue with keychain? Could that be causing the freezes?

tldr: No, you don't have an issue going on with keychain. Yes this could be a contribution to the hanging and very slow systems right now.

I have also been experiencing SERIOUS freezes with everything. I also have these same log messages for nearly every currently running application/task being spammed into the console at a ridiculous rate. Running terminal commands takes 10+ seconds in between input and forget a git status with this.

Apple has always had an unreasonable fetching rate for AddressBook, Calendar, and other apps which always cause these log issues since el capitan.

Currently Safari and WebKit is being added into this mix with it being quite unstable and has been since Sierra's beta throwing these log errors.

<compose failure [shared UUID]>

The log rate is quite substantial and is more than likely the reason or atleast a major part in our very slow systems right now.

Mid 2012 Macbook Pro Retina 2.6GHz Intel quad core here and I've never had it this bad.


Make Outlook default mail application on a Mac I used the directions referenced in many places to make Outlook the default mail application on a MAC (by going to MAIL and clicking the Mail menu - Preferences to set it).

I can not do that because Preferences is grayed out because I do not (nor am I allowed to on my work machine) have an iCloud account to reference in there or any other mail account. So what else can I do?

If it's greyed out, you obviously have an Admin restriction.  Your option is to get the Admin to change this setting for you.  I am assuming that Outlook is the default mail client of your organization.  Just explain to him/her that it's very inconvenient to have Mail as the default that always pops up when Outlook is the company standard.


Running cuda on a MBP? I'm trying to setup CUDA on a Macbook Pro, I've installed cuda with brew:

brew tap caskroom/cask
brew cask install cuda

Added this to my .bash_profile

export CUDA_HOME=/usr/local/cuda
export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:$CUDA_HOME/lib"
export PATH="$CUDA_HOME/bin:$PATH"

I also installed cuDNN v5.1

sudo mv include/cudnn.h /Developer/NVIDIA/CUDA-8.0/include/
sudo mv lib/libcudnn* /Developer/NVIDIA/CUDA-8.0/lib
sudo ln -s /Developer/NVIDIA/CUDA-8.0/lib/libcudnn* /usr/local/cuda/lib/

I'm now trying to test it:

cp -r /usr/local/cuda/samples ~/cuda-samples
pushd ~/cuda-samples
make

but I get this error:

make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
clang++  -rpath /Developer/NVIDIA/CUDA-8.0/lib -L/Developer/NVIDIA/CUDA-8.0/lib -framework CUDA -o clock_nvrtc clock.o  -lnvrtc
ld: framework not found CUDA
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [clock_nvrtc] Error 1
make: *** [0_Simple/clock_nvrtc/Makefile.ph_build] Error 2

Turns out, I have an intel graphics card and CUDA only works with nvidia....


How to set a table of contents line numbering to not start at page 1, in Pages '09? I am writing a document which requires the table of contents side-numbering scheme to start on the page after the table of content itselt. Basically the first 8 pages of the document should not count against the auto page numbering you can turn on.

There will be eight pages before this document that should have a custom side-numbering with roman numerals instead of the ordinary numbering, this should not count against the numbering format of the rest of the document that starts at the page after the table of contents. Is this possible with Pages 09?

If it is any help, here is the required template that the document should fulfill. (It's in norwegian): http://www.ub.uio.no/publisere/studenter/maler/mac-duo.docx

Page numbering and format can be defined per section so you can get to the required format by creating two sections in your document and setting the page numbering accordingly

Start with an empty document
"Insert - Auto Page Number", select the "Section" option for "Show In" and set the format to roman numbers. This is now your TOC section.
Use "Insert - Section break" to create a new section
"Insert - Auto Page Number" again, select the "Section" option for "Show In" and set the format to arabic numbers
With the cursor in the second section, open the inspector

and reset the page number to 1


Long Press on Notifications on iPhone XR Not Working I have a new iPhone XR running iOS 12.1.

When I get a new notification (such as an iMessage, a Reminder, etc.) on the lock screen, I should be able to long-press on the notification (instead of force/3D touch) and see shortcut options (or quick reply, in the case of iMessage).

These options are all enabled in Settings and I have tried rebooting my device and it still doesn't work. FaceID has unlocked the device and I know additional options are available because I can still swipe notifications to the right and select "View" which shows what I would expect to see when long-pressing the notification.

I submitted a radar to Apple, so hopefully they address it. But I just wanted to see if anyone else has run into this and found a solution.

It isn't that it is malfunctioning, Apple has not added support for long press on lock screen notifications. They have on the iPad, so there is future hope.


AirDrop not working on ALL Wi-Fi networks I have recently discovered that AirDrop works with the Wi-Fi Networks on my school and office. But not on my Home Wi-Fi network.

I previously thought that AirDrop between my MacBook Air and iPhone 5S does not work. But it seems that the problem is in my Home Wi-Fi network. Any idea how to fix this?

The basic things to do are turning On and Off Airdrop, upgrading your Mac to its latest OS, reset the Network Settings on your iPhone, and adjust the FireWall settings on your Mac. Doing one or more of those should help you fix the problem.

Source: http://appletoolbox.com/2016/02/airdrop-not-working-7-tips/


Missing sound in videos recorded with iOS 11 iOS 11 finally has screen recording capabilities. It can record audio too (force tap on record button to enable). However, while the recorded videos play fine on the iPhone without any problems, when they're uploaded to YouTube or played with VLC the sound is missing. How do I fix it?

Apparently, iOS 11 records a video with two audio tracks: the first one completely silent, while the second one is the real one. You can fix it with ffmpeg like this

ffmpeg -i input.mp4 -map 0:0 -map 0:2 -c:v copy -c:a copy output.mp4


Does hard disk continue to run while sleeping? The question is pretty simple. I just wanted to know for sure but couldn't find an answer on google.

Does the hard drive continue to "run" while the computer is asleep?

I'd like to know if it does and if that's the case why does it need to?

It will almost never run while the computer is sleeping. Sometimes when you put the computer to sleep, the disk will run for a short time while doing "housekeeping". There are also options in the Settings for waking from sleep (thus starting the hard drive) for network access.

Closing the lid of a macbook will try to get it to sleep, but it may not always go there. If it does successfully sleep, then your drive should be inactive.


Excel Mac - Some txt files can't be opened/imported ("Grayed out") A bit of an odd one.
I'm using Excel for crunching some data I have in several .txt files.

When I'm trying to import them via Data > Get External Data > Import Text File:

Like as I've done many times in the past, I get the "Choose a File" Dialog Box, but when I browse to the folder, only a couple of the files are "selectable"; the others are "Grayed out":

There are no differences between the files that I can see that would justify the difference. The only "logic" is that the "source" file (let's call it 20150728 - SOURCE.TXT) comes via email from a Windows machine, and the two other locked files (20150728 - Source Fragment 3.TXT and 20150728 - Source Fragment 3 copy.TXT) are a copy of the Source where I've deleted some lines, and a second copy of the resulting file, while the non-locked ones started out as the Source where I deleted lines, and then did a "Save As" in TextWrangler...

I can work around the issue just by copying the contents of the "grayed" files into a new document in TextWrangler and saving it, but I'd like to understand the reason for this behavior.

Doing a file in the files in question shows them to be similar if not the same:

Mac:samples jjarava$ file 201507*txt
20150728 - Source Fragment 3.TXT:      ASCII text
20150728 - Source Framgent 1.TXT:      ASCII text
20150728 - Source Fragment 1.TXT:      ASCII text
20150728 - Source.TXT:                 ASCII text, with CRLF line terminators
20150728 - Source Fragment 3 copy.TXT: ASCII text

I'm a bit "stuck" on what the issue might be. I have the feeling it's one of those "Obscure Mac Quirks" that are very hard to explain.

EDIT: As per the comments below from @user3439894 and others, I've looked into the extended attributes of the files to see if that yields any hint.

The output of ls -l@for the files gives us:

-rw-r--r--@ 1 jjarava  staff   7652 Aug  3 13:58 20150728 - Source Fragment 3 (BAD).TXT
    com.apple.FinderInfo       32
    com.apple.TextEncoding     15
    com.dropbox.attributes     83
-rw-r--r--@ 1 jjarava  staff   6570 Aug  3 13:58 20150728 - Source Fragment 1 (Good).TXT
    com.apple.FinderInfo       32
    com.apple.TextEncoding     15
    com.dropbox.attributes     83
-rw-r--r--@ 1 jjarava  staff   6616 Aug  3 13:58 20150728 - Source Fragment 2 (Good).TXT
    com.apple.FinderInfo       32
    com.apple.TextEncoding     15
    com.dropbox.attributes     83
-rw-r--r--@ 1 jjarava  staff  21138 Aug  3 13:58 20150728 - Source (BAD).TXT
    com.apple.FinderInfo       32
    com.dropbox.attributes     83

Again, I see that one of the bad files (Source) is apparently missing the com.apple.TextEncoding attribute -- but the other "not working" file does have the attribute... Just in case the values are different for the good and bad files, let's check:

Mac:samples jjarava$ xattr -p com.apple.TextEncoding 201507*txt
20150728 - Source Fragment 3 (BAD).TXT: UTF-8;134217984
Source Fragment 1 (Good).TXT: UTF-8;134217984
Source Fragment 2 (Good).TXT: UTF-8;134217984
xattr: 20150728 - Source (BAD).TXT: No such xattr: com.apple.TextEncoding

So that doesn't seem to be the trick either...

I think I've got an answer.

Googling around I've found references to "grayed out" problems and mentions of the file's creator attribute.

So a quick Google for "osx file creator mark" pointed me to SetFileand its sibling GetFileInfo.

Running a quick GetFileInfo on the files I get:

Mac:samples jjarava$ for i in 201507*.TXT; do getfileinfo "$i"; echo .; done
file: "/path/to/samples/20150728 - Source Fragment 3 (BAD).TXT"
type: "????"
creator: "????"
attributes: avbstclinmedz
created: 08/03/2015 13:58:18
modified: 08/03/2015 13:58:18
.
file: "/path/to/samples/20150728 - Source Framgent 1 (Good).TXT"
type: "TEXT"
creator: "\0\0\0\0"
attributes: avbstclinmedz
created: 08/03/2015 13:58:18
modified: 08/03/2015 13:58:18
.
file: "/path/to/samples/20150728 - Source Framgent 2 (Good).TXT"
type: "TEXT"
creator: "\0\0\0\0"
attributes: avbstclinmedz
created: 08/03/2015 13:58:18
modified: 08/03/2015 13:58:18
.
file: "/path/to/samples/20150728 - Source (BAD).TXT"
type: "????"
creator: "????"
attributes: avbstclinmedz
created: 08/03/2015 13:58:18
modified: 08/03/2015 13:58:18
.
file: "/path/to/samples/20150728 - Source Fragment 3 copy (BAD).TXT"
type: "????"
creator: "????"
attributes: avbstclinmedz
created: 08/03/2015 13:58:18
modified: 08/03/2015 13:58:18
.

All the "working" files are of type: "TEXT", and all the "not working" ones seem not to have a "type" defined...

Actually, running the following to change the file type:

Mac:samples jjarava$ setfile -t TEXT "20150728 - Source Fragment 3 copy (BAD).TXT"
Mac:samples jjarava$ getfileinfo "20150728 - Source Fragment 3 copy (BAD).TXT"
file: "/path/to/samples/20150728 - Source Fragment 3 copy (BAD).TXT"
type: "TEXT"
creator: "????"
attributes: avbstclinmedz
created: 08/03/2015 13:58:18
modified: 08/03/2015 13:58:18

And that file can now be selected in the "Open" dialog in Excel!!

The question is where does the "type" field come from, and why it's set in some files and not in others, but at least there's some "logic" to the issue!!


Can SATA negotiated link speed be set lower in software? Background: I have a MacBook Pro (late 2011) with a SATA III 6Gb SSD installed in place of the optical drive. Sources say this configuration should work, but I've been having problems (read/write failures, spinning beachball, etc) of exactly the sort you would expect if a SATA II bus was trying to operate at SATA III speeds. I'm beginning to suspect that my laptop may have the issue reported for early 2011 MacBooks that made them unstable with 6Gb SATA III. The best solution would be a SATA 2.0 drive, but the drive I have is already in hand.

Is there any way (preferably through software) to set the SATA Negotiated Link Speed to 3Gb instead of 6Gb?

Edit: The SSD in question is a Seagate/Samsung 850 EVO (MZ-75E250B/AM), if the solution is drive-specific.

So, having verified the drive is, in fact running at SATA-III speeds, it looks like this post describes doing what you need. Be aware it requires a DOS environment to run, so you'll likely want FreeDOS with the .iso loaded already.

I haven't used this, so I am unable to verify results. Attempt at your own risk.


Why do I only have pip3 but no pip? I installed python3 from www.python.org(not thru brew). I found that I did not have pip then, only pip3. As here said https://pip.pypa.io/en/stable/installing/

pip is already installed if you are using Python 2 >=2.7.9 or Python 3 >=3.4
downloaded from python.org

So how do I get pip installed ?
Homebrew document also confirms this

Note: macOS’s system Python does not provide pip. Follow the pip
documentation to install it for your system Python if you would like
it.

If you had python 2.x and then installed python3, your pip will be pointing to pip3. you can verify that by typing pip --version which would be the same as pip3 --version.

On your system, you have now pip, pip2 and pip3.

If you want you can change pip to point to pip2 instead of pip3.

you can either add the alias to your ~/.bashrc

 alias pip=pip3

or add to your $PATH symlink named pip pointing to pip3 binary


How do I remove or change screen lock settings in macOS? Since upgrading to Mojave my Mac screen locks within seconds. I tried to change the 'privacy' settings (yes I clicked on the padlock) but it still won't let me change anything.

How else may I try resolving this?

I am not a tech head so would appreciate any answers in layman's terms.

If you have the admin account you should be able to change the required settings.

The lock screen is affected by 3 settings.

The first is the System Preferences -> security & privacy -> general -> Require password 'some time' after sleep or screen saver begins.
When you try to change this you should get a prompt for a password. If this does not work you may not have the admin account.
This setting dictates how long after the computer sleeps till it locks.

The second setting setting is how long it takes to sleep in the first place.

System Preferences -> energy saver -> battery and power adaptor -> turn display off after 'some time'
This would make the computer wait longer to turn off the screen.

System Preferences -> desktop and screen saver -> start after 'some time'.
This is the screen saver setting as the screen locks after the screen saver or display sleeping.

If you don't have the admin account and aren't allowed to change these settings then you have to talk to whoever has the admin account.


So, my iPhone 4 just decided to restore itself Well, I left it plugged in via USB and charging.  iTunes was open.  Nothing unusual.  Until an hour or so later, out of the corner of my eye, I noticed a zooming shiny apple animation, picked it up and was prompted to "Set up my iPhone".  Ugh.  I haven't backed it up for 10 days or so and there's stuff on there I really want to keep.  So I went through the setup, enabling location, selecting my router, and then trying to activate the phone, all the while hoping once completed everything would be just as I'd left it, right as rain.  But I can't get past the activation stage.  And when I opt to activate through iTunes, iTunes complains that the iPhone's software is too old.  At this point I should mention I'm a registered developer, and my iPhone was running iOS 5 beta 3.

When plugged into iTunes it displays 8.7 GB of space taken, all marked as "Other", and it's still on build version 9A5259f, i.e. beta 3.  So I'm reasonably optimistic my precious data's still on there.  But I can't use it to see.  And when I try to back it up now, nothing happens.

I'm guessing this could be because beta 3's expired?  Maybe?  I didn't get around to updating it because for some reason over the air updates wouldn't work.  Any advice on what my next move should be would be very greatly appreciated!

After 14 hours of research and experimentation I recovered everything.  Here's how:

  I used iPhone Explorer to back up all of my photos.

  I jailbroke with redsn0w.

  Explored the filesystem with iPhone Explorer, and tried to copy the
  whole root filesystem (which, for some unknown reason, silently missed
  quite a few files, but oh well).

  Saw that both sms.db and all my application data were still intact.
  Danced with joy.

  Removed the ReleaseType -> Beta key in
  /System/Library/CoreServices/SystemVersion.plist

  Restarted it, set it up as a "new" iPhone, and all my sms, apps, etc
  were still there.  Hurrah.

  Set my PC's date to a week ago.

  I then backed up in iTunes, and restored to the latest beta.

  Photos, notes, sms were back on there, apps were all deleted but app
  data remains, so it's just a matter of re-downloading the apps.

I love a happy ending :)


AppleScript / Javascript : remove columns in Safari Is there a way to remove all instance of a class in safari using AppleScript/Javascript ?

For e.g I would like to remove each instance of :

`<td class="sortable cardTypeDisplayName">

                                    Visa

                            </td>`

I suppose that might have something to do with this but I'm lost in the script as I don't have experience with JS

tell application "Safari"
    set RemoveWhatIDontWant to do JavaScript "javascript:Array.from(document.getElementsByClassName('sortable cardTypeDisplayName'))
.forEach(function(v){v.removeAttribute('sortable cardTypeDisplayName');});" in document 1
end tell

UPDATE :

tell application "Safari"
    do JavaScript "document.querySelectorAll("[class=\"sortable cardTypeDisplayName\"]")
        .forEach(el => el.remove());" in tab 1 of window 1
end tell

Result :

  Syntax Error Expected end of line but found “[”.

.removeAttribute(attrName) takes an attribute name, not value.
The attribute name is 'class', the value is 'sortable cardTypeDisplayName'.
However, that's not going to fix the problem either. Removing the attribute from the element doesn't remove the element entirely, it just removes the attribute, such that your example becomes Visa	 — i.e. the column still exists.

To remove all elements with a class attribute exactly matching 'sortable cardTypeDisplayName', you can use the following JavaScript.

document.querySelectorAll("[class=\"sortable cardTypeDisplayName\"]")
        .forEach(el => el.remove());

This problem is with your JavaScript, not AppleScript. Debug your JavaScript in the web browser developer tools first before moving to AppleScript.

To run this JavaScript with AppleScript, keep in mind the quotes that need escaping. Look at the syntax highlighting to see how the quotes in the JavaScript are being parsed as quotes for AppleScript to use on the string itself, rather than given to JavaScript. These quotes need escaping.

tell application "Safari" to ¬
  do JavaScript "document.querySelectorAll(\"[class=\\\"module question-stats\\\"]\").forEach(el => el.remove());" ¬
    in current tab of window 1

tell application "Safari" to ¬
  do JavaScript "document.querySelectorAll('[class=\"module question-stats\"]').forEach(el => el.remove());" ¬
    in current tab of window 1


Changing my Game Center ID If I am sharing an Apple ID with my son, can I change my Game Center name without messing up his games on his iPod?

I am assuming you mean changing your nickname. If so, you must go into the ME section of GameCenter, tap Account (where it says your email), hit View Account, then Edit Account Info. Scroll down to Nickname to change your name. However, I believe that the names may still be linked to the Apple ID and will therefore appear on your son's iPod. If that is the case, he may have to follow the above steps as well.


How to make and transfer secure (encrypted) ZIP files from Mac to PC I'm trying to send my tax info securely through email or a web file transfer service like yousendit.com, dropbox.com or google drive, and created an encrypted folder containing the many image files of my business expenses and tax stuff using the command line (using "Terminal" app) as follows:

$Barbaras-MacBook-Air:~ barbara$ zip -er
/Users/barbara/Desktop/taxes2017.zip /Users/barbara/Desktop/BARB\'S\
STUFF/Taxes/Taxes\ Tax\ Year\ 2017-copy/\__Tax\ Docs\ assembled\ 2017/
Enter password:
Verify password:

Note that "zip -er" stands for "zip", "encrypted" and "recursive" which is used to get all the folder contents if zip/encrypting a folder as opposed to a file which is just "zip -e", and that I've used "\" to escape unix problem characters. This worked, creating the zip file, and when clicking on it I get a pop up with an "Archive Utility" window: "Please enter password for ".DS_Store".  Password:  [______] [<--text box].

I found the file was too large to email - like 42 mb, so I carved it down removing unnecessary content, but it was still closer to 40 mb.  So I uploaded to dropbox.com, then found they only allowed viewing of folder not transfer, which is a problem because it means it will be unzipped in the cloud which is not what I want.  (I want truly secure files to be viewed only by receiving party to whom I give password.)

I uploaded the file to google drive and did a last minute check that is was password protected and found to my amazement it unzipped without requiring a password - every file and folder visible there!  In shock I went back and checked my file on my mac and confirmed that I wasn't crazy and that it was still password protected there. (If this makes you nervous, perhaps you can check if google drive opens your mac-command-line-encrypted zip files too).

I'm using mavericks OS X (v. 10.9.5) on my macbook air (fall 2012). The machine is too old to update to the newest OSX Sierra per apple support, but could update Yosemite or El Capitan, but not desirable or possible since I have little working hard drive space left in my machine - hovering around 7 GB - so I don't have space for it. Otherwise I've installed all updates to mavericks.

I decided to test if I could test if the encrypted file would remain encrypted in a PC environment which is where it would likely end up, and found again to my amazement that it was at least still encrypted (thats good) but that it couldn't be unzipped:

Compressed (zipped) Folders Error
Windows cannot open the folder.
The Compressed (zipped) Folder 'F:\taxes2017.zip' is invalid
[OK]

Note that no option to enter a password is offered, just a flat out failure.
This means even if I put the unix/ osx encrypted zip file on a flash drive my accountant can't open it as his end, at least if he's using my son's same PC operating system, which is Microsoft Windows 10 Home version 10.0.14393 Build 14393 on an HP Pavilion Notebook, an x64-paced PC.

I'm wondering:

Are mac command-line-encrypted files easily viewed without passwords by file transfer services besides google drive, and if there's a more advanced or secure way to encrypt, zip and transfer files over the internet to individual desktop end users.
How come encryption wasn't unencryptable in a PC environment, and how do others do physical transfer by flash drive of encrypted files between environments?
Can I transfer a truly secure file via file sharing site like google drive, where no one in the chain can open the file except the recipient I give the password to by phone or other means?
Is there another zip and/or password protection method - or one of each - whether apple-based or third party - that is not undone by third parties and be unzipped in a windows environment with its password? I haven't tried the disk image method in disk utilities yet - maybe you can spare another hour or two of effort if it will not work in your experience.

The encyrption was still valid, you just saw the file names within the archive.

Sometimes, though I do not know if this is the reason in your case, the hidden files within Mac folders will confuse Windows OS. The fact that it even mentions ".DS Store" suggests that these files are part of the package you made, and my not be compatible with Windows, which does not know what to do with .DS Store folders and other Mac metadata.

As for zip products, you could try the free trial of WinZip, which also supports Mac. The file will be compatible with WinZip on the windows side for sure. (I am not affiliated with WinZip).