Forum Xamarin.Forms

App center build script missing for iOS

gvuksagvuksa RSMember ✭✭

Hi everyone,

I have added appcenter-pre-build script in the xamarin forms android project, and it works well in the app center. However, when I added that same script to the xamarin forms iOS project, the script is not visible in the app center.

Does anyone know what could cause this issue?

Best Answer

  • gvuksagvuksa RSMember ✭✭
    Accepted Answer

    @PeteY thanks for trying to help, it turned out to be a configuration error in the app center. For some reason PM decided to change Project in build configuration from .iOS to shared, and I didn't noticed :smiley:.

Answers

  • PeteYPeteY USMember ✭✭

    @gvuksa Not sure if your project is setup similar to mine, but I had to put the iOS build script at the root folder of the project and select that as the Project. So android script is the android folder,but iOS is at the root project folder. So for iOS I have:
    Project -> Company.Project.sln
    Build script is located at the same folder level as the sln above.

  • gvuksagvuksa RSMember ✭✭
    Accepted Answer

    @PeteY thanks for trying to help, it turned out to be a configuration error in the app center. For some reason PM decided to change Project in build configuration from .iOS to shared, and I didn't noticed :smiley:.

Sign In or Register to comment.