Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS application installation fails #69

Closed
premun opened this issue Apr 23, 2020 · 4 comments
Closed

iOS application installation fails #69

premun opened this issue Apr 23, 2020 · 4 comments
Assignees
Labels
apple iOS/tvOS/WatchOS/Mac Catalyst area bug

Comments

@premun
Copy link
Member

premun commented Apr 23, 2020

I tried with an app bundled by XHarness as well with Egor's.

I get an error from mlaunch:

03:25:57.4053340 Xamarin.Hosting: Installing com.xamarin.bcltests.mscorlib Part 1.app/ with Bundle Identifier com.xamarin.bcltests.mscorlib Part 1 on 'iOS 13.3 (17C45) - iPhone X'...
03:26:02.2710690 Xamarin.Hosting: Device 'iOS 13.3 (17C45) - iPhone X' booted.
03:26:02.2807020 error HE0046: Failed to install the app 'com.xamarin.bcltests.mscorlib Part 1' on the device 'iOS 13.3 (17C45) - iPhone X': Failed to install the requested application
03:26:02.2881230   at Xamarin.Hosting.Services.InstallApplicationInSimulator (Xamarin.Hosting.Bindings.SimDevice device, Xamarin.Hosting.AppBundle app_bundle, System.Boolean fix_weak_system_library_references, System.Boolean skip_watch_app_install) [0x00112] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Hosting/Services.cs:769
03:26:02.2881660   at Xamarin.Hosting.Services.InstallApplicationInSimulatorAsync (Xamarin.Hosting.SimulatorInstallConfig config) [0x001de] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Hosting/Services.cs:958
03:26:02.2881790   at Xamarin.Launcher.Driver.LaunchSimulatorAsync () [0x0022c] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/Main.cs:774
03:26:02.2882340   at Xamarin.Utils.NSRunLoopExtensions.RunUntilTaskCompletion[T] (Foundation.NSRunLoop this, System.Threading.Tasks.Task`1[TResult] task) [0x00082] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Utils/Extensions.cs:35
03:26:02.2882490   at Xamarin.Launcher.Driver.Main2 (System.String[] args) [0x00b13] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/Main.cs:448
03:26:02.2882580   at Xamarin.Launcher.Driver.Main (System.String[] args) [0x0006d] in /Users/builder/jenkins/workspace/xamarin-macios/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/Main.cs:148
@premun premun added bug apple iOS/tvOS/WatchOS/Mac Catalyst area labels Apr 23, 2020
@premun
Copy link
Member Author

premun commented Apr 23, 2020

  • mlaunch didn't change
  • test app didn't change
  • iOS version didn't change
  • only XHarness changed, but not sure when this started..

Trying to find when it started

@mandel-macaque
Copy link
Member

I have tested with the latests preview version, the app installs and launch perfectly. There are two possible issues for this:

  1. The application has a funny name (_ in it)
  2. The certificates you are suing DO NOT match the bundle id (this is the most probably case).
  3. Some crazy cert issues.

I would try to run the app with vsmac of xcode to see if the same happens.

@premun
Copy link
Member Author

premun commented Apr 25, 2020

I guess the issue was that folder name was different than app name

@premun premun closed this as completed Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apple iOS/tvOS/WatchOS/Mac Catalyst area bug
Projects
None yet
Development

No branches or pull requests

2 participants