16,604 questions
0
votes
0
answers
61
views
.NET iOS: App sporadically crashes after NFC read when returning a large struct (Data). Changing it to a class fixes it — why?
Platform / Build
.NET 9 (net9.0-ios) – Xamarin/.NET for iOS
iOS 15/18 (device)
AOT + UseInterpreter=true
TrimMode=partial in Release
App uses CoreNFC (ISO7816) to read a meter, then decodes frames ...
0
votes
1
answer
70
views
Xamarin iOS app with an extension project built on Windows VS 2022 fails signing the extension app
I have a Xamarin iOS app with an extension project (for receiving push notification) that I'm trying to upload to appstoreconnect, I'm getting invalid signature for the extension.
Visual studio 2022 ...
1
vote
1
answer
119
views
Cannot Pair Visual Studio on Windows with Mac via SSH for Xamarin/iOS Build
I'm trying to pair Visual Studio 2022 (Windows) with a Mac for building a .NET MAUI or Xamarin.iOS project.
I have full terminal access on the Mac, and I've already enabled Remote Login (SSH) on it.
I ...
0
votes
0
answers
80
views
HE0004: Could not load the framework 'IDEDistribution'
I am experiencing a problem while debugging an iOS mobile app from Visual Studio 2022 paired to a Mac Mini with Xcode 16.4 installed.
The error message is:
HE0004: Could not load the framework '...
1
vote
3
answers
616
views
Cannot pair to Mac Visual Studio 2022 for .NET MAUI
I am trying to pair my Windows 11 computer with Mac Pro to debug and eventually publish my MAUI app for iOS. When I go to the “Pair to Mac” setting, however, I keep on receiving an error saying that I ...
0
votes
0
answers
65
views
.Net Maui - iOS Privacy Manifest
We are using the following Nuget Package "BarcodeScanner.Mobile.Maui" for Barcode scanning in our .Net Maui App.
Above nuget package already has Privacy Manifest file included but still App ...
0
votes
1
answer
336
views
ILLINK error MT2301: The linker step 'Setup' failed when compiling a MAUI app for iOS
Description:
Environment
Xcode Version: 15.2
iOS SDK Version: 17.2
.NET Version: 8.0
Target Platform: iOS
Development Machine: MacBook
Issue Description
When compiling a .NET MAUI app for iOS, I ...
0
votes
0
answers
94
views
How can I access an image shared from Files or Photos in a .NET iOS (formerly Xamarin.iOS) app?
I'm working with a .NET iOS (formerly Xamarin.iOS) app and I want to access an image shared from the Files or Photos app. I’ve tried implementing a Share Extension without a UI, but it’s not working ...
1
vote
0
answers
257
views
How to add static library(.a) in to .Net Maui iOS application
I'm trying to add static library(.a) in to .Net Maui iOS application. I use functions from native binaries via DllImport attributes. So for example:
Inside .a file contains
// add.cpp extern "C&...
0
votes
1
answer
185
views
Geocoding.GetPlacemarksAsync Exception in .NET MAUI on iPhone iOS version 18: Foundation.NSErrorException
I'm working on a .NET MAUI application to obtain the user's current location on an iPhone using Geolocation and Geocoding APIs. However, I'm facing an exception when trying to geocode the current ...
0
votes
0
answers
23
views
can not draw text in CGContext in xamarin.ios?
I am trying to draw text and get the (x,y)s of the text.
I will set the background to (R=0,B=0,G=0) and set the text Color to (R=255,G=255,B=255).
and I want to know which pixel is (R=255,G=255,B=255)....
1
vote
2
answers
3k
views
VS 2022 pair to mac - error starting broker
I succesfully connected my PC to my Macbook the first time trying using pair to mac in VS 2022 to simulate my work in IOS, then trying a couple of days later I can no longer get it to work. I've tried ...
0
votes
0
answers
66
views
Being unable to run the Xamarin project in Visual Studio for MAC
When attempting to run a Xamarin project in Visual Studio for Mac, the simulators are not appearing, and only the Generic Simulator is displayed. The Visual Studio version is 17.6.14 (build 413), and ...
1
vote
1
answer
499
views
iOS build Archive in Rider for Publishing to App Store Dotnet iOS
I am working on a Dotnet iOS app and recently we migrated to Dotnet 8 and from Visual studio Mac to Rider. But Rider doesn't show options to Archive for publish in Rider.
I try to do publish with ...
1
vote
0
answers
59
views
I was unable to successfully compile the Xamarin application
I developed a Xamarin application, paired it with a Mac, and successfully ran it on an iOS simulator.
After creating a certificate and provisioning profile and installing them on my Mac and Windows PC,...
0
votes
3
answers
883
views
Application in Xamarin Forms and it stopped working on iPhones that updated to iOS 18.0
I have an application in Xamarin Forms and it stopped working on iPhones that updated to iOS 18.0
The first time I compile the application it works normally, but if I finish it and open it again, it ...
5
votes
3
answers
3k
views
iOS Simulators not showing in Xamarin visual studio for mac after updating to Mac OS Sequoia
I recently updated my Mac to Mac OS Sequoia 15.0 and also upgraded my Xcode to 16.
I upgraded my Xamarin Visual Studio for Mac as well but after that the old error starts again of showing No ...
0
votes
0
answers
260
views
MAUI iOS - HideSoftInputOnTapped is not working issue
I have an MAUI .NET 8 project, I am facing an issue that When I click outside the custom entry when it has focus, it won't lose focus and won't hide the soft keyboard even when I Set ...
0
votes
1
answer
48
views
How to debug a DllNotFoundException thrown from an iPhone simulator or device for a native dependency?
I'm developing a .NET library that should work on Android, iOS, and desktop OSs. It works great everywhere -- except iOS. In fact on iOS I had it working for local deployment, but the Apple Store ...
0
votes
1
answer
100
views
Can't open Storyboard after migrating from Xamarin.iOS to .NET for iOS
I recently migrated my Xamarin.iOS project to .NET for iOS. Everything went fine so far. Now I'm realizing that I'm not able to work with storyboards anymore.
Before the migration I was working with ...
0
votes
1
answer
622
views
How to fix 'incomplete bitcode' error in .net-ios app?
I am using NET-iOS.Naxam.FSCalendar package in net8.0-ios app and uploading its ipa to Transporter. During verification, Transporter gives the following error:
Invalid Bundle Executable. The ...
0
votes
0
answers
30
views
Create dynamic adjust width list in xamarin forms
I want to create category list as attached images. Please provide solution how to achieve this.
As in image it is seen that there is not static column for each row. Category manage width itself.
If ...
0
votes
1
answer
55
views
Why would an ios app work with App Group (Shared Folder) in DEBUG mode, but not in RELEASE mode? Have I lost my entitlements.plist in release?
I have successfully implemented App Group shared folder in 3 apps now. One of these is almost identical to the app I am working with now. These are Xamarin.Forms apps, and I am using Visual Studio.
...
0
votes
0
answers
275
views
How do I fix this Azure Pipelines failure: Undefined symbols for architecture arm64 [Full error message included]
Up until last Wednesday my pipelines ran fine. There have been no package upgrades or .csproj file updates so it's been hard for me to pin down the reason for the pipeline issue. The error is as ...
1
vote
0
answers
181
views
.NET MAUI ApplePay + Stripe
I want to implement Apple pay payments with Stripe payment gateway in my .net MAUI mobile application, however it is extremely hard to find needed information on how to do that, expecially there is no ...
0
votes
0
answers
152
views
How do I debug iOS Background Task in MAUI (Xamarin iOS)?
My question is similar to Xamarin iOS - How to debug a background service but there is no answer there. I know there is this guide from Apple but I am not really sure how to do that from MAUI:
In the ...
0
votes
0
answers
279
views
iOS Ad-Hoc/.NET MAUI: What alternative causes might there be for iOS "This app cannot be installed because its integrity could not be verified"
We have recently migrated an application from Xamarin to MAUI. The application works fine in development environments, but in CI builds are producing Ad-Hoc .ipa files that can not be installed on ...
1
vote
3
answers
2k
views
why Xamarin App Hang on iOS 18 beta version if we use NavigationPage.SetHasNavigationBar(this, false);
Hi team I am using flyoutpage in my,App facing hang issue in iOS 18 beta version when I using this "NavigationPage.SetHasNavigationBar(this, false);"but when I remove this line from code a ...
0
votes
1
answer
128
views
Why does Xamarin iOS badge showns 1 over the icon and there is no notification?
I have a problem with iOS badge notification. It regular show the badge when a notification arrives but when there's no notification it still show the badge "1"
What is the problem and how ...
0
votes
1
answer
31
views
NotificationServiceExtention Xamarin iOS
I am trying to implement sending reports on receiving push notifications. Xamarin iOS. I implement it through NotificationServiceExtention. There was a problem that the service does not send reports, ...
1
vote
1
answer
1k
views
Will Xamarin forms application support IOS 18?
I have a Xamarin application which is live on app store and it is working perfectly fine on IOS 17 and lower versions. But when I upgraded my iPhone from IOS 17 to IOS 18 beta version. I opened my ...
0
votes
0
answers
56
views
Xamarin build error, old .NET project for iOS
Error:
/usr/local/share/dotnet/sdk/8.0.302/Microsoft.Common.CurrentVersion.targets(1248,5): error MSB3644: The reference assemblies for Xamarin.iOS,Version=v1.0 were not found. To resolve this, ...
1
vote
0
answers
763
views
I want to update Xamarin application into .NET 8
I am very new Xamarin. I have a Xamarin native application for Android and iOS. I want to update it to .NET 8 but not migrate to MAUI. Is there any way I can do this? As i got to know it support till ....
0
votes
1
answer
51
views
What is the difference between UIPickerViewDataSource and UIPickerViewModel on Xamarin
When it comes down to UIPickerView, I've always used a UIPickerViewDataSource to fill my picker view with data. Recently I've found out that there is also an option to use a UIPickerViewModel, but I ...
3
votes
0
answers
83
views
What is the Reason for "Error updating Objective-C type information" Error when attempting to open an .xib file in visual studio
I have migrated my xamarin.ios application to .net8 for iOS.
Currently we have created a new project and copied all the files from the old project to new one and we have updated all the packages and ...
3
votes
0
answers
108
views
Exception when using Dynamic Lamda expression on a list-Attempting to JIT compile method in aot only mode
Hi I am in a migration of Xamarin.Ios project to net7.0. I am using the “net7.0-ios16.1” as the target framework. When I execute the below code, I am getting the exception.
"Attempting to JIT ...
3
votes
1
answer
1k
views
How to fix .net maui actool exited with code 1 error
I'm getting the following 3 errors when I build my MAUI application to iOS simulator (no issues deploying to android simulator):
actool exited with code 1
arch exited with code 1
The operation ...
0
votes
1
answer
125
views
An attempt was made to load an assembly with an incorrect format:
I've just finished up my Xamarin.iOS app and I'm preparing it for release. I'm using VS 2022 v 17.10.2, I've spent the last few weeks debugging and testing it to make sure all is functioning as it ...
0
votes
0
answers
82
views
Is it possible to detect ethernet adapter cable when connected to iPhone using Xamarin?
I am trying programatically to detect ethernet adapter cable when connected to iPhone in Xamarin Forms but till now whatever I tried is not working on iOS device. Communication is happening between ...
0
votes
0
answers
187
views
Azure Pipeline iOS Build fails in MSBuild@1:The process '/Library/Frameworks/Mono.framework/Versions/Current/Commands/msbuild' failed with exit code 1
So I have a running Azure Devops Pipeline for my iOS build that is running fine without issues until today. I get error in MSBuild@1: Build iOS Project
##[error]Error: The process '/Library/Frameworks/...
0
votes
1
answer
103
views
Xamarin.iOS System.IO.FileNotFoundException: Could not find file [email protected]
I just completed my iOS project in VS 2022 v17.9.7 and was finishing up by adding my app icons to the asset catalog. I was able to successfully add the icons and now I get an error when I attempt to ...
0
votes
0
answers
36
views
CorePlot in Microsoft NET8-iOS
I'm migrating a Xamarin.iOS app to Microsoft net8.0-ios as Xamarin is deprecated. I use a nuget for CorePlot charting that has a reference to xamarin.ios so it's unusable in the newer project migrated ...
0
votes
1
answer
56
views
Can i delete mono.android from my xamarin.ios project?
in visual studio 2022 using xamarin i have a .sln (3 projects: my backend project, myapp.android, myapp.ios) when i build my ios app in release mode, in my folder release, i can find mono.android and ...
0
votes
1
answer
46
views
Xamarin.iOS - Need to move entire view up on text entry
I have a view that contains a UIScrollview with various UITextFields contained within the scrollview. When I tap on an UITextField to enter data, the UITextField scrolls up unter the subviews above ...
0
votes
1
answer
77
views
Visual Studio 2022 Xamarin iOS Binding Library build succeeds but dll is empty
I created an iOS Binding Library with several frameworks and implemented ApiDefinition.cs.
Building the project completes (successfully) immediately and the resulting dll is only 4kb in size.
Similar ...
0
votes
1
answer
90
views
Xamarin iOS Binding Library with Swift Protocols build fails when ApiDefinition.cs is generated with sharpie
When building an iOS Binding Library project with a Swift Protocol as a parameter for a function, or exposing one as a public field, The type or namespace name 'xxx' could not be found (are you ...
0
votes
1
answer
854
views
does Xamarin support android 14
Xamarin application does not allow to upload photo in Samsung Galaxy S23.
Even application version is also not visible.
My application is targeting android SDK API version 33 but Samsung Galaxy S23
...
0
votes
3
answers
2k
views
iOS simulators are not visible in Visual Studio MAC
I am not able to configure iOS simulators into Visual Studio 2022 MAC. I have downloaded Latest versions of Xcode (version - 15.3) and the Visual Studio MAC (version - 17.6.11). Also I am using Sonoma ...
1
vote
1
answer
33
views
ScrollView doesn't appear on ViewContooller
This is my first foray into using anchors with my constraints on the ViewController and it no doubt has issues. Right now I able to compile and run the project with no errors and the viewcontroller ...
0
votes
1
answer
445
views
Is it possible to convert a UIImage into a Microsoft.Maui.Image?
I've been unable to figure out how so far. I've tried searching for documents, tutorials and the MAUI source code but haven't yet figured this out. It seemed so much easier to do in Xamarin Forms, ...