Closed
Description
The below-given error will be displayed when you try to build an app for release while using Xcode
didiff: /../Podfile.lock: No such file or directory
didiff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
Workaround
To workaround this behavior you could follow the below-described steps.
- remove platforms folder from the project ->
rm -rf platforms
- run
tns prepare ios
command cd platforms/ios
- run
pod install
- open with Xcode
<project_folder>/platforms/ios/<project_name>.xcworkspace
file - open the project
Build Settings
- scroll down to the end of the file and look for
PODS_ROOT
- the final steps is to copy the path from
Debug
flag and to set the set the same path forRelease
.