3
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

Macアプリのアイコンがキャッシュで変わらない時の対処法

openframeworksでビルドしたMacアプリでアイコン(.icnsファイル)を変更しても変わらなかったのでメモ。
以下のディレクトリにあるキャッシュファイルを消す。(OSはOS X El Capitan 10.11.3)

/Library/Caches/com.apple.iconservices.store

ちなみにopenframeworksでアイコンを変更するにはProject.xcconfigの以下の変数を変更。

Project.xcconfig
ICON_NAME_DEBUG = {filename}.icns
ICON_NAME_RELEASE = {filename}.icns
ICON_FILE_PATH = bin/data/ //(icnsファイルのディレクトリ)
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
3
Help us understand the problem. What are the problem?