【问题标题】:TestFlight does not accept my IPA which has AirshipKit.framework in Embedded BinariesTestFlight 不接受我的 IPA,它在嵌入式二进制文件中有 AirshipKit.framework
【发布时间】:2015-07-09 02:00:41
【问题描述】:

当我将 IPA 放入 testflight 时,它显示错误:

错误 ITMS-90087:“不支持的架构。***.app/Frameworks/AirshipKet.framework 的可执行文件包含不支持的架构‘[x86_64, i386]’。”

错误 ITEM-90164:“无效的代码签名权利。您的应用程序包签名中的权利与配置文件中包含的权利不匹配。根据配置文件,捆绑包包含不允许的键值: '582UTB8G9R.com.urbanairship.AirshipKit' 用于 Payload/***.app/Frameworks/AirshipKit.framework/AirshipKit' 中的关键 'application-identifier'"

错误 ITMS-90179:“无效的代码签名。可执行文件 'Payload/***.app/Frameworks/AirshipKit.framework/AirshipKit' 必须使用配置文件中包含的证书进行签名。”

似乎是代码符号错误。但是AirshipKit.framework只是一个框架,如果我在我的项目中删除AirshipKit.framework,它可以成功投入testflight。

为什么?

【问题讨论】:

    标签: ios xcode urbanairship.com


    【解决方案1】:

    您需要去除 Apple 不喜欢的框架架构。您可以为此使用lipo

    未测试(根据记忆)。 确保在执行此操作之前进行备份!

    $ lipo -remove x86_64 path/to/Airship.framework/Airship -output temp1
    $ lipo -remove i386 temp1 -output path/to/Airship.framework/Airship
    $ rm temp1
    

    我假设 Xcode 会在构建过程中退出框架。

    最后联系 Airship 的开发者,告诉他们为 OSX 和 iOS 提供不同的框架。

    【讨论】:

      猜你喜欢
      • 2017-09-21
      • 2016-12-01
      • 2019-11-07
      • 2019-04-19
      • 2015-03-11
      • 2012-12-19
      • 1970-01-01
      • 1970-01-01
      • 2015-07-09
      相关资源
      最近更新 更多