ios xcode无法使用选定的设备运行

  

xcode4.2在运行是系统提示:ios xcode无法使用选定的设备运行

地图程序,在viewDidLoad方法中直接赋值经纬度:

 BMKCoordinateRegion地区;
  region.center。纬度=45.58008;
  region.center。longtude=xxxxx;
  region.span。latitudeDelta=0.2;
  region.span。longitudeDelta=0.2;
  如果(_mapView) {
  _mapView。区域=区域;//NSLog (@“% f % f”);
  }



选中工程修改:总结→部署目标→4.3(默认为5.0)

修改后运行不再出现上面的提示。

ios xcode无法使用选定的设备运行