简体   繁体   English

成功构建应用后,Xcode存档错误

[英]Xcode archive error after successful build of app

Currently I'm using Ionic Framework and trying to build an iOS mobile App. 目前,我正在使用Ionic Framework并尝试构建iOS移动应用。 In order do that I did the following steps: 为了做到这一点,我做了以下步骤:

  1. To add the platform, 要添加平台,

$ ionic cordova platform add android

2.To build the app 2.构建应用

ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"

  1. After it successfully generated .xcodeproject file, I imported the file into Xcode. 成功生成.xcodeproject文件后,我将文件导入Xcode。

  2. After importing the project, cleaned the project folder in xcode itself. 导入项目后,在xcode本身中清除项目文件夹。

  3. Then I added the Apple ID account to my Xcode. 然后,我将Apple ID帐户添加到我的Xcode中。

  4. After adding the account I'm trying to archive the project, in order to do that I checked the following URL's 添加帐户后,我尝试将项目存档,为此,我检查了以下URL

Official Documentation to generate the IOS app 生成IOS应用的官方文档

Stackoverflow answer to .ipa file . .ipa文件的Stackoverflow答案

  1. In the Archiving process I'm getting the following error: 在存档过程中,出现以下错误:

error: Your development team, does not support the Push Notifications capability. 错误:您的开发团队不支持“推送通知”功能。 (in target 'folder') (在目标“文件夹”中)

I tried to rectify it in the following way: 我尝试通过以下方式纠正它:

DISABLE_PUSH_NOTIFICATIONS=1 

in the preprocessor macros. 在预处理器宏中。 Unfortunately it didn't solve my problem. 不幸的是它没有解决我的问题。

I don't have any Apple developer ID 我没有任何Apple开发人员ID

How to solve this problem, in order to archive the project? 如何解决这个问题,以便归档项目? Could any one help me in this regard? 在这方面有人可以帮助我吗?

I tried all the solutions which are available solutions but they didn't solve any answer. 我尝试了所有可用的解决方案,但没有解决任何问题。 I am stuck since the past 2 days. 由于最近两天我被困。

Are you using any plugins that require push notifications? 您是否正在使用需要推送通知的插件? See ios push notification development on free apple account . 请参阅免费苹果帐户上的ios推送通知开发

It is not possible to use push notifications without a paid Apple Developer ID. 如果没有付费的Apple Developer ID,则无法使用推送通知。

If not, 如果不,

Try removing and adding the ios platform again. 尝试再次删除并添加ios平台。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM