简体   繁体   English

更改项目名称后产品 iOS 需要代码签名

[英]code signing is required for product iOS after changing Project Name

Since I've changed the project name (Packaging -> Product name) of my project for release on app store i'm getting the code signing error(CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 5.0').由于我更改了我的项目的项目名称(包装 - >产品名称)以在应用商店发布,我收到代码签名错误(CodeSign 错误:SDK 'iOS 5.0 中的产品类型“应用程序”需要代码签名')。 I've deleted all provisioning, all certificate and reissued them.我已经删除了所有配置、所有证书并重新颁发了它们。 But it doesn't help a thing....但这无济于事......

I'm trying the whole day but nothing helps.我整天都在尝试,但没有任何帮助。 Please help!请帮忙!

Thnx谢谢

ps.附言。 I have the problem if i use the archive function.如果我使用存档 function,我会遇到问题。 Testing on the iPhone doesn't give any problems在 iPhone 上测试没有任何问题

CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 5.0' CodeSign 错误:SDK“iOS 5.0”中的产品类型“应用程序”需要代码签名

This error occurs for the simple reason that you don't have the "target" code-signing-identity fields set.发生此错误的原因很简单,即您没有设置“目标”代码签名身份字段。 If you just set the project-level values then they're not pushed down to the target.如果您只是设置项目级别的值,那么它们不会被推送到目标。 You need to explicitly set the "target".您需要明确设置“目标”。 This solved my problem.这解决了我的问题。

It's not that your profile and certificate are out of sync.并不是您的个人资料和证书不同步。 As the error says "code signing is required".正如错误所说“需要代码签名”。 This indicates that you have not signed the app.这表明您尚未签署该应用程序。

在此处输入图像描述

if there is error like CodeSign error: code signing is required for product type 'Application' in SDK 'iOS X.X') and if you are using Xcode 4.2 and 4.3 SDK than probably following could be a one kind of solution..If you have changed the provisioning profile or changed the code signing identity configuration due to changes while submitting the app or a new version or added a new code sign identity configuration.如果存在诸如CODESIGN错误之类的错误:ZF20E3C5E54C0AB3D375D660B3F896F896F6HAZ'ios X.X'中的产品类型'application'需要签名:您在提交应用程序或新版本时更改了配置文件或更改了代码签名身份配置,或者添加了新的代码签名身份配置。 This error happens when the provision is not matching the bundle id & profile, you can do "Edit Scheme" (just after the run button double click on the project name), Do Edit Scheme.....follow image below当配置与捆绑包ID和配置文件不匹配时会发生此错误,您可以执行“编辑方案”(在运行按钮双击项目名称后),执行编辑方案.....如下图

在此处输入图像描述Select your code signing identity profile on the left, like archive and check the right hand side build configuration is matching & you have selected the Code Signing Identity based on the info.plist bundle setting & matching distribution profile, which is present. Select 左侧的代码签名身份配置文件,如存档并检查右侧的构建配置是否匹配,并且您已根据存在的 info.plist 捆绑设置和匹配的分发配置文件选择代码签名身份。

I think your bundle identifier changed with the app name-change, so you will need to recover it.我认为您的捆绑标识符随着应用程序名称的更改而更改,因此您需要恢复它。

  1. Double-click the project file, then the target;双击项目文件,然后是目标; look in the section called "Summary".查看名为“摘要”的部分。

  2. Change the first text field, named "Identifier", to the identifier of your app in the Developer Portal.在 Developer Portal 中将名为“Identifier”的第一个文本字段更改为您的应用程序的标识符。

I got this error after a source control update, the "Active scheme" was changed to "iOS Device".源代码管理更新后出现此错误,“活动方案”更改为“iOS 设备”。 Changing it back to iPhone XY Simulator fixed the problem.将其改回 iPhone XY Simulator 解决了该问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 更改iOS应用产品名称后的代码签名错误 - Code Sign error after changing Product Name of iOS app CodeSign错误:SDK“iOS 5.1”中的产品类型“应用”需要代码签名 - CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 5.1' CodeSign错误:SDK'iOS 5.1'中的产品类型'Application'需要代码签名 - CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 5.1' CodeSign错误:SDK'iOS 7.0中的产品类型'Application'需要代码签名 - CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.0 使用VSTS进行构建时,SDK'iOS 11.3中产品类型'Application'需要代码签名 - Code signing is required for product type 'Application' in SDK 'iOS 11.3 when build using VSTS CodeSign错误:SDK“iOS 4.2”中的产品类型“应用”需要代码签名 - CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 4.2' 在iOS中,在构建过程中设置产品名称,应用程序ID和代码签名身份 - In iOS set product name ,app id and code signing identity during build iOS代码签名错误 - iOS Code Signing Error iOS代码签名身份 - iOS Code Signing Identity iOS XCode和代码签名 - iOS XCode & Code Signing
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM