xcode 8,ios 10 beta very annoying bug(?): "os version lower than deployment target"
<p>So.. I have downloaded xcode 8 and than installed ios 10 beta by using the configuration profile as advised in apple developer website.the install was successful and I can see the current ios 10 version in my device settings.
my problem:</p>

<p>Trying to run an ios 10 code (wwdc 2016 sample) I get an immediate response (before even click on the run button): "os version lower than deployment target". when I hit the run button I get:"the run destination device is not valid for running the scheme.." error. </p>

<p>Tried and failed:</p>

<p>Quit xcode,reopening everything including the imac itself,itunes,xcode and iphone.if I had hairs on my head i would have loose them by now.
would be happy for any help,
thanks!</p>

<ul>
<li>I have noticed itunes also does not recognise the change in the ios version although device itself is recognised. still cannot find any solution.</li>
</ul>