Fix "mapped file has no Team ID..." in Xcode 11

September 2019

After applying the preferred project settings in Xcode 11 you might be confronted with the following error while loading a Library at runtime:

dyld: Library not loaded: @rpath/DCOAboutWindow.framework/Versions/A/DCOAboutWindow
  Referenced from: /Users/username/Library/Developer/Xcode/DerivedData/Pipvid-adwfbkaurzovizgaarwkmugeihce/Build/Products/Debug/
  Reason: no suitable image found.  Did find:
	/Users/username/Library/Developer/Xcode/DerivedData/Pipvid-adwfbkaurzovizgaarwkmugeihce/Build/Products/Debug/ code signature in (/Users/username/Library/Developer/Xcode/DerivedData/Pipvid-adwfbkaurzovizgaarwkmugeihce/Build/Products/Debug/ not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)

The issue is caused by a new entry in your project.pbxproj that specifies the signing identity: CODE_SIGN_IDENTITY = "-";. It’s set to Sign to Run Locally by default.

Changing Signing Certificate to Development under Signing Capabilities in the project settings resolves the issue. You could also manually update the entry to CODE_SIGN_IDENTITY = "Apple Development";.

A screenshot showing that you should set 'Signing Certificate' to 'Development'

Originally appeared on