I've set up a CI for my both my iOS and droid xamarin project thru Visual Studio App Center. It was all good until I tried to set up my UI Test run. I created a post build script for both android and iOS which is currently under the folder along the solution file (appcenter-post-build.sh which is required in order for me to build the whole solution [including Xamarin.UITest project]).
I was successful with the iOS since app center allows me to select the solution for the build, but it wasn't allowed on Android (appcenter-post-build.sh which is under the same folder as the droid.csproj). So, my workaround is to create another appcenter post script specifically for Android. What I'm trying to do is to build the Xamarin.UITest after the Android build.
Whenever I execute this on my post build script where I try to build the Xamarin.UITest:
/Library/Frameworks/Mono.framework/Versions/5_12_0/bin/msbuild $APPCENTER_SOURCE_DIRECTORY/MyDirectory/UITests/Project.UITests.csproj /p:Configuration=Debug
This error is being returned on the build logs:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: error : The specified iOS provisioning profile 'SampleProvisioningProfile' could not be found
It seems like it tries to build the iOS project as well, which it should. Any suggestions for this issue. I've been trying to make it work for the past week.
