Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio for Mac - Configuration doesn't target device. Your configuration doesn't target a valid iOS device

Tags:

Error Message:

Configuration doesn't target device.
Your configuration doesn't target a valid iOS device

I want to publish an iPhone app to App Store. So, I tried to perform Archive for Publish an iPhone App by selecting at the top main menu bar:

Build > Archive for Publishing

I have already select a device from the drop down menu at the main top menu bar. But I still receive above error message. What should I do?

I don't have a physical real iPhone. All I use is the iPhone Simulator. Is it a must to use a real iPhone to sign the App and submit to App Store?

Update

A physical iOS (iPhone) device is no more needed to archive and submit app to AppStore.

like image 676
mjb Avatar asked Feb 24 '18 09:02

mjb


1 Answers

You need to plug in a real physical iPhone into the Mac Laptop. and target it as target deploy device. Then, this problem will solve.

Update: A physical iOS (iPhone) device is no more needed to archive and submit app to AppStore.

For build device, select "Any iOS Device (arm64, armv7)" or Generic Device

like image 95
mjb Avatar answered Sep 21 '22 13:09

mjb