I'm working with MvvmCross beta 2 and VS2013. When I want to run the application I get an error "device not selected". The problem is that in the Tool Bar there are not device to choose but the IOS Host server is connected.
Please any idea how can I solve this problem ????
Related
I am trying to run my Xamarin app in debug mode on an iPhone 11. But I'm getting a "cannot be accessed" error.
And when I attempt to open the simulator I get the following error.
I've upgraded to the latest version of Rider (2020.2.3) but I'm still getting the issue. Why can't I run my app on iPhone?
You need to install additional XCode components—likely because of a recent MacOS update. Do the following:
Open XCode
Click "Install" when prompted
Once the components have been installed, you should be able to run your app on an iPhone.
I had the same issue, but nothing was updated on my machine. I ended up rebooting my iPhone, which fixed the problem for me.
I am trying to debug a Xamarin application on my iPhone which is connected to my Windows machine but Visual Studio does not display my iPhone in the options list. It displays an option named "Device" and when I click debug choosing it, "please select a valid device" warning appears.
From the image shown on https://developer.xamarin.com/guides/ios/deployment,_testing,_and_metrics/debugging_in_xamarin_ios/, it seems like Xamarin supports debugging on an iPhone connected to the Windows machine (it shows "Amy's iPhone 6" on the list) but I can't have VS list my device. What can be the problem?
As of now, you can not compile or deploy apps for iOS on Windows. Your Windows machine where you develop the Xamarin app on needs to be connected to a MacOS device. When you hit Debug the iOS compiler on MacOS will compile the code and create the app package. Your iPhone needs to be connected there as well. See here for more info on that.
https://developer.xamarin.com/guides/ios/getting_started/installation/windows/
Apple does not allow to build apps for their platforms on other operating systems. So even if this would technically be possible, you will always need a MacOS for this.
I am having an issue with debugging my iOS application. When I try and run it on iOS9 it comes back with the following log:
Connected to: iPhone 5 warning MT1003: Could not kill the
application 'com.<....>'. You may have to kill the
application manually.
warning MT1108: Could not find developer tools
for this 9.0 (13A344) device. Please ensure you are using a compatible
Xcode version and then connect this device to Xcode to install the
development support files.
error MT1007: Failed to launch the
application 'com.<....>' on the device
'iPhone 5': Look for earlier warnings returned: 0x454. You can still
launch the application manually by tapping on it.
I believe this is related to few other things online:
https://forums.xamarin.com/discussion/15886/getting-compile-time-error-mt1007
Warning MT1108 after ios update
Xcode 7 with iOS 9 device Error: device unavailable (Could not find a developer disk image) ?
My guess to solving this would have been to simply download Xcode 7 ( I am running Xcode 6.4 at the moment). However I am slightly hesitant because Xamarin's website suggests differently?
To ensure your existing Xamarin.iOS apps run smoothly on iOS 9,
download the latest Xamarin.iOS release (8.10.3.2) from our Stable
channel (or if you have the previously released 8.10.1.74 that will
also work) (release info) then re-build and re-deploy your apps using
Xcode 6 on OS X Yosemite.
This will allow your existing apps to run in iOS 9 previews, and be
ready for the public release of iOS 9.
Obviously, my app does install and normally on the iOS9 device. However I can't debug which makes development not ideal...
I have the latest Xamarin updates and I am running on OSX 10.10.4
All help would be greatly appreciated.
If you want to just simply rebuild your app so it runs on iOS 9 (but build against iOS 8 SDK) then you can ignore the warning and tap the app to launch it and connect the debugger and continue from there (as it mentions).
If you're looking to use the new iOS 9 APIs in your application, then you'll need to get Xcode 7 installed.
I am new to Xamarin and i am trying to the sample app "XamarinStone". I can see the emulator is launching, but the application is not loading.
I kept at the same state for 1 hour, but still no hope.
I tried with Visual Studio 2012, but I am facing the same issue.
i installed all the necessary applications as per Xamarin Installer. What else I would need to do?
Can anyone help me to troubleshoot the issue.
Thanks!!
Could you please confirm that you've setup Xamarin latest version in both Windows & Mac PC?
And as per below screenshot of Visual Studio, you see list of iPhone Simulators?
And as per the second highlighted image "Show iOS Simulator" button, when you click on that image, it invokes iOS simulator on your MAC?
Recently I downloaded the Xcode update, and tried my app on the iOS 7 simulator, and had to change a few things as expected. I noticed that the update uninstalled the iOS 6 simulator, so I downloaded it again and the 6.1 sim runs fine it seems, until I pressed run in Xcode. It gave me an alert box simply saying "iOS simulator failed to instal the application" with an OK button. the iOS sim was on the home screen with the old version of my app before i started working on it today. Has anybody else had this problem? It didn't give me any other details. Also my deployment target os is 6.1 and pressing build results in a success.
Found another post that says you have to change the "Opens in" bit to Xcode 4.6 in nibs and storyboards. fixed my problem.