Unable to upload Xamarin.ios solution to TestFlight cause of following error: - visual-studio

We have an update scheduled for our iOS app which needs to be uploaded to TestFlight first. Hovever, just out of nowhere, the following error keeps preventing Visual Studio from uploading the solution to TestFlight:
This is a screenshot of the error
I am relatively new to this and have no clue where to look in VS. And I've already been searching everywhere online..
Some extra info:
Visual Studio for Mac (latest version)
macOS Big Sur (11.2.3 - latest)
I do believe this might have something to do with the implementation of Firebase into my app. But being a relative newbie, I'm also not entirely sure where to look..
I'd love to hear from anyone with a solution!!

I found the answer!
For some reason all I had to do was get rid of the old xCode version I had and download the latest from apple's website rather than the app store...

Related

Visual Studio for Mac, Xamarin iOS Publishing Failed popup

I am trying to publish a Xamarin iOS app from Visual Studio for Mac. (ver. 17.0.2). Xcode ver. 13.4.1 . I have the app set up correctly (I think) in App Store Connect. The app is just for iPhone and iPad.
I am getting the following results. It is a picture in VS for Mac so I cannot copy and paste the text into an xml file.
Can anyone tell me what the issue is with my Publish and how to fix it?
You can try to increase the CFBundleVersion(build number) in your Info.plist like below and try to publish again.
<key>CFBundleVersion</key>
<string>2.0</string>
The error looks like an authentication error.
Did you try the same credentials you are using to push your app in https://appleid.apple.com/ ?
If they are still valid, you might just need to sign out and back into XCode / Visual studio for Mac with you valid apple identifier.
(Edited - Added my comment to this answer as it had additional value)
If the credentials works, try uploading the same package using Apple's Transporter application (apps.apple.com/ca/app/transporter/id1450874784?mt=12). It accomplishes the same thing, however the error messages are clearer and more verbose. Hopefully this will help pinpoint the real issue

Can not debug on simulator or device anymore

I was able to debug my Xamarin.iOS app on my physical device and simulators just fine until this morning. I think it has something to do with the recent iOS update. When I try to deploy to my physical device (iPad) I get this message now:
error HE0003: Could not load the framework 'IBFoundation' (path:
/Applications/Xcode.app/Contents/Frameworks/IBFoundation.framework/IBFoundation):
not found.
And I can't deploy on any simulator anymore, I get this message
Lower the deployment target to see older simulators or check you Apple
SDK path
I didn't have these problems yesterday and I've been working on my app for months without this problem. I updated Visual Studio, Xcode, and my Mac, but these problems still persist. Any idea how to fix?
It is a known issue that you can follow here: https://github.com/xamarin/xamarin-macios/issues/12778
Also there are few workarounds that work mentioned in the issue.

How do I fix this command prompt error regarding these error messages?

So I already have these installed. I had Android Studio 4.2.0 but deleted it and got 4.1.0 to fit the circumstances. Now, it's telling me to get 4.0 and 4.1, which is confusing me a lot. I have Flutter and Dart installed, so I don't understand where I went wrong. s
I think your previous version of Android Studio isn't deleted properly. Try deleting its caches too. And I don't think these dart and flutter plugins installation is required for you as you are using visual studio code.
Try running a sample project and see if it runs or not.
Happy Coding

Visual Studio 2019 for Mac can not build Xamarin Forms project

New to mac programming, but I've not found anything, not a single thing about the problem I have and I really need your help.
I've created a Xamarin Forms project on my PC (Windows 10, latest VS + latest VS tooling) and I've been developing an app there for both iOS and Anroid. I've been testing it on Anroid and everything works.
Now when I'm trying to build the iOS project on my mac with latest VS and Mono i get the following error:
/Library/Frameworks/Mono.framework/Versions/6.0.0/lib/mono/xbuild/Current/Microsoft.Common.props(3,3): Error MSB4019: The imported project "/Users/michael/Desktop/Dev/Suborghttps:/github.com/meJevin/PVWeather/LRadio/LRadio/LRadio/obj/LRadio.csproj.*.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. (MSB4019) (LRadio)
I have no idea what it means and can't find anything in the internet. Help would be really appreciated. Thanks
After restarting my iPhone and my Mac a couple of times, as well as cleaning all the caches and stuff the problem seems to be gone.
Although you have now solved it, I suspect the cause was the : in the folder name in the path (Suborghttps:), as this seems to confuse the Microsoft compiler, perhaps due to the meaning of colon on Microsoft operating system file systems.

Visual studio for mac not building

When I build my project in debug mode it builds forever. However there is no problem building in release mode.
This problem first occurred when I updated visual studio for mac to the newest version:
Preview 6 (7.0 build 2740).
This is what my debug settings look like:
Any ideas are much appreciated.
Check for xamarin.forms updates in both in the ios and xamarin project. It could be that theese are not updated even though the solution is updated.
Xamarin.forms package under the iOS project might have an older version
I cannot really help you because I don't know what type of project you tried to run or which OS X you are working with.
If such an Error occurs, always check your code or try restarting your mac.
Tip: "Visual Studio for Mac Preview" is still in its Alpha. Use the Stable Update channel to avoid errors like this.

Resources