尝试上传使用 Visual Studio for Apache Cordova 构建的应用程序时出现错误 ITMS-90161 [英] ERROR ITMS-90161 when trying to upload an app built with Visual Studio for Apache Cordova

查看:49
本文介绍了尝试上传使用 Visual Studio for Apache Cordova 构建的应用程序时出现错误 ITMS-90161的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们刚刚开始使用Visual Studio Tools for Apache Cordova"创建跨平台移动应用.

我遵循了安装 iOS 构建工具在 iOS 设备上运行您的应用.一切正常,应用部署在我通过 USB 连接的 iPhone 上并按预期运行.

然后我尝试将应用上传到 iTunes,通过 TestFlight 将应用提供给测试人员并大致了解应用提交的工作原理:

  1. 在 VS 中将 iOS 应用构建为Release":它可以很好地构建并部署到 iPhone
  2. 在 Mac 上:启动 Application Loader,点击Deliver your App"并导航到...remote-builds/builds/"xxx-buildnmb"/cordovaApp/plattforms/iOS/build/device/APPNAME.ipa"
  3. 多项检查运行正常(验证资产等),但随后因错误而停止<块引用>

    错误 ITMS-90161:无效的配置文件.包含在捆绑包 xxx.yyyyyy.zzzz [Payload/xxx.yyyyyy.zzzz.app] 中的配置文件无效.[缺少代码签名证书.]了解更多信息,请访问 iOS 开发者门户."

  4. 然后我在.taco_home/remote-builds/taco-remote/builds/<build-number>/cordovaApp/platform‌ s/ios/"中发现了Xcode项目并使用Xcode来定义构建设置"中的代码签名身份和常规"中的团队信息,通过产品-->存档创建存档并在管理器-存档中提交.瞧,它奏效了!

我的问题:

  1. 我必须使用 Xcode 提交吗?
  2. 如果不是,我可能在 a) 使用 vs-mda-remote 构建和签署应用程序以及 b) 使用应用程序加载器提交应用程序时遗漏了什么?
  3. Microsoft 在提供从 Visual Studio 中访问构建设置(类似于 Xcode 中的那些)方面的计划是什么?

非常感谢您提供正确方向的任何指示.

托马斯

解决方案

您需要使用分发配置文件对包进行签名,并且通过使用 iTunes Connect 网站和 Xcode 存档工具将应用发布到 App Store,包含在 iOS SDK 中.

We just started creating cross platform mobile apps using "Visual Studio Tools for Apache Cordova".

I followed the procedures described in Install Tools to Build for iOS and To run your app on an iOS device. Everything works nicely, the app gets deployed on my USB attached iPhone and runs as expected.

I then tried to upload the app to iTunes, to provide the app via TestFlight to testers and to generally see how app-submitting works:

  1. Build the iOS app as "Release" in VS: it builds and deploys to the iPhone nicely
  2. On the Mac: Start Application Loader, click on "Deliver your App" and navigate to "...remote-builds/builds/"xxx-buildnmb"/cordovaApp/plattforms/iOS/build/device/APPNAME.ipa"
  3. Several checks run OK ("verifying assets, etc.), but it then stops with the error

    ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle xxx.yyyyyy.zzzz [Payload/xxx.yyyyyy.zzzz.app] is invalid. [Missing code-signing certificate.] For more information, visit the iOS Developer Portal."

  4. I then discovered the Xcode Project in ".taco_home/remote-builds/taco-remote/builds/<build-number>​/cordovaApp/platform‌​s/ios/" and used Xcode to define the code signing identities in "Build Settings" and the Team information in "General", created the archive via Product-->Archive and submitted it in the Organizer - Archives. And voila it worked!

My questions:

  1. Do I have to use Xcode to submit?
  2. If not, what might I be missing in a) regard to building and signing apps with vs-mda-remote, and b) submitting it with Application Loader?
  3. What are Microsoft's plans in regard to providing access the build settings from within Visual Studio (similar to the ones in Xcode)?

Thanks a lot for any pointers in the right direction.

Thomas

解决方案

You need to use distribution provisioning profile to sign the package and apps are published to the App Store by using the iTunes Connect website along with the Xcode Archive Tool, which is included with the iOS SDK.

这篇关于尝试上传使用 Visual Studio for Apache Cordova 构建的应用程序时出现错误 ITMS-90161的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆