使用CakeBuild和Xamarin时如何导出IPA / APK? [英] How do you export an IPA/APK when using CakeBuild and Xamarin ?

查看:188
本文介绍了使用CakeBuild和Xamarin时如何导出IPA / APK?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用CakeBuild& FastLane自动执行Xamarin项目的构建过程。我有一个脚本正在使用Cake来执行构建命令,但是它不会输出IPA / APK文件。这是我当前的脚本

I am trying to use CakeBuild & FastLane to automate the build process for my Xamarin Project. I have a script that is working to execute a "build" command with Cake, but it does not output a IPA/APK file. Here is my current script

    MSBuild("./MyDirectory/MyProject.sln", settings =>
  settings.SetConfiguration("Release")
      .WithTarget("Build")
      .WithProperty("Platform", "iPhone")
      .WithProperty("BuildIpa", "true")
      .WithProperty("OutputPath", "bin/Release/")
      .WithProperty("TreatWarningsAsErrors", "false"));

bin / release目录始终为空

The directory "bin/release" is always empty

推荐答案

我最好使用 Cake.Xamarin

这就是说,如果您要为iPhone进行构建,您是否会厌倦将配置设置为发布| iPhone? ?

That said, if you are building for iPhone, have you tired setting the configuration to "Release|iPhone"?

这篇关于使用CakeBuild和Xamarin时如何导出IPA / APK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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