Xamarin step without ipa/apk

Is there a Xamarin step that does not expect an ipa/apk?
I am just looking to run my unit test and ensure that the project builds.

Hi @mleatherb ,

the official Xamarin builder step is called Xamarin Archive, but this is expected to generate an out:

  • for ios/tvos projects it is either ipa / app or xcarchive.
  • for android projects apk
  • for macos app / pkg or xcarchive

If you just want to build your project, you can use a script step, with content input value like this:

set -e

# Build android project

/Library/Frameworks/Mono.framework/Commands/xbuild \
  /target:SignAndroidPackage \

# Build ios project

/Library/Frameworks/Mono.framework/Commands/xbuild \
  /target:Build \
  /p:Configuration=Ad-Hoc \

The command args depends on your requirements, see more:

1 Like