This is probably good, in the sense that Apple is unlikely to follow you for such use. This is also probably fine in the sense that applications provide icons specifically for other programs (such as Finder) for display in order to manage applications. Regardless of whether you are sued, it really depends on Apple's legal department and whether you win according to the copyright laws in your country (and exceptions for the fair use of this law). You may request Apple explicit permission; Details are on their website .
In any case, if you do not review the App Store review, change the icon. Nothing wrong.
You probably don't want to hardcode the icon. Instead, run the runtime icon as follows:
NSImage *imageForAppWithBundleIdentifier(NSString *bundleIdentifier) { NSWorkspace *workspace = [NSWorkspace sharedWorkspace]; NSString *appPath = [workspace absolutePathForAppBundleWithIdentifier:bundleIdentifier]; return [workspace iconForFile:appPath]; }
Beam identifier Finder com.apple.finder . The identifier of the terminal package com.apple.Terminal .
$ osascript -e 'tell app "Finder" to get id' com.apple.finder $ osascript -e 'tell app "Terminal" to get id' com.apple.Terminal
source share