Post

Replies

Boosts

Views

Activity

Reply to Associating file extension with my application
I stall can't get the icon to display :( I change the plist to read: <key>UTTypeIconFile</key> <string>DSS_filelist.icns</string> <key>UTTypeIdentifier</key> <string>com.github.deepskystacker.dssfilelist</string> But that didn't help. Surely someone here must know the magic incantation. WHYOHWHY doesn't the registration process flag up errors in the Info.plist file (if that's what's wrong here). David
May ’25
Reply to Associating file extension with my application
Hmmm.... amonra@Saturn Debug % plutil -p DeepSkyStacker.app/Contents/Info.plist { "CFBundleDevelopmentRegion" => "English" "CFBundleDocumentTypes" => [ 0 => { "CFBundleTypeRole" => "Editor" "LSHandlerRank" => "Owner" "LSItemContentTypes" => [ 0 => "com.github.deepskystacker.dssfilelist" ] } ] "CFBundleExecutable" => "DeepSkyStacker" "CFBundleGetInfoString" => "" "CFBundleIconFile" => "DeepSkyStacker.icns" "CFBundleIdentifier" => "com.github.deepskystacker" "CFBundleInfoDictionaryVersion" => "6.0" "CFBundleLocalizations" => [ 0 => "ca" 1 => "cs" 2 => "de" 3 => "es" 4 => "fr" 5 => "it" 6 => "ja_JP" 7 => "nl" 8 => "pt_BR" 9 => "ro" 10 => "ru" 11 => "tr" 12 => "zh_CN" 13 => "zh_TW" ] "CFBundleLongVersionString" => "" "CFBundleName" => "DeepSkyStacker" "CFBundlePackageType" => "APPL" "CFBundleShortVersionString" => "6.1" "CFBundleSignature" => "????" "CFBundleVersion" => "6.1.0" "CSResourcesFileMapped" => 1 "NSHumanReadableCopyright" => "Copyright © 2018-2025, David C. Partridge; Copyright © 2006-2019, Luc Coiffier" "UTExportedTypeDeclarations" => [ 0 => { "UTTypeConformsTo" => [ 0 => "public.plain-text" ] "UTTypeDescription" => "DeepSkyStacker file-list file" "UTTypeIconFile" => "DSS_filelist" "UTTypeIdentifier" => "com.github.deepskystacker.dssfilelist" "UTTypeTagSpecification" => { "public.filename-extension" => [ 0 => "dssfilelist" ] "public.mime-type" => [ 0 => "text/dssfilelist" ] } } ] } amonra@Saturn Debug % ls DeepSkyStacker.app/Contents/Resources DeepSkyStacker.icns DSS_filelist.icns qt.conf amonra@Saturn Debug % looks correct to me but still the Icon refuses to display for .dssfilelist files. As you can see, DSS_filelist.icns is in the Resources directory? Totally baffled David
May ’25
Reply to Associating file extension with my application
I just noticed something interesting which might suggest my Info.plist isn't incorrect! If I set finder into "View as list" mode, then the .dssfilelist files DO show the correct icon: However if Finder is set to "View as Icons" then they just show a an Icon that looks like it might be the file contents: :( Is that what I should expect to see? I had rather assumed I'd be shown the Icon when using "View as Icons". David
May ’25
Reply to Associating file extension with my application
I changed one thing in my Info.plist and now it works as I expected. I changed this: <key>UTTypeConformsTo</key> <array> <string>public.plain-text</string> to <key>UTTypeConformsTo</key> <array> <string>public.data</string> Now the Icon view in Finder shows the Icon I want instead of an icon it builds itself from the content of the text file. Thanks again for your assistance David
May ’25
Reply to Unexpected error building on Ventura 13.4
Unfortunately I still get: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/unordered_map:523: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__hash_table:844:5: error: static assertion failed due to requirement 'integral_constant<bool, false>::value': the specified hash does not meet the Hash requirements static_assert(__check_hash_requirements<_Key, _Hash>::value, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__hash_table:859:1: note: in instantiation of template class 'std::__enforce_unordered_container_requirements<std::filesystem::path, std::hash<std::filesystem::path>, std::equal_to<std::filesystem::path>>' requested here typename __enforce_unordered_container_requirements<_Key, _Hash, _Equal>::type ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/unordered_map:1152:30: note: while substituting explicitly-specified template arguments into function template '__diagnose_unordered_container_requirements' static_assert(sizeof(std::__diagnose_unordered_container_requirements<_Key, _Hash, _Pred>(0)), ""); ^ /Users/amonra/.vs/DSS/build/DeepSkyStackerKernel/DeepSkyStackerKernel_autogen/EWIEGA46WW/../../../../DeepSkyStackerKernel/imageloader.h:60:26: note: in instantiation of member function 'std::unordered_map<std::filesystem::path, std::tuple<LoadedImage, int, bool>>::~unordered_map' requested here static inline CacheType imageCache{}; ^ 2 errors generated. So I can't actually build my code there which is a bit of nuisance. Ho-hum: So ist das Leben!
Jun ’25