microsoftconnect / intune-app-wrapping-tool-ios

This is the software for the Intune App Wrapping Tool for iOS.
55 stars 12 forks source link

Wrapped app is stuck on white (or black) screen after first launch #123

Closed NickK-Mobility closed 2 months ago

NickK-Mobility commented 3 months ago

Hi,

Several similar custom applications get stuck on a white (or black for one app) screen after the first launch. The hang occurs right after the app protection seems to apply.

For the apps that have the white screen, it occurs only once after a factory reset. It may not occur on every single app launch, it has no apparent pattern. Workaround is to close the app from memory, then reopen the application.

For the app with the black screen, very similar scenario except the app has the issue after a reinstall - whereas the white screen issue can only be reproduced after a factory reset.

To Reproduce Steps to reproduce the behavior:

  1. Go to the application
  2. Sign in with corporate credentials
  3. App Protection appears to apply
  4. Error occurs at the end of app protection (seemingly) and app hangs

Expected behavior: After app protection applies successfully, the app should simply open.

Screenshots and logs: Sending iOS console logs and a video of issue occuring

Smartphone (please complete the following information): iOS 17.6.1 iPhone 13 Supervised in Intune

Intune app wrapping tool (please complete the following information): Latest, 19.6.0 Not sure on source code language App wraps no issue App launches without issue if not wrapped Customer is large State Gov in Australia Easily reproduced on any device, changing app wrapping version or the Mac to wrap does not affect the issue.

Additional context: This is a non-msal app. We are also pushing an SSO profile via Intune to handle the SSO - we've removed the SSO profile and found that the issue remains. The issue only occurs after wrapping the application.

Microsoft ticket 2407010030002690 has been raised but we have had no response yet

I found a similar issue here, it mentions the white screen after first launch. Can you please assist me with testing the -finishlaunching that is mentioned when wrapping? - https://github.com/microsoftconnect/intune-app-wrapping-tool-ios/issues/68 2308.xlsx - iOS Console logs captured at same time as video

https://github.com/user-attachments/assets/ca3963d6-2c5f-4447-a27d-2b123bfb3256

Video above - ignore the "restricted site" error at 45 seconds, that seemed to have been a one-off bug

Issue occurs at 1:20, 1:45, 2:00. 2:30

manupa-ms commented 3 months ago

Could you provide the wrapping command parameter values, pre-wrapping app file, the wrapped ipa, the info.plist? You can email them to me at manupa@microsoft.com.

NickK-Mobility commented 3 months ago

Hi, I've emailed you directly Nick

manupa-ms commented 2 months ago

Suggested to test out implementing the -finishLaunching switch. Closing due to inactivity.