Since the shell script just blanket replaces the CordovaLib directory within the PhoneGap iOS platform, the CordovaLib xCode Project may need to be updated. Symptoms of this issue are missing headers. If the project fails to build with <Cordova/CDVViewController.h> file not found, the perform the following tasks: