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

前端 未结 7 1157
灰色年华
灰色年华 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 06:55

    This can be caused by using CocoaPods 0.38.[0-2] and Xcode 7.

    It works with an older version of CocoaPods:

    $ gem install cocoapods -v "=0.37.2"
    $ gem uninstall cocoapods # then select 0.38.[0-2]
    $ pod update
    

    (Additionally, I also had to clean my build folder and wipe the Pods folder before the pod update and make changes to the AFNetworing post install hook in my Podfile)

    Further causes are discussed in Cannot generate iOS App archive in xcode.

提交回复
热议问题