CFBundleTypeIconFile Icon not showing for given file extension

后端 未结 1 942
野趣味
野趣味 2021-01-02 16:32

I have the following Info.plist for my application, the problem is files i save with the extension myapp do not seem to pick up on my MyApp icon which i have created from an

相关标签:
1条回答
  • 2021-01-02 16:48

    Turns out the system must have cached a old copy of the plist when I initially created my application. All that was needed was to rebuild the launch services database.

    I used the lsregister command as documented here...

    http://www.tuaw.com/2009/06/11/terminal-tips-rebuild-your-launch-services-database-to-clean-up/

    Rerun the application and bingo the documents now have the respective icon associated.

    0 讨论(0)
提交回复
热议问题