Error doing 'Build and Run the scheme' in xcode


I'm having problems doing 'Build and Run the scheme' in xcode to pass the project to an iPhone 4s device and test what I'm developing, from one day to the next it has stopped working and I have not touched anything on the project configuration.

The error he gives me is this:


Code signing is required for product type 'Unit Test Bundle' in SDK   'iOS 10.1'

If you need any more details do not hesitate to ask me, I am new to the development of and I'm in a project made by other people who are no longer in the company.

asked by Joacer 01.12.2016 в 17:07

1 answer


First I would say that iOS 10 is not compatible with an iPhone 4s, since only phones from the iPhone 5s can be upgraded to iOS 10

In any case, you need to configure the signed application with a certificate, and configure the appropriate provisioning profile.

You can check these 2 links to see how to do it:

answered by 01.12.2016 / 20:44