添加Flurry Analytics后无法上传iOS更新?错误:您的应用不能包含独立的可执行文件或库 [英] Unable to upload iOS update after adding Flurry Analytics? Error: Your app can’t contain standalone executables or libraries

查看:742
本文介绍了添加Flurry Analytics后无法上传iOS更新?错误:您的应用不能包含独立的可执行文件或库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Swift iOS应用程序中,我刚刚通过创建 briding-header.h 导入Flurry.h来添加Flurry Analytics 。然后我添加了 SystemConfiguration.framework CFNetwork.framework Security.framework

In my Swift iOS application I've just added Flurry Analytics by creating a briding-header.h and importing Flurry.h. I then added SystemConfiguration.framework, CFNetwork.framework, and Security.framework.

然后我通过目标添加 libFlurry_6.5.0.a - >构建阶段 - >在Stack Overflow问题的指令之后链接二进制文件与库,因为它不会构建。

I then added libFlurry_6.5.0.a via Targets -> Build Phases -> Link Binary with Libraries after instruction from a Stack Overflow question because it wouldn't build.

归档应用程序后我尝试上传它和收到此错误:

After archiving the app I tried to upload it and received this error:


ERROR ITMS-90171:无效的捆绑包结构 - 二进制文件
'APPNAME.app/Flurry/不允许使用libFlurry_6.5.0.a'。您的应用
不能包含独立的可执行文件或库...

ERROR ITMS-90171: "Invalid Bundle Structure - The binary file ‘APPNAME.app/Flurry/libFlurry_6.5.0.a’ is not permitted. Your app can’t contain standalone executables or libraries...


推荐答案


  1. 在项目的目标设置中打开构建阶段标签。

  2. 确保 Flurry.framework 复制捆绑资源下不包含

  1. Open the Build Phases tab in the target settings for your project.
  2. Make sure that Flurry.framework is not included under Copy Bundle Resources.

来自无效的捆绑结构

这篇关于添加Flurry Analytics后无法上传iOS更新?错误:您的应用不能包含独立的可执行文件或库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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