-
Notifications
You must be signed in to change notification settings - Fork 516
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
MT0000 - System.IO.FileNotFoundException: Could not find file "/Users/username/TFS/MyApp/.App.iOS/obj/iPhone/Debug/device-builds/iphone8.1-14.4/mtouch-cache/arm64/.App.iOS" #10945
Comments
Very interesting, can you provide a binlog so that we can look at all the build steps. Also, can you try cleaning the solution and rebuilding? |
Tried and rebuilt several times with no success. |
I have also sent build logs to (mandel) via email on March 25, 2021 |
Any updates since sending build logs? |
Below is a drobox link with sample apps that produce the MT0000 error. You can try the BlankApp in the XamarinForms\Examples folder. https://www.dropbox.com/sh/05xahnt24e964iy/AABfLuEmOUmq9wKT-68nFNika?dl=0 If you have any questions or need more information, please feel free to contact me. |
We have been able to reproduce the issue with the current hash in main (1b6c83e) yet looking at the logs this does not seem to be an issue with our product due to the following:
Our tools fail because they try to find the path /Users/mandel/Downloads/BlackBerry_Dynamics_SDK_for_XamarinForms_v8-2/XamarinForms/Examples/BlankApp/iOS/obj/iPhone/Release/mtouch-cache/arm64/BlankApp.iOS which is removed as per point 3. The removal of the .app is not part of our build, we will never use the logs for the linker to remove the .app as it shows in the build logs
There are certain parts of the build that do worry me, does look like there are several debug prints from the company that wrote the linker, for example:
All of the above are not coming from any of our tools. All this have been tested with our current stable and the Black Berry Dynamics releases found in https://developers.blackberry.com/us/en/resources/downloads.html, the versions used are:
The builds logs of my tests are found in the following gist: https://gist.github.com/mandel-macaque/e159c0fe98b6205f04e5c455c7373cda (you will need to click view raw to view all of it due to its size). My understanding from our communications is that this stopped working when you upgraded. Was this upgrade due to upgrading Xcode to Xcode12.4? It might be the case that BlackBerry Dynamics is not working correctly with your current configuration and our tools are the ones that expose it yet are not the culprit. |
THANK YOU FOR YOUR RESPONSE AND TIME ON THE PHONE EARLIER TODAY, YOU GUYS ROCK!! I spent the rest of the day trying different versions of Xcode, Xamarin.macos and Xamarin.iOS I uninstalled Xcode 12.4 using the following script: Below are the Xamarin mac and ios Files used: I will open a ticket with BlackBerry and point them to this issue. |
@KMWenyon do we have any feedback from blackberry on this? I think we can close this issue but I'd like to confirm with you. |
@KMWenyon let us know when you hear back from blackberry. If needed we can re-open the issue, but we'd like to know in any case :) Thanks! |
Steps to Reproduce
Expected Behavior
For solution to build and deploy to iPhone without error
Actual Behavior
Solution builds with error MT0000: Unexpected error - Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
Environment
Build Logs
warning MT5203 : Native linking warning : Can't access /Users/username/TFS/MyApp/App.iOS/obj/iPhone/Debug/device-builds/iphone8.1-14.4/mtouch-cache/arm64/App.iOS
Done executing task "MTouch" -- FAILED.
Done building target "_CompileToNative" in project "App.iOS.csproj" -- FAILED.
Done building project "App.iOS.csproj" -- FAILED.
Example Project (If Possible)
The text was updated successfully, but these errors were encountered: