Skip to content

Bug while building for release iOS application with Xcode, which has plugin with CocoaPods  #2552

Closed
@tsonevn

Description

@tsonevn

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.

  1. remove platforms folder from the project -> rm -rf platforms
  2. run tns prepare ios command
  3. cd platforms/ios
  4. run pod install
  5. open with Xcode <project_folder>/platforms/ios/<project_name>.xcworkspace file
  6. open the project Build Settings
  7. scroll down to the end of the file and look for PODS_ROOT
  8. the final steps is to copy the path from Debug flag and to set the set the same path for Release.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions