Post

Replies

Boosts

Views

Activity

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
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 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
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 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
I'm able to report some progress :)! Setting that to public.plain-text made a difference, and the application is now opened when the file is double-clicked on, but it doesn't actually open the file? I expected the application to be invoked like (e.g.): /Applications/DeepSkyStacker.app/Contents/MacOS/DeepSkyStacker Documents/Astrophotography/NGC\ 457\ Owl\ Cluster/NGC457.dssfilelist which when typed from the command line opened the file as expected. But clearly that isn't how the application was invoked. What am I not understanding here? The specified Icon was also not associated to the file. Even though it is in DeepSkyStacker.app/Contents/Resources amonra@Saturn ~ % ls /Applications/DeepSkyStacker.app/Contents/Resources DeepSkyStacker.icns DSS_filelist.icns qt.conf amonra@Saturn ~ %
May ’25
Reply to Associating file extension with my application
Hmmm here's what lsregister says about my application and the filetype it has registered (now set to com.github.deepskystacker.filelist): --------------------------------------------------------------------------- bundle id: DeepSkyStacker (0x3cc) class: kLSBundleClassApplication (0x2) container: / (0x4) mount state: mounted Mach-O UUIDs: 14010933-1443-3ABE-8993-EFF084AD3949 sequenceNum: 972 path: /Applications/DeepSkyStacker.app (0xa48) directory: /Applications name: DeepSkyStacker localizedShortNames: "ca" = ?, "cs" = ?, "de" = ?, "English" = ?, "es" = ?, "fr" = ?, "it" = ?, "ja_JP" = ?, "LSDefaultLocalizedValue" = "DeepSkyStacker", "nl" = ?, "pt_BR" = ?, "ro" = ?, "ru" = ?, "tr" = ?, "zh_CN" = ?, "zh_TW" = ? teamID: VH8AYT3C7Y identifier: com.github.deepskystacker version: 6.1 ({length = 32, bytes = 0x06000000 00000000 01000000 00000000 ... 00000000 00000000 }) versionString: 6.1.0 displayVersion: 6.1 mod date: 2025-05-11 09:37 (POSIX 1746952679, 𝛥 7hrs 26min 20secs) exec mod date: 2025-05-11 09:37 (POSIX 1746952679, 𝛥 7hrs 26min 20secs) reg date: 2025-05-11 16:52 (POSIX 1746978754, 𝛥 11min 45secs) rec mod date: 2025-05-11 16:52 (POSIX 1746978754, 𝛥 11min 45secs) type code: 'APPL' (4150504c) creator code: '????' (3f3f3f3f) plist flags: has-custom-bindings (0000000000010000) icon flags: relative-icon-path (0000000000000001) slices: arm64 (0000000000000080) item flags: package application container native-app extension-hidden (000000000010008e) App Nap: capable (0000000000000001) eGPU: capable can-change (0000000000000005) safeAperture system fullscreen: capable can-change (0000000000000005) safeAperture app fullscreen: capable can-change (0000000000000005) safeAperture windowed: capable can-change (0000000000000005) Game Mode: capable can-change (0000000000000005) Identified Game: capable can-change (0000000000000005) platform: native iconDict: 1 values (9156 (0x23c4)) { CFBundlePrimaryIcon = { CFBundleIconFile = "DeepSkyStacker.icns"; }; } icons: Contents/Resources/DeepSkyStacker.icns executable: Contents/MacOS/DeepSkyStacker inode: 9686765 exec inode: 9686771 execSDK ver: 15.4 ({length = 32, bytes = 0x0f000000 00000000 04000000 00000000 ... 00000000 00000000 }) mach min ver: 13.4 ({length = 32, bytes = 0x0d000000 00000000 04000000 00000000 ... 00000000 00000000 }) infoDictionary: 15 values (9160 (0x23c8)) { CFBundleDevelopmentRegion = English; CFBundleExecutable = DeepSkyStacker; CFBundleGetInfoString = ""; CFBundleIconFile = "DeepSkyStacker.icns"; CFBundleIdentifier = "com.github.deepskystacker"; CFBundleInfoDictionaryVersion = "6.0"; CFBundleLocalizations = ( ca, cs, de, es, fr, it, "ja_JP", nl, "pt_BR", ro, ru, tr, "zh_CN", "zh_TW" ); CFBundleLongVersionString = ""; CFBundleName = DeepSkyStacker; CFBundleNumericVersion = 101744640; CFBundlePackageType = APPL; CFBundleShortVersionString = "6.1"; CFBundleSignature = "????"; CFBundleVersion = "6.1.0"; NSHumanReadableCopyright = "Copyright \U00a9 2018-2025, David C. Partridge; Copyright \U00a9 2006-2019, Luc Coiffier"; } activityTypes: NOTIFICATION#VH8AYT3C7Y:com.github.deepskystacker, pv-eb6d5fe6c3ff51 trustedCodeSignatures: 3b627d5ab5825da80f3291707f69c8257dce381c claimed UTIs: com.github.deepskystacker.dssfilelist Intents: 0 values (9164 (0x23cc)) { } -------------------------------------------------------------------------------- type id: com.github.deepskystacker.dssfilelist (0x26c8) bundle: DeepSkyStacker (0x3cc) uti: com.github.deepskystacker.dssfilelist localizedDescription: "ca" = ?, "cs" = ?, "de" = ?, "English" = ?, "es" = ?, "fr" = ?, "it" = ?, "ja_JP" = ?, "LSDefaultLocalizedValue" = "DeepSkyStacker file-list file", "nl" = ?, "pt_BR" = ?, "ro" = ?, "ru" = ?, "tr" = ?, "zh_CN" = ?, "zh_TW" = ? flags: active exported trusted (0000000000000051) icons: 1 values (9168 (0x23d0)) { UTTypeIconFile = "DSS_filelist.icns"; } conforms to: public.plaintext tags: .dssfilelist, text/dssfilelist -------------------------------------------------------------------------------- claim id: 3396 (0xd44) rank: Owner bundle: DeepSkyStacker (0x3cc) flags: doc-type (0000000000000020) roles: Editor (0000000000000004) bindings: com.github.deepskystacker.dssfilelist
May ’25