This is a summary of my answer to the question Xcode won't add “Embedded binary” after deleting “DerivedData”, see the original question and answer for more context and information:
- Remove all framework projects from the workspace
- Perform a "clean build" and/or remove the "DerivedData"
- Add project back into the workspace
- Build the project (possibly optional)
- In the General tab of the app target click the + under "Linked Frameworks and Libraries", select the framework.
- Build and run in the Simulator (there should be no issues building or running)
- Build and run for device (this might cause a crash due to the framework not being correctly linked, ignore this crash)
- Click the + under "Embedded Binaries", select the framework. This should add it to the project (possible duplicate under "Linked Frameworks and Libraries")
- Repeat for all required frameworks
- Once building and running (on device) is confirmed you can remove any duplicate (and/or red) frameworks in the Project Navigator or target General tab