开发者

Archiving, Scheme settings and Code Signing in Xcode 4.2

I am in the process of submitting an app to the App Store. I am using Xcode 4.2 (Build 4C151a).

In the build settings I can choose iPhone Distribution for code signing under Release - Any iOS SDK. Then I go to menu Product > Edit Scheme and set the Archive Build configuration to release, Then Product > Archive. The first problem I have is that it builds and says build succeeded but no archive file shows in the Organizer. When I go to the Archive files location through Finder I see that that specific Archive file is Zero Bytes. If I repeat the same thing but change the Archive Build Configuration to Debug under Edit Scheme, the Archive file gets created and shows up in the Organizer. Now comes the second problem, when I choose that just created Archive and hit Share... button and choose iOS App Store Package (.ipa), for Identity, I cannot choose iPhone Distributi开发者_运维百科on (It's gray and it says does not match any valid identity/profile pairs) even though in the Build Setting, it was fine and matched. However, iPhone Developer shows up active under Identity selections. Any help with either or both of these problems is highly appreciated.


The problem persisted with downgrading to the last full-version of Xcode. Apparently, I missed some steps when I created the Distribution Provisioning Profile. After creating Distribution Provisioning Profile correctly, everything started to act as expected.


You cannot submit apps to the appstore using beta/developer preview versions of Xcode. In this case, 4.1.1 is the latest public release, via the Mac App Store.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜