Xcode 4 + iOS 4.3: “No Packager exists for the type of archive”

后端 未结 7 1534
忘了有多久
忘了有多久 2020-12-07 10:41

I just upgraded to Xcode 4 and am trying to create an adhoc build of an earlier project. Whenever I use the \"Archive\" option I either end up with no archive at all in the

7条回答
  •  温柔的废话
    2020-12-07 10:57

    Here's two other tips that we found useful with this problem...not answers but they may save someone else a LOT of time messing around 8/

    If you're using static libs that are NOT being built by xcode4 then the "deployment->skip install" workaround won't work for them. The work around for that is to NOT add them to the project and make sure their paths are in the Header and/or Library Search Paths in your Build Settings plus the -lblah entries are added to the Linker Flags.

    Also, if you have a static lib set as a Target Dependency (e.g. we had libjson.a set as this and I'm pretty sure that's the correct/logical thing to do) then you simply won't be able to build .ipa's no matter what. We spent more than a full day dancing around with this stupid problem and in the end just removing this solved it. Personally I think this should really leave a broken project...but it works so meh.

提交回复
热议问题