xcode9 cannot refer to right value of deployment target

I am working with xcode9 on my Mac-mini PC.


I set the value of deployment target of both of 'Info' and 'Build Setting' to 10.3 for example.

And try to do actual device test by connecting my PC to an iPhone with iOS 10.3.


When I click 'Product->Run' of xcode, an error dialog says 'iPhone's iOS 10.33 doesn't match ***.app's iOS 11.1 deployment target. ', and the program cannot run on the iphone.

The value of of deployment target is surely set to 10.3, but xcode seems to not able to reffer to the value 10.3 but 11.1.

I would like to know if anyone has had the same problem.

And if there is anyone who know hot to solve this problem, please let me know

Replies

I am very sorry. I found that I did not set the value of deployment target of 'Targes'. I set only that of 'Profect'.

So, I have solved the problem.