I am trying to run an iOS iPad app from Xamarin Studio to an iPad that I have connected.
The project builds but when its deployed to the device and the iPad attempts to load it, I get the alert message "Trial. Trial executable has expired (24 hours limit)". I have been deploying to iPad's to test my project for a couple of weeks now so I can't see why this error is occuring.
How can I run to a device successfully from Xamarin Studio?
I have tried unplugging/reconnecting the device. Closing/restarting Xamarin Studio. Even trie restarting my Mac and loading the projects up from scratch. No luck.
I am trying to build/run in Release.
Debug doesn't build it says "The specified provisioning profile "xxxxxxx" could not be found".
And Ad-Hoc doesn't build it says "Project bundle ID 'xxxx' does not match specified provisioning profile 'xxxx'"
Edit: Version details
Xamarin Studio
Version 4.0.12 (build 3)
Installation UUID: xxxx
Runtime:
Mono 3.2.0 ((no/7c7fcc7)
GTK 2.24.20
GTK# (2.12.0.0)
Package version: 302000000
Edit: Xamarin.iOS Version Details:
Xamarin.iOS. Version: 6.4.5.0 (trial Edition), Hash: 1336a36, Branch: , Build Date: 2013-10-09 11:14:45-0400
Can you try to clean & rebuild your project? Also check that the (system) date on the device and machine are correct.
Related
I need a help about Xamarin in Visual Studio for Mac.
I installed Visual Studio for Mac since Preview version. First time I had installed it, I tried to deploy simple app to my device. I have no problem about deploying Xamarin App to my iPhone dan iPad. I forget the last time I deployed my iOS app, but I never have problem about provisioning profiles.
Today, I made an app and had successfully built. But when I want to deploy to my iPhone, I got "No installed provisioning profiles match the installed iOS signing identities" error.
This is what I have in Preference
I tried to make an iOS app using Xcode and deployed to my iPhone. No problem about provisioning. I also tried open my old Xcode project, deployed it to my iPhone and still no problem.
If there is no error about provisioning in Xcode, but why there is a problem in Visual Studio for Mac?
My Visual Studio for Mac is 7.0.1 (Build 24), the latest version in Stable channel
This is link of the same problem I raised in Visual Studio Developer support portal.
https://developercommunity.visualstudio.com/content/problem/61875/visual-studio-2017-cordova-ios-debug-on-local-devi.html
I am trying to debug cordova app in iPhone 5s local device connected to my laptop.
visual studio 2017 cordova 7.0.1 xcode 8.3.1 ios 10.2.1
After build it is failing at deployment.
build successful but failing to deploy to IOS device.
it is bringing up itunes and then shows the app there and device is identified but says error occured continue or not? and fails.
Earlier I deployed and several times debugged directly with local device.
one error result states, version mismatch other says device may not be connected and awake.
I am using ipod 9.3 version ios and another one iphone 5s with 10.2.1 ios.
I am building apache cordova app in visual studio 2017 with macincloud remotebuild.
how to resolve this!? any hint is a big help!!
I am manually deploying but can't debug. now,
i am getting network error at xmlhttprequest in device and but same code working fine in simulator.
when press device button then and i restart app then it is dumping a big error message and showing exitapp though i am not using any of that plugin or code line.
how to debug on device is first priority which may help to resolve rest.
1>Time Elapsed 00:05:02.04 2>------ Deploy started: Project: BlankCordovaApp2, Configuration: Debug iOS ------ 2>Found iTunes version: 12.3.2.35 2>Uninstalling app ID: COM.appanem.appanem. 2>Successfully installed .ipa file: C:\Users\Ekambarrao\documents\visual studio 2017\Projects\BlankCordovaApp2\BlankCordovaApp2\bin\iOS\Debug\appanem.ipa. 2>Starting idevicedebugserverproxy.exe at port 3000. 2>Cannot find the app installed on the device. Check that the device is connected, awake, and unlocked. 2>Starting ios_webkit_debug_proxy.exe at port 9221. 2>Deployment failed.
Is everybody happily working with this latest releases of Cordova IOS xcode vs 2017 or everybody facing the same problem as I am?
Issue is resolved, I am able to debug after I built my own VM of IOS and then debug but not sure what really resolved this.
What I can make out is,
unlike earlier, (not sure correct or wrong because this I could not do when I was using macincloud),
now the provisional profile need to be tagged to even device for debugging which was earlier sufficient to just list the device uuid in store certificates and profiles section.
Trying to compile an iOS Build shows the following error message:
Could not find 'Xamarin.iOS'
The setting "Deployment Target" on the page "iOS Application" shows this message:
Unable to retrieve iOS SDK information from Xamarin Mac Agent server.
The setting "iOS Bundle Signing" in the project properties shows the following message:
Failed to obtain Profile information from the build server.
Please, check the connectivity with the Mac build host
Visual Studio is successfully connected to a Mac with XCode 8.1. The Xamarin Mac Agent on Windows shows the Mac with a valid "chain" symbol. The "Device Log" on Windows shows all messages from an iPad connected to the Mac, so the connection to the Mac works.
Rebooting all systems had no effect.
Creating an iPad App with Xcode alone works flawless, it runs perfectly on the iPad using the provisioning profile from Xcode.
Version information:
Windows 10.0.10586
macOS 10.12.1
Visual Studio Community 2015 (Windows) Version 14.0.25431.01 Update 3
Xamarin Studio Community (Mac) Version 6.1.2 (build 44)
XCode 8.1 (8B62)
I have few error when i building iOS APP with Visual Studio installed on my PC.
Everyone is in the Properties APP:
*SDK version is empty and i can't choose anything.
*Deployment target is empty and i see error: Unable to retrive iOS SDK information form XamarinMac Agent server.
*in Bundle: Failed to obtain Profile Information from the build server.
I try to build application on iPhone 4 IOS 7.1 and building process stoping one :Launching 'App' on 'iPhome'... and anything happening.
Any idea whats going wrong?
I'm trying to build a blank cordova application into my iPad Air 2 with Visual Studio 2015 Enterprise edition as i've already done it with success with the release candidate version.
I've got node.js v 4.2.2 on both machines since version 5.2.0 was hanging the build indefinitely, i've also got latest version of iTunes (12.3.1) as well as iOS 9.2 on the mobile device.
I've got the remote MAC set up and everything works fine for the building part, infact i've checked and the .ipa file is there at the end of the build into the folder ...\Documents\Visual Studio 2015\Projects\BlankCordovaApp1\BlankCordovaApp1\bin\iOS\Debug and if i launch that it will correctly install into iTunes and the iPad itself.
The problem is that the build action with Configuration "iOS" and "Local Device" with the iPad connected to the windows 7 PC will hang indefinitely after copying back said .ipa file after writing this line into the Build Output:
2>------ Deploy started: Project: BlankCordovaApp1, Configuration: Debug iOS ------
No matter how much time i wait it wont start the debug session even if i authorized the pc onto the iPad and have my web Inspector turned on onto the safari options. At this point i have to interrupt the build to be able to work again.
What really gets me is that if i connect the iPad to the MAC machine and build with "Remote Device" option the build works fine and i can debug remotely from my windows pc, unfortunately working like that isn't an option since the Apple machine isn't in the same room of my developing machine.
Any insight about this issue would be really appreciate, thanks in advance.
You are using a recent version of node and thus will also need to use a recent version of Cordova.
Specifically, you need to use Cordova 5.3.3 to be able to use Node.js 4.x.x+. The hang you are experiencing is exactly why. It's an incompatibility with a down stream node module and Node 4.x.x. You can downgrade to Node 0.12.x or upgrade your Cordova project to 5.3.3.
http://cordova.apache.org/news/2015/09/22/tools-release.html
Note that Node 5.x.x is only supported in Cordova 5.4.1.
This should be addressed in the latest VS Tools for Cordova Update 6. Deploying to local device is now available.
Take a look at http://microsoft.github.io/vstacoblog/2016/02/04/announcing-update-6.html.