Build failed in ios after opening xcodeproj file.!


Hi All,
after building the project(by opening xcodeproj file) in a connected device I am getting this error in ios.
what might be the problem ??

52 PM



Error itself shows error regarding codesign failed.

Check that You have installed provisioning profile correctly.

Try this…

  1. remove attached device and reconnect it.
  2. rm -rf platforms/ios/
  3. tns run ios