iOS Build error that only occurs in a release build

BrianTaylorBrianTaylor USMember ✭✭

4> bin/iPhone/Release/MobileiOS.app: valid on disk
4> bin/iPhone/Release/MobileiOS.app: satisfies its Designated Requirement
4> bin/iPhone/Release/MobileiOS.app: explicit requirement satisfied
4>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.After.targets(86,4): error MSB4064: The "SessionId" parameter is not supported by the "Zip" task. Verify the parameter exists on the task, and it is a settable public instance property.
4>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.After.targets(85,3): error MSB4063: The "Zip" task could not be initialized with its input parameters.

Any suggestions as to how to get round this error?

Tagged:

Best Answer

  • BrianTaylorBrianTaylor US ✭✭
    Accepted Answer

    To help anyone else searching for the answer to this issue.

    Finally find the answer to this thank to help from JD, the problem was caused by a conflict between the Zip provided by Xamarin and that provided in the MsBuildTasks package. Had to stop using MsBuildTasks in the Xamarin iOS projects and find alternative ways to achieve the same functionality.

Answers

  • NicolasKrierNicolasKrier FRMember ✭✭✭
    edited March 19

    Did youu try the standard triple R ? :smile:

    Remove bin&obj
    Rebuild
    Reboot

  • BrianTaylorBrianTaylor USMember ✭✭

    Oh yes, many times

  • BrianTaylorBrianTaylor USMember ✭✭
    Accepted Answer

    To help anyone else searching for the answer to this issue.

    Finally find the answer to this thank to help from JD, the problem was caused by a conflict between the Zip provided by Xamarin and that provided in the MsBuildTasks package. Had to stop using MsBuildTasks in the Xamarin iOS projects and find alternative ways to achieve the same functionality.

Sign In or Register to comment.