Can I upload Xcode builds on macOS 10.12

前端 未结 2 1040
心在旅途
心在旅途 2020-12-30 06:30

Will I be capable of submitting an app with Xcode 7.3.1 while on the macOS 10.12 beta? According to this post, it is possible to run Xcode 7 alongside macOS 10.12.

2条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-30 07:23

    Yes, you can! But if you're tying to do this, you will find two problems.

    1. no .app file provided in bundle

    Build with Xcode 7.3.1 then upload using Xcode 8 [Beta]. This will allow you to upload the archive.

    1. When trying to submit to the store you will be faced with this error message:

      New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, OS X, and tvOS SDK. Don't submit apps built with beta software including beta OS X builds.

    This is because your archive contain the Sierra's mark! I just solved this problem yesterday.

    When you archived your app, find your archive in the Organizer, and then:

    • "Show in finder";
    • "Show package contents";
    • In the "xx.xcarchive" file, find the "Products"-"Applications"-"xx.app"(xx is your app's name), "Show package contents" again;
    • Finally, you can see there has a file named"Info.plist", open it;
    • Edit the value with a key named "BuildMachineOSBuild", I just change it to "15F34"(it's "El Capitan 10.11.5" 's version);

    After that, you can upload this archive use Xcode or Application Loader, whatever you want!

提交回复
热议问题