Bug 45331 - iOS ARMv7 (32bit Devices): The assembly mscorlib.dll was not found or could not be loaded
Summary: iOS ARMv7 (32bit Devices): The assembly mscorlib.dll was not found or could n...
Status: RESOLVED NORESPONSE
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: Future Cycle (TBD)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-10-12 17:10 UTC by David Greene
Modified: 2017-06-05 16:40 UTC (History)
10 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description David Greene 2016-10-12 17:10:17 UTC
The customer has written a Xamarin Forms app, which immediately crashes when launched on 32bit devices from the iTunes App Store or TestFlight. 
This crash does not occur on 64bit devices, in a simulator, or when debugging on a physical 32bit device from XS/VS.

Reviewing the IPA bundle after being build, the mscorlib.dll is present as described in:
https://developer.xamarin.com/guides/ios/troubleshooting/questions/error-mscorlib-not-found/



Repo:
This issue can only be reproduced by downloading the application to a device. As such, no sample project is available.
-Visit the iTunes App Store and download "PSAIT" from Johnson Controls, Inc
https://itunes.apple.com/us/app/psait/id1119593391
-Launch the app from either the store or app icon on the home screen using a 32bit iOS device running iOS 9.x

Error:
-No crashlog is generated
-Attaching the device and viewing the Xcode console shows:
Aug 30 16:50:14 DEVICE-NAME PSAITiOS[328] <Warning>: Found new TLS offset at 176
Aug 30 16:50:14 DEVICE-NAME PSAITiOS[328] <Warning>: The assembly mscorlib.dll was not found or could not be loaded.
Aug 30 16:50:14 DEVICE-NAME PSAITiOS[328] <Warning>: It should have been installed in the `/Users/builder/data/lanes/3412/3cf8aaed/source/maccore/builds/install/target7/lib/mono/2.1/mscorlib.dll' directory.
Aug 30 16:50:14 DEVICE-NAME com.apple.xpc.launchd[1] (UIKitApplication:com.jci.psaitapp[0x1dce][328]) <Warning>: Service exited with abnormal code: 1

Versions:
iOS Version 9.3.5 / 9.3.4 / 9.3.3 

=== Xamarin Studio Enterprise ===

Version 6.0.2 (build 73)
Installation UUID: 6adab41f-2072-45bc-a283-e9cd147739d9
Runtime:
	Mono 4.4.2 (mono-4.4.0-branch-c7sr1/f72fe45) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 404020011

=== Xamarin.Profiler ===

Version: 0.33.2
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 7.3.1 (10188.1)
Build 7D1014

=== Xamarin.Mac ===

Not Installed

=== Xamarin.Android ===

Version: 6.1.2.21 (Xamarin Enterprise)
Android SDK: /Users/coee/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3 (API level 15)
		4.4   (API level 19)
		6.0   (API level 23)

SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23.0.1

Java SDK: /usr
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Version: 0.6.5
Location: /Applications/Xamarin Android Player.app

=== Xamarin.iOS ===

Version: 9.8.2.22 (Xamarin Enterprise)
Hash: f37444a
Branch: cycle7-sr1
Build date: 2016-07-28 12:17:02-0400

=== Build Information ===

Release ID: 600020073
Git revision: a6f7a24a9723a2d4f5d33c176615b0d44703ab5b
Build date: 2016-07-26 13:36:15-04
Xamarin addins: f5acb37866a0141bc5ddbe95118f18dae4014568
Build lane: monodevelop-lion-cycle7-sr1

=== Operating System ===

Mac OS X 10.11.6
Darwin CoEEs-MacBook-Air.local 15.6.0 Darwin Kernel Version 15.6.0
    Thu Jun 23 18:25:34 PDT 2016
    root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

NuGet Package Management Extensions 0.11
Comment 2 Alex Soto [MSFT] 2016-12-23 06:06:13 UTC
Is this still an issue? I could not find the app listed in the AppStore maybe it is not available on the Mex Appstore
Comment 3 Vincent Dondain [MSFT] 2017-01-23 22:26:16 UTC
Hi,

I can find the app on the US App Store (iPad only) however I do not possess a 32bit only iPad. I asked the team if they can reproduce (cc Gouri).

In the meantime to be able to properly assist we will need a bit more than just the App Store app:

- Could we have the original IPA?
- A test case, small project to try to reproduce would be amazing.
- Can we try what Brendan suggested wrt Test Cloud?

I'm give this bug one more month so we can gather more info from the customer but with only the app on the App Store it's gonna be tricky for us to troubleshoot the issue.
Comment 4 Davy Hubrecht 2017-02-22 14:50:13 UTC
We have the same problem with our app. Crashes on 32 bit iOS devices when installed from the App Store, with the same error in the console (mscorlib.dll was not found).

Here is the iTunes link:
https://itunes.apple.com/be/app/pronto-my-brokers-tips-tools/id1179711342

I'll check if we can provide the ipa.
Comment 5 Alex Soto [MSFT] 2017-03-26 15:39:33 UTC
Hello Davy, is this still an issue?
Comment 6 Manuel de la Peña [MSFT] 2017-05-03 15:12:48 UTC
@Davy any information regarding the issue? Can it be closed?
Comment 7 Timothy Risi 2017-06-05 16:40:29 UTC
 We have not received the requested information. If you are still 
 experiencing this issue please provide all the requested information 
 and re-open the bug report. Thanks!
Comment 8 Timothy Risi 2017-06-05 16:40:54 UTC
Forgot to change the status