1
0
mirror of https://github.com/bitwarden/mobile synced 2025-01-28 01:09:43 +01:00
Bitwarden-app-android-iphon.../Directory.Build.props
Álison Fernandes e1f3f3dfd9
[PM-13356] Fix iOS build by pinning dotnet and MAUI version (#3410)
* Pinning MauiVersion hardcoded to 8.0.7 to avoid using the MauiVersion variable. Also pinning .NET version to use to 8.0.7 so it's the same one as the latest public release.

* Pinned dotnet version to 8.0.303 which was the latest one of the latest public release

* Added global json to pin .NET version to use and added diagnostic logs on dotnet publish, also commented other workflows.

* Set TargetPlatformVersion in Directory Build props

* test moving global.json

* Check out the repo first so global.json is available

* Remove workloadVersion from global.json

* pin maui install version

* Try workload restore

* Adding workload restore

* Use ios workload instead

* Set specific MAUI workload to install to 8.0.402

* Fix MAUI workload install to 8.0.300

* Add step to remove dotnet

* Update sdk / maui to 8.0.402

* Bumped xcode to 15.4

* Revert build.yml comments

* Revert csproj and build.props

* Remove diag flag

* Android / F-droid: Install pinned version of maui workload instead of latest

* Android / F-Droid: checkout repo earlier in the build process so global.json is used

---------

Co-authored-by: Federico Maccaroni <fedemkr@gmail.com>
2024-10-10 11:51:28 +02:00

16 lines
727 B
XML

<Project>
<PropertyGroup>
<MauiVersion>8.0.7</MauiVersion>
<ReleaseCodesignProvision>Automatic:AppStore</ReleaseCodesignProvision>
<ReleaseCodesignKey>iPhone Distribution</ReleaseCodesignKey>
<IncludeBitwardeniOSExtensions>True</IncludeBitwardeniOSExtensions>
<IncludeBitwardenWatchOSApp>True</IncludeBitwardenWatchOSApp>
<Argon2IdLoadMtouchExtraArgs>-gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a"</Argon2IdLoadMtouchExtraArgs>
<!-- Uncomment this when Unit Testing-->
<!-- <CustomConstants>UT</CustomConstants> -->
<!-- Uncomment this when building FDROID-->
<!-- <CustomConstants>FDROID</CustomConstants> -->
</PropertyGroup>
</Project>