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:
#!/bin/bash
set -e
# Build android project
/Library/Frameworks/Mono.framework/Commands/xbuild \
ANDROID_CSPORJ_PTH \
/target:SignAndroidPackage \
/p:Configuration=Debug
# Build ios project
/Library/Frameworks/Mono.framework/Commands/xbuild \
SOLUTION_PTH \
/target:Build \
/p:Configuration=Ad-Hoc \
/p:Platform=iPhone
The command args depends on your requirements, see more:
1 Like