The Code Generation (Linker Behaviour) - 'Link Framework SDK Only' option in the build action solved my problem too.
Topic:
Code Signing
SubTopic:
General
Tags: