I am trying to develop a MAUI application for iOS & Android with Razor Class Library.
While trying to Pair my Mac with Visual Studio I face issue. In log I get below errors
Xamarin.Messaging.Integration.State.IOSServerStateContextExtensions Error: 0 : An error occurred while trying to get the current Xcode location in the connected Mac
Xamarin.VisualStudio.IOS.Messaging.MacOsxVersionValidator Warning: 0 : An unexpected error occurred while trying to get environment information for the connected Mac
When I try to connect without opening any .sln file, I could pair the Mac without any issue. With any project open, I face issue.
Kindly help to resolve the issue.
Please try to clear the XMA cache on the Mac. You can refer to this thread for more details.
Related
I am getting the following error when trying to create a Mobile App Project or Mobile Module Project:
An error has occurred. See error log for more details.
java.lang.NullPointerException
All enviroment variables are well defined and working (Android's and Java's). I can work on Android studio with no problem whatsoever.
I redefined all enviroment variables multiple times just in case, and reinstalled Appcelerator also a number of times.
Running Appcelerator on Windows
Any ideas on how to solve this?
Thank you very much in advanced.
I want to port my ios app to windows desktop app using winobjc.
I imported my xcode project using vsimporter.exe, and tried to build it.
But it displays error" 'MobileCoreServices/MobileCoreServices.h' file not found".
How to fix it?
I am trying to build a simple app using Apache cordova. Things went well for android. However when I try to add the wp8 platform on my win 8 notebook, It show the following error:
Creating Cordova-WP8 Project:
App Name : abc
Namespace : com.sample.abc
Path : C:\Development\abc\platforms\wp8
CREATE SUCCESS : C:\Development\abc\platforms\wp8
ERROR: Could not find 'create.js' in 'bin' folder, aborting..
Could someone please point out what I am doing wrong!
Thanks
Check and see if you have all the system requirement to add and build cordova project
http://cordova.apache.org/docs/en/2.4.0/guide_getting-started_windows-phone-8_index.md.html
Sometime if the proper sdk set up is not present this error may occur.It happened in my case.
I've installed Appcelerator Titanium Studio on a PC and I was not able to run the android simulator on it, so I was saying to myself "it should work on Mac at least"... and I installed a new Mac with Titanium on it, downloaded the SDK, then I imported the Kitchen Sink example and configured the run configuration with the default settings... and I'm getting exactly the same problem which is an infinite loop with the 'audio_flinged died' problem! So the best I can do is to view the Android simulator with the black window and "Android..." written on it.
What can I do to finally launch that example that is supposed to run? The best I did with my Windows 7 setup was to get the screen of an android cellphone WITHOUT any app on it (default apps), so it's pretty unuseful.
I'd really like to see what Titanium is capable to do.
The Mac ends (after a few mins) with "Launching New_configuration" has encountered a problem. Session initialization failed. "Session initialization failed Failed to get version"
The problem of the infinite loop with "AudioFlinger" still persist in the two cases (PC/Mac).
Any help would be greatly appreciated.
I helped someone with a similar question. He was getting a error which you don't seem to be but my answer walked him through checking the configuration was ok etc.
might help you:
Error running Android emulator from Titanium Studio
I am developing a iphone application. It is working fine on iPhone Simulator 4.0 but when I test it on my iPod (My iPod has latest version 4.0) then I get the error :
Couldn't register com.myApp with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger.Program received signal: “SIGABRT”.
& hang the application.
Please suggest me any idea how I resolve it?
Thanks
Try restarting Xcode and/or your Mac/iOS device. This usually fixes errors like this for me.