Same issue for me
Crashed Thread: 24 Dispatch queue: com.apple.root.utility-qos
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSFileHandleOperationException', reason: '*** -[NSConcreteFileHandle availableData]: Bad file descriptor'
terminating with uncaught exception of type NSException
abort() called
macOS 11.4 Xcode 12.5.1
Post
Replies
Boosts
Views
Activity
Also I'm wondering why we are setting pipe.fileHandleForWriting in process output instead of pipe.fileHandleForReading in case if we just reading ?
`/Users/vitaliikizlov/Desktop/Projects/MacOS/Mac/NordFS/nordfs.fs/Contents/Resources/mount_nordfs.app/Contents/Extensions/11/nordfs.kext
Also there is another problem that after code sign and success notarization through Xcode (I receive letter from Apple) framework still shows that it's not notarized.
spctl -a -vv /Users/vitaliikizlov/Desktop/Projects/MacOS/Mac/NordFS/nordfs.fs/Contents/Resources/mount_nordfs.app
/Users/vitaliikizlov/Desktop/Projects/MacOS/Mac/NordFS/nordfs.fs/Contents/Resources/mount_nordfs.app: rejected
source=Unnotarized Developer ID
Also after some investigation I have this error:
codesign -vvvv -R="notarized" --check-notarization /Users/vitaliikizlov/Desktop/Projects/MacOS/Mac/NordFS/nordfs.fs/Contents/Resources/mount_nordfs.app
/Users/vitaliikizlov/Desktop/Projects/MacOS/Mac/NordFS/nordfs.fs/Contents/Resources/mount_nordfs.app: valid on disk
/Users/vitaliikizlov/Desktop/Projects/MacOS/Mac/NordFS/nordfs.fs/Contents/Resources/mount_nordfs.app: satisfies its Designated Requirement
test-requirement: code failed to satisfy specified code requirement(s)
Sorry, I've fixed everything. Problem was in incorrect codesign 🙂
Hey eskimo 🙂
Big thanks to your new solution 🙏
Maybe you can help me how to correctly add progress while child process is running ?