Header Import with Monterey 12.1

Hi,
I tried to run header import from Fire and it asked me for permission to write to desktop which I accepted but in the activity window it says access to trash isnt allowed

HI2: HeaderImporter import "--json=/Users/JohnMoshakis/import-Toffee-watchOS-8.3 (7.0)-noswift-armv7k.json" --sdk=/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS8.3.sdk --toolchain=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain -o "/Users/JohnMoshakis/watchOS 8.3/armv7k" -i /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS8.3.sdk/usr/include -i /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include -f /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS8.3.sdk/System/Library/Frameworks -i /Users/JohnMoshakis --libpath=/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS8.3.sdk/usr/lib
HI2:   RemObjects Elements Header Importer.
HI2:   Copyright RemObjects Software 2012-2021. All Rights Reserved.
HI2:   
HI2:   ======
HI2:   An error occurred: System.UnauthorizedAccessException: Access to the path '/Users/JohnMoshakis/.Trash' is denied. ---> System.IO.IOException: Operation not permitted
HI2:      --- End of inner exception stack trace ---
HI2:     at System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x00032] in <408d8cf79964489191642ba1cdb888db>:0 
HI2:     at System.IO.Enumeration.FileSystemEnumerator`1[TResult].DequeueNextDirectory () [0x00035] in <408d8cf79964489191642ba1cdb888db>:0 
HI2:     at System.IO.Enumeration.FileSystemEnumerator`1[TResult].DirectoryFinished () [0x00023] in <408d8cf79964489191642ba1cdb888db>:0 
HI2:     at System.IO.Enumeration.FileSystemEnumerator`1[TResult].FindNextEntry (System.Byte* entryBufferPtr, System.Int32 bufferLength) [0x0001d] in <408d8cf79964489191642ba1cdb888db>:0 
HI2:     at System.IO.Enumeration.FileSystemEnumerator`1[TResult].MoveNext () [0x00054] in <408d8cf79964489191642ba1cdb888db>:0 
HI2:     at System.Collections.Generic.LargeArrayBuilder`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] items) [0x0003d] in <408d8cf79964489191642ba1cdb888db>:0 
HI2:     at System.Collections.Generic.EnumerableHelpers.ToArray[T] (System.Collections.Generic.IEnumerable`1[T] source) [0x00033] in <408d8cf79964489191642ba1cdb888db>:0 
HI2:     at System.IO.MonoLinqHelper.ToArray[T] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <408d8cf79964489191642ba1cdb888db>:0 
HI2:     at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00009] in <408d8cf79964489191642ba1cdb888db>:0 
HI2:     at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) [0x00008] in <408d8cf79964489191642ba1cdb888db>:0 
HI2:     at HeaderImporter.ImportSettings.Resolve () [0x0124d] in <2c824208ed2042cba587692d5b938657>:0 
HI2:     at HeaderImporter.Import.IntMain (System.String[] args) [0x00569] in <a74bd80a765a49c6abed9e9025099c30>:0 
HI2:     at HeaderImporter.HeaderImporterConsoleApp.Main (System.String[] args) [0x0019f] in <a74bd80a765a49c6abed9e9025099c30>:0 
<- Exception in background block: 'HeaderImporter failed with {0}' at 0   CoreFoundation                      0x00000001812401cc __exceptionPreprocess + 240

Cheers,
John

Curious.

as an aside, why are you running the impiort yourself, the imported SDK is availale at SDK Downloads | Elements (and should be automatically downloaded by EBuild, if needed, too)?

I was wondering if I needed to reimport the sdk to fix the other issue I was having.

Which one?

This one Invalid double value '2.454' for locale 'en_CA' - #20 by mh

Ah. for one, no, that’s compiler only (and ofc libs that use NSRange built with said compiler ;), but for another,t hats watchOS, and not macOS?