microsoftconnect / intune-app-wrapping-tool-ios

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

Wrapping fails on an app that already has ADAL. #19

Closed ghost closed 5 years ago

ghost commented 5 years ago

Wrapping fails when we try to inject an App that already has the ADAL library. Is the iOS wrapping tool only for apps that do not have ADAL already installed?

Thank you.

Warren imgo-1

Kyle-Reis commented 5 years ago

Hey @consoleboy, This scenario should be supported in our latest release (10.0.1). Version 10.0.1 also makes some new parameters available that allow you to specify AAD settings to enable SSO between the SDK and your app. Also, I noticed from your screenshot that you have Xcode 10.2 installed. Was your app built with 10.2?

ghost commented 5 years ago

Thanks will give it a spin. Is 10.0.1 beta or public? we got the same error with previous versions of xcode as well. We just figured out that the wrapping tool always tried to add ADAL and Intune to the IPA. Thx

ghost commented 5 years ago

Thank you, I tried downloading the dmg and I get the following error. My colleague got the same on his macbook pro as well.. Screen Shot 2019-04-16 at 3 17 59 PM

Kyle-Reis commented 5 years ago

Hey @consoleboy, 10.0.1 is public. How are you downloading the DMG? I just tried it and was able to mount it without any issues. The reason for my asking if your app is built with Xcode 10.2 is that the current version of our SDK/wrapper don't yet support Swift apps built with 10.2. We're working to get this supported ASAP. Is any part of your app written in Swift?

ghost commented 5 years ago

Thanks Kyle, My colleague and I get the same error when we try to download the dmg and mount it using OSX 10.14.4 (Mojave).

We have not been able to try the latest version due to this issue.

Thx.

Warren

ghost commented 5 years ago

Tried running disk utility on the DMG and I get a permission denied issue. ![Screen Shot 2019-04-17 at 2 24 10 PM] Screen Shot 2019-04-17 at 2 24 10 PM

Kyle-Reis commented 5 years ago

Hey @consoleboy. I'm not sure what might be happening on your system and your colleague's, but I'm running the same version of MacOS and am able to successfully mount. Did you each download the DMG directly from our GitHub repo, or did you share the file you downloaded with your colleague? I'm wondering if the download was somehow corrupted. Could you try rebooting your system (to get rid of those "ghost" images) and re-downloading? If that doesn't work, could you share the exact steps used to download the file?

ghost commented 5 years ago

Hi we both downloaded the DMG from the github repo. We have trashed our browser cache and redownloaded.

  1. We go to https://github.com/msintuneappsdk/intune-app-wrapping-tool-ios
  2. We click on the link to https://github.com/msintuneappsdk/intune-app-wrapping-tool-ios/blob/master/Microsoft%20Intune%20Application%20Restrictions%20Packager%20for%20iOS.dmg
  3. We double click the DMG.
  4. We agree to the Microsoft Software License Terms
  5. We get an error message that says "The following disk images could not be opened" Image: Microsoft Intune Application. No mountable file systems
Kyle-Reis commented 5 years ago

Hey @consoleboy were you able to get this resolved? It seems like it could be caused by some sort of administrative restriction in your organization, as we haven't had anyone else report this...

Kyle-Reis commented 5 years ago

Hey @consoleboy, just checking in again before closing out this issue on whether you were able to get the DMG mounting problem resolved.

Kyle-Reis commented 5 years ago

Closing out this issue due to inactivity. Please feel free to reopen if you’re still experiencing the mounting issue