Xcode 10.2ß Codesign error because of detritus

I am experiencing a codesign issue when I try to build with XCode 10.2ß2, the same with ß3.


I have some code that compiles fine with XCode 10.0 or with XCode 10.1ß2.


When I try to compile the exact same project with XCode 10.2ß2, or ß3, I get the following error:

/Users/xxxxxxxx/Library/Developer/Xcode/DerivedData/appName-bgrsgphmdtpjpwalpbfagjcpdzrc/Build/Products/Debug/appName.app: resource fork, Finder information, or similar detritus not allowed

Command CodeSign failed with a nonzero exit code


I have cleaned the attributes with xattr command in Terminal, no change.

I have tried to change Swift language version, testing with unspecified, 5, 4.2 and 4. No change.

Accepted Reply

This thread has been deleted

Sorry, I don't see where 1940 mentions 'clean'.


I'd consider the likelihood of a betabug in your example - you can of course file one, or just wait until later in the beta cycle to see if that ship rights itself instead.

Replies

Seen QA1940 yet?


https://developer.apple.com/library/archive/qa/qa1940/_index.html