Xcode 7 will NOT build a valid Archive from the same project that builds a valid archive in Xcode 6

前端 未结 7 1140
灰色年华
灰色年华 2020-12-30 06:19

When using Xcode 7b5 to build my app that contains a Today Extension I cannot create a valid archive. When I make an archive the build succeeds and then in Organizer it show

7条回答
  •  旧巷少年郎
    2020-12-30 07:12

    It's an issue with CocoaPods v0.39.0.beta.4.

    As described in CocoaPods GitHub the beta 3 of CocoaPods allows you to build archives as expected. Beta 4 has a bug preventing this from working.

    Uninstall your previous CocoaPods version first

    sudo gem uninstall cocoapods

    and then do:

    sudo gem install cocoapods -v 0.39.0.beta.3 --verbose

    then

    pod update

    and you'll be able to build archives again as expected.

提交回复
热议问题