Recently, we created a new PODS project. The AppResources.h file was renamed to another name, and the project failed to compile with various errors complaining about lack of rules to make a target.
The reason for this is PODS’s internal cache that stores compiled ‘object code’ so that it doesnt need to recompile it permanenetely. The cache also stores a list of files that can “affect” a file-and when one of this files gets lost, the cache goes bonkers.
Clicking build again and again dos not help-but one can delete the cache:
Click Project->Clean… and then choose the affected project. A quick click onto OK deletes the cache files, and the project will recompile cleanly when you hit Build the next time.
Cleaning a project can also be helpful if you changed the reource file without changing the accompanying source code files..
Any experiences?
Related posts:
