从Stackoverflow转载的答案,解决了我的问题:
There are two errors that people seem to be confusing.
1. If it is a "directory not found for option '-L/..." error, that means it's a Library Error, and you should try to:
Click on your project (targets)
Click on Build Settings
UnderLibrary Search Paths, delete the paths
2. If it is a "directory not found for option '-F/...", that means it's a Framework Error, and you should try to:
Click on your project (targets)
Click on Build Settings
UnderFramework Search Paths, delete the paths