How to resolve the “Link Framework SDK Only” error.