Visual Studio Mac Error HE0003: Application could not be uploaded to device

Stnhhl 21 Reputation points
2021-09-25T23:22:45.297+00:00

Hi,

I got an error during uploading my iOS application to my device (an iPhone 12) today:

"Application could not be uploaded to the device."

/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mlaunch -sdkroot "/Applications/Xcode.app/Contents/Developer" --installdev "/Users/.../Projects/Xamarin_2021/.../....iOS/bin/iPhone/Release....iOS.app" --device ios "--devname=iPhone" --install-progress
error HE0003: Could not load the framework 'IBFoundation' (path: /Applications/Xcode.app/Contents/Frameworks/IBFoundation.framework/IBFoundation): not found.

Application could not be uploaded to the device.

It said it can not find the IBFoundation.framework from the said directory, which I verified that indeed it did not contain that file.

This problem only started to happen after I updated Xcode to version 13.

Anyone else also encountered this problem? Thank you.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,578 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
935 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
959 questions
{count} votes

Accepted answer
  1. PengGe-MSFT 3,326 Reputation points
    2021-09-27T02:49:09.807+00:00

    Hi @Stnhhl

    Welcome to Microsoft Q&A!

    Thank you for taking time to post this issue in Microsoft Q&A forum. VS for Mac is currently not supported in the Microsoft Q&A forums, the supported products are listed over here: https://learn.microsoft.com/en-us/answers/products/ (more to be added later on).

    For the related questions about VS for Mac, you can post here: Visual Studio for Mac (VS for Mac).
    Thanks for your understanding.
    *
    Sincerely,
    Peng

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. AF Vitaly Sokolov 6 Reputation points
    2021-09-26T12:38:57.563+00:00

    Solution:

    For me, it worked after updating Xamarin.iOS to the version that supports XCode 13 from this thread - https://github.com/xamarin/xamarin-macios/issues/12778

    1 person found this answer helpful.
    0 comments No comments

  2. Paul Kelly 1 Reputation point
    2021-09-26T00:14:48.86+00:00

    yes same problem here. Do you have a fix / solution ?
    Visual Studio Community 2019 for Mac
    Version 8.10.9 (build 3)
    Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)
    Package version: 612000140
    Xamarin.iOS
    Version: 14.20.0.24 (Visual Studio Community)
    Hash: c4b89cddb
    Branch: d16-10
    Build date: 2021-06-15 22:03:01-0400

    Xcode Version 13.0 (13A233)

    0 comments No comments