开发者

Build Error: File not found after Time-Machine Restore to new SSD (Xcode)

开发者 https://www.devze.com 2023-03-26 05:32 出处:网络
I restored a time-machine backup onto my new SSD. Since then, I can\'t build my Xcode project anymore.

I restored a time-machine backup onto my new SSD. Since then, I can't build my Xcode project anymore. It gives me an error at the #import line, saying 'Three20/Three20.h' file not found.

How is that possible, the files are still there, in the same place. I don't even know whe开发者_如何学Cre to start searching. Any ideas or clues?


your header search files probably were cached inside Xcode cache folder and when you restore from time machine, these cache files weren't restored.

if you want, try to compare the header search folder in both projects to see the difference.

The project should have these: (assuming your project is located on the same folder as three20 is)

 HEADER_SEARCH_PATHS = $(BUILT_PRODUCTS_DIR)/../three20 
                       $(BUILT_PRODUCTS_DIR)/../../three20         
                       ../three20/Build/Products/three20
0

精彩评论

暂无评论...
验证码 换一张
取 消