Archive in Xcode appears under Other Items

后端 未结 11 1647
时光取名叫无心
时光取名叫无心 2021-02-07 04:27

I am trying to submit an App to iTunes Connect using the Archive option. Building for a Generic iOS Device it usually shows up under iOS Apps in the Organizer. However, now it s

11条回答
  •  不要未来只要你来
    2021-02-07 04:31

    For those googling– we had the same issue as above. Turns out whenever the archive's Products/ folder has something strange going on inside it, XCode thinks the archive isn't an iOS application. In our case, there were 2 targets being built in the same archive scheme and so 2 apps were showing up in Products/.

    The way to fix this was to click the target on the top left (next to > Generic iOS Device) then go to Edit Scheme > Build > Removing the duplicate targets from there and leaving only a single one.

    Another way to fix this is to set the Skip Install to YES for a target to not install it into the archive (see @RawMean's answer above).

    Hope this helps someone save some grief.

提交回复
热议问题