Xamarin IOS MonoTouch (Unable to Build Successfully on any profile other than Debug in Visual Studio 2015) - ios

Hi guys I have been struggling with this error for a few days now and I could not find out what's really going on, basically it throws an error "error : Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com" i got the complete output of the build in this link
https://forums.xamarin.com/discussion/87135/error-when-building-in-ad-hoc-profile-to-be-deployed-to-itunes-connect-for-test-flight/p1?new=1
building in Debug mode and iPhoneSimulator works fine and infact can run through the App without any problems... however when I want to use Ad-Hoc so I can produce a signed App for test flight so it can be bug tested by my beta testers I can't because of that error, please note I got no experience in Objective-C and my App in concern is built on C# Mono using Xamarin for Visual Studio 2015, hope you guys can help me out thanks...

Turns out the error was caused by a file with register.cs name that caused the issue thanks to the bug helpers of Xamarin i was able to remove the issue and was able to build the IPA file, for those who will encounter this try to watch out for the class names you use on your MonoTouch Projects

Related

Xcode and Unity missing library 'lGoogleUtilities'

I am working on an App that is made with Unity and I have to build it in Xcode to get it in the App store.
Now I'm running into a problem here. I am getting this error:
library not found for -lGoogleUtilities
However, when I build the app in debug mode and test it on my iPad, there aren't any troubles. But when I try to build it for TestFlight (Toolbar -> Product -> Archive) that error occurs.
I've followed this tutorial to get it working in debug mode (because I had that error there too before)
https://youtu.be/YHHj1bZUbsc (from 6:20).
I am using the 'Google Admob', 'CloudOnce' and 'Play Services Resolver' plugins for Unity. In the debug version the error (before I fixed it in the debug version), was caused by 'Google Admob'. I feel like I am missing a framework or something in the release build.
Alright, so after another few hours of trying and searching I found out that I was actually opening the wrong file, you would think .xcodeproj would be the correct extension, but actually you have to open the .xcodeworkspace file. It compiled for me.

Appcenter application pushing error form command line

I am working on Mobile app automation in VSTS using xamarin. Code was successfully executed on the local emulator, but while pushing to the appcenter from command line i am facing error Test Chunking failed.
I tried with admin privileges also, still i face issue can i know the solution.
Are there any further information? At the moment it sounds like the same problem that appeared at the official Xamarin forums.
https://forums.xamarin.com/discussion/68616/test-chunking-failed-format-of-the-executable-exe-or-library-dll-is-invalid
For me, what did the trick was to change the target framework of the Xamarin UI tests project to .Net Framework v4.6.1 (net461).

Error debugging the IOS Extensions in Visual Studios Xamarin

The issue I am having is that I can't debug the share extension. I've tried setting break points in the share extension and they are never hit. If I attempt to debug the main app, all works as expected.
This is what I've done. Any help is appreciated!
I tried setting the share extension project as the startup project and I've tried setting multiple projects as startup and then when I run I get the following error:
In the IDE..."Launching Share Extension" and then after a few minutes the error "App has terminated"
Has anyone been successful at debugging an IOS extension using visual studios Xamarin?
As mentioned by SushiHangover, debugging iOS extensions in Visual Studio is available in 4.3.0.550 (RC) and introduced in 4.3.0.405.
As of this writing, 4.3.0.550 is available through the beta channel.
As a note, make sure that your Mac Build Agent is running on the same version.

Could not find an application at the specified director xamarin ios app

Has anyone ever come across the error
Log generated on 29/12/2014 00:12:01
Failed to deploy application on the target device. Please try to rebuild the solution and try again. (Generic)
OK
Build server returned an Error.
error MT1001: Could not find an application at the specified directory
error MT1001: Could not find an application at the specified directory
I am trying to run the ios app sample project here
I am using Visual Studio 2013 I dont have much else to go on here really
Paul
Double click on the error message in the Error Message List of Visual Studio to see details.
https://bugzilla.xamarin.com/show_bug.cgi?id=23425
Might be a problem with the Entitlements.plist

Monotouch AMDeviceInstallApplication returned: 0xe8008018

I have recently installed iOS 6 beta on my device and updated to the latest mono develop release. Since this, I now get the following error when trying to deploy to my device, "Installation failed: AMDeviceInstallApplication returned: 0xe8008018" - Could not upload to the device.
I have tried other projects and get the same error. As far as I'm aware, there is no code signing problems - all appears fine in the log. It worked fine before I installed IOS6. I don't have another device with iOS 5 to test.
Any ideas as to why I am getting this error?
Thank you.
If you are using any non-standard names for the Xcode executables, check Xamarin's blog post on how to fix it:
http://blog.xamarin.com/2012/06/15/xcode-4-5-ios-6-and-mountain-lion/
Or even better, contact support#xamarin.com
I get this message once a year when my developer certificate expires on my build machine.
Yep my Macbook Pro is from 2010.
So just look in the iOS Developer console under Certificates. If it says you do not have one then you need to go through the process to create a new one. I also look in KeyChain to see if the one in there has a red X indicating it to be expired.
I hope this helps.

Resources