iOS App screen size problems after upgrading to .net8.0

No_Focus 25 Reputation points

I have noted that after an upgrade to .net8.0 that my iOS app has a size issue. This persists even after returning to .net7.0 and gets resolved after reverting code before the upgrade.

After some digging myself i have noted that some files are not being generated anymore inside obj/{net version}-ios/{RuntimeIdentifier}/resizetizer, i am missing the f and sp folders.

My question is if this is a known bug on the iOS side and if the missing files have something to do with the problem i am having.

Image of problem:

User's image

before upgrade:

User's image

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,192 questions
{count} votes

1 answer

Sort by: Most helpful
  1. No_Focus 25 Reputation points

    After some digging, testing and thinking i have found the cause of the problem.

    It has to do with a restored package inside my app: <PackageReference Include="PCLCrypto" Version="2.0.147" />. This made use of a differed target framework which likely resulted in these problems.

    So for me the action is to find a alternative to this package/code that does not conflict with the targeted framework.

    Screenshot of the restored packages:User's image

    1 person found this answer helpful.