You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DTSDKBuild value we put in the Info.plist during the build is incorrect, we put the system's ProductBuildVersion, instead of the SDK's ProductBuildVersion.
Depending on which macOS version the build machine has, developers might get this when trying to publish a build:
This build uses a beta version of Xcode and cannot be submitted. Make sure you are using the latest Xcode version or the latest seed version.
…ios@19733.
We were accidentally getting the ProductBuildVersion value (which is used for
DTSDKBuild) from the system, not from the SDK used during the build.
This happened because we were trying to Path.Combine two rooted paths - in
which case Path.Combine returns the second path, without combining anything.
The fix is to compute the path of the plist where the ProductBuildVersion
value is located correctly.
Fixing the Path.Combine issue also revealed that the first path passed to
Path.Combine was wrong, so that got fixed too.
And finally make sure we don't Path.Combine two rooted paths anywhere else -
in all other cases we're supposed to just use the second path without
prepending the first, so just remove the Path.Combine call completely in those
cases.
Fixesxamarin/xamarin-macios#19733.
…ios@19733. (#116)
We were accidentally getting the ProductBuildVersion value (which is used for
DTSDKBuild) from the system, not from the SDK used during the build.
This happened because we were trying to Path.Combine two rooted paths - in
which case Path.Combine returns the second path, without combining anything.
The fix is to compute the path of the plist where the ProductBuildVersion
value is located correctly.
Fixing the Path.Combine issue also revealed that the first path passed to
Path.Combine was wrong, so that got fixed too.
And finally make sure we don't Path.Combine two rooted paths anywhere else -
in all other cases we're supposed to just use the second path without
prepending the first, so just remove the Path.Combine call completely in those
cases.
Fixesxamarin/xamarin-macios#19733.
The DTSDKBuild value we put in the Info.plist during the build is incorrect, we put the system's ProductBuildVersion, instead of the SDK's ProductBuildVersion.
Depending on which macOS version the build machine has, developers might get this when trying to publish a build:
See #13300 (comment) for more info.
The text was updated successfully, but these errors were encountered: