How do I solve this error when running my first app on iPhone?

0

I get this error when wanting to simulate my program on my iPhone 6s.

error: Task failed with exit 1 signal 0

But on the contrary when using a simulator I do not get any errors.

    
asked by ronluas 21.02.2018 в 17:05
source

1 answer

1

The problem could be for several reasons. You can try the following:

  • Certificate expired. Update your certificate and provisioning profile.
  • Move the iOS developer certificate from local to system using Key Chain. Close Xcode > Open keychain > Find the iOS Developer Certificate in Local > Drag and drop the Local certificate to the System tab > Enter the administrator password when requested > Launch Xcode and create a project for your device.
  • Another way: Close Xcode > Clear derived data > Open Xcode > Clean the Product > Run your application.
  • Restart your computer
  • answered by 21.02.2018 / 17:12
    source