question

Stnhhl-0450 avatar image
0 Votes"
Stnhhl-0450 asked AFVitalySokolov commented

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

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.

vs-generalvs-debuggingvs-setup
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Same issue here for me:

/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mlaunch -sdkroot "/Applications/Xcode.app/Contents/Developer" --installdev "/Users/vitalysokolov/Documents/Projects/Xamarin/XamariniOSBinding/AppsFlyerSampleApp/bin/iPhone/Debug/device-builds/iphone12.3-15.0/AppsFlyerSampleApp.app" --device ios "--devname=Vitaly’s iPhone" --install-progress
error HE0003: Could not load the framework 'DVTiPhoneSimulatorRemoteClient' (path: /Applications/Xcode.app/Contents/SharedFrameworks/DVTiPhoneSimulatorRemoteClient.framework/DVTiPhoneSimulatorRemoteClient): not found.

Application could not be uploaded to the device.

Visual Studio Community 2019 for Mac
Version 8.9.10 (build 4)
Installation UUID: b72c3ac5-239e-44db-94e1-0ee9090ccf2c
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)
Package version: 612000125


Apple Developer Tools
Xcode 13.0 (19234)
Build 13A233

Xamarin.iOS
Version: 14.0.0.0 (Visual Studio Community)
Hash: 7ec3751a1
Branch: xcode12
Build date: 2020-09-16 11:33:15-0400

Build Information
Release ID: 809100004
Git revision: 30612572b7defb0273729cb6b5ea5adc8bd9a147
Build date: 2021-05-13 13:06:24-04
Build branch: release-8.9
Xamarin extensions: 30612572b7defb0273729cb6b5ea5adc8bd9a147

Operating System
Mac OS X 10.16.0
Darwin 20.6.0 Darwin Kernel Version 20.6.0
Mon Aug 30 06:12:21 PDT 2021
root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64


0 Votes 0 ·
PengGe-MSFT avatar image
0 Votes"
PengGe-MSFT answered

Hi @Stnhhl-0450

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://docs.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


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PaulKelly-7677 avatar image
0 Votes"
PaulKelly-7677 answered

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)

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AFVitalySokolov avatar image
0 Votes"
AFVitalySokolov answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.