IDP到期续费,之后xcode里的provisining files都expire。
这时候要去provisining portal里注册新的certificates,步骤跟以前一样,在keychain access里生成文件然后上传,用去年生成过的就行,然后去distribution里modify已经expire的文件们(有多少app就有多少文件),然后都下载下来,添加到xcode里。
如果这时候提交app,会出现
Code Sign error: Certificate identity 'iPhone Distribution: xxxx' appears more than once in the keychain. The codesign tool requires there only be one.
解决办法:打开keychain access。 view-->show expire certificates。然后在里面的keychains里面的login,system什么的里面,把过期的都删掉,然后添加刚下载的certificates。
问题解决。