Jenis skru kayu

codesign failed: resource fork, Finder information, or similar detritus not allowed

After updating AdscendMedia SDK in one of our app, when building the app, stumbled upon this error:

<project_folder>/Frameworks/AdscendMedia.framework: replacing existing signature
<project_folder>/Frameworks/AdscendMedia.framework: resource fork, Finder information, or similar detritus not allowed
Command /usr/bin/codesign failed with exit code 1

Found the solution here: https://developer.apple.com/library/content/qa/qa1940/_index.html

First, find files inside SDK framework folder which have extended attribute containing resource fork or Finder info:

cd <project_folder>/Frameworks
xattr -lr AdscendMedia.framework/

If got files, then delete them:

xattr -cr AdscendMedia.framework/

Slack MacOS client keep crashing

Recently updated my MacBook Pro (Mac OS High Sierra 10.13.1), and noticed Slack client keep crashing whenever it’s launched, can’t even get to see the GUI appear

Similar crash report found here – https://github.com/electron/electron/issues/10561

Solution found in this Apple forum – https://discussions.apple.com/message/32423169?ac_cid=tw123456#32423169

Summary:

rm -f ~/Library/Application Support/com.apple.backgroundtaskmanagementagent/backgrounditems.btm

then reboot

PS: The same bug also affect Spotify client (keep crashing when launched), solution above also fixed that.