Archive in Xcode appears under Other Items

后端 未结 11 1461
时光取名叫无心
时光取名叫无心 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条回答
  • 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.

    0 讨论(0)
  • 2021-02-07 04:36

    If you've been able to build successfully recently and none of the other answers are applicable, you may need to reboot your machine. Cleaning, pod install, restarting Xcode, checking the scheme and build settings all had no impact.

    With no other changes, my project built successfully after a reboot under Xcode11.

    0 讨论(0)
  • 2021-02-07 04:42

    For all your framework projects (if any), set Skip install to YES. Then, set Skip install to NO for the main project target. Finally, under Build Phases for any framework projects, under the Headers section, drag and move any files under Public to Project.

    Try archiving again after all these steps.

    0 讨论(0)
  • In my case problem was I don't have a path for my Info.plist in my project settings for a release build. Build Settings > Packaging > Info.plist File.

    Wrong

    Correct

    0 讨论(0)
  • 2021-02-07 04:49

    Another issue I ran into using Xcode 11.4, my app archive was also ending up in Other Items. After scrubbing back and forth through git history, I found the issue (as weird as it is) and solution.

    Info.plist had the Bundle version string set to $(MARKETING_VERSION), but after changing it to the raw version number 1.0.7 then the app was correctly archived to the iOS Apps list.

    0 讨论(0)
  • 2021-02-07 04:49

    In my case I had to remove old archives, then remove my app target and create it again, run pod install, after this I was able to submit my app to AppStore, and app moved from "Other items" to "iOS Apps".

    0 讨论(0)
提交回复
热议问题