-
Notifications
You must be signed in to change notification settings - Fork 518
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
Error MT4109: Failed to compile the generated registrar code. #15951
Comments
Happens to me to :-( |
The same error happens to me too. Is there a release date for Xamarin iOS 16 or a schedule (one week, two week, 3 days, 1 month)? |
Got the same error here too. I have the exact same versions as @idzikovski. |
Oh man. Every major update you have to fear destroyment of your development environment. My Xamarin Forms Apps are affected by the bug Shell TitleView Not Working in iOS 16 [Bug] #15512 on iOS 16 now. To investigate the problem I updated MacOS to v12.6 Monterey, afterwards Xcode to v14.0, then Visual Studio 2022 to v17.3.3 and Xamarion iOS to v15.12.0.2 Now the iOS Simulators are not visible in Visual Studio anymore and I get these two errors when trying to start my project on an local iPhone: Error MT4109: Failed to compile the generated registrar code. Error HE0004: Could not load the framework 'DVTITunesSoftwareServiceFoundation' (path: /Applications/Xcode.app/Contents/SharedFrameworks/DVTITunesSoftwareServiceFoundation.framework/DVTITunesSoftwareServiceFoundation) |
The same error |
Same error here |
Same here. Does anyone have a workaround, even if it's painful? Or are we screwed if XCode is updated? |
I uninstalled XCode from the Mac, downloaded the previous version and installed that. My simulators are back in VS but not had time to test on a physical device yet but so far signs are good. |
@idzikovski You can download an automated build of Xamarin.iOS that will work with Xcode 14. On this page: #15581 See the first comment by dalexsoto. The package name will look something like xamarin.ios-15.99.0.464.pkg when you download it. I'm using Xamarin.iOS from the current top change there locally (9a839d6) and seems OK for me. @MrtnSys I would try the custom renderer I posted on that issue for TitleView. I've had it in production for a while now, and it seems OK so far (no crashes that point to it or anything, and no users have complained). I wouldn't expect a fix in Xamarin Forms soon, though hopefully I'm wrong (I agree that should be a critical issue.. because it's also broken in iOS 16 if you built using old tools). |
If you downgrade, double check this settings: |
I uninstalled Xcode 14.0 and rolled back to the previous version. You can find it here: Wont upgrade to 14.0 until I know it's working for everyone else lol |
It worked for me!! iOS simulator is shown, but I still have the same error if I want to deploy to the physical device... |
Hello, Xcode 14 was released yesterday, we are still ironing out some issues. Please refer to #15954 for additional steps. Thanks a lot for opening this issue. I'll lock it down to avoid confusion and be redirected to the one above. |
My Xamarin.iOS application fails to build after an automatic Xcode update. This issue seems to be the same as these two: #7049 and #7047. Is there a Xamarin.iOS preview version available already that would allow me to be able to build Xamarin.iOS applications?
Steps to Reproduce
Expected Behavior
Xamarin.iOS Application builds successfully.
Actual Behavior
The build fails with
Error MT4109: Failed to compile the generated registrar code.
Environment
Version information
The text was updated successfully, but these errors were encountered: