I run into some issues about compilation.
-
Command /bin/sh failed with exit code 1After I upgraded xCode, and I could run my app on a simulator, but I cannot run it on a device. This issue was resolved after I restarted my Mac.
-
ld: framework not foundI got this issue when I added some frameworks to
project -> targets -> general -> Embedded Binariesand I added them toproject -> targets -> Build Phases -> Link Binary With Libraries. I solved this issue by removing them fromLink Binary With Libraries.