如何在启用bitcode的情况下阻止Xamarin构建我的应用程序? [英] How can I stop Xamarin from building my app with bitcode enabled?

查看:130
本文介绍了如何在启用bitcode的情况下阻止Xamarin构建我的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的iOS版本的配置中,没有禁用bitcode的选项。在Xcode中可以设置ENABLE_BITCODE = NO

In the configurations from my iOS build, there is no option to disable bitcode. While in Xcode it is possible to set ENABLE_BITCODE=NO

我需要这个,因为我的链接框架不是用bitcode构建的,现在Apple不允许半bitcode编译应用程序。

I need this because my linked frameworks are not build with bitcode, and nowadays Apple does not allow half-bitcode-compiled apps anymore.

推荐答案

在您的iOS应用程序的 .csproj 中,搜索需要关闭位代码的发布配置的 PropertyGroup ,即:

In your .csproj for your iOS application, search for the PropertyGroup for the release configuration that you need to turn off bit code for, i.e.:

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">

在该组中,查看是否 MtouchEnableBitcode 已经存在并编辑它,否则添加:

Within that group, see if a MtouchEnableBitcode already exists and edit it, otherwise add:

<MtouchEnableBitcode>false</MtouchEnableBitcode>

这篇关于如何在启用bitcode的情况下阻止Xamarin构建我的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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