Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why does xamarin suddenly not let me deploy to iOS devices

This just started happening today after I got a message from xcode to agree to new t&c's.

I can't put anything on the device, on any of my computers.

Doesn't work on my macbook, doesn't work on my mac mini, doens't work with existing projects that worked fine until yesterday, doesn't even work with completely new projects. I constantly get the message:

writeDictToFile:1241 open failed for /Users/georgecook/Desktop/test/iOS/obj/iPhone/Debug/mtouch-cache/install-shadow-directory/339bee33bc83c8e05fbd004dcc732c0b/20715d40747e047ba8a4ce4c1d2672ef90161df5/ManifestCache.plist : No such file or directory MDMCacheDirectoryManifest:1315 writeDictToFile failed to write to /Users/georgecook/Desktop/test/iOS/obj/iPhone/Debug/mtouch-cache/install-shadow-directory/339bee33bc83c8e05fbd004dcc732c0b/20715d40747e047ba8a4ce4c1d2672ef90161df5/ManifestCache.plist : No such file or directory error MT1006: Could not install the application '/Users/georgecook/Desktop/test/iOS/bin/iPhone/Debug/test.iOS.app' on the device Gandalf the white: Your application failed code-signing checks. Check your certificates, provisioning profiles, and bundle ids. Probably your device is not part of the selected provisioning profile (error: 0xe8008015).

No idea why this is suddenly happening - this is really not good - how to resolve this?

like image 292
Infrid Avatar asked Mar 28 '15 16:03

Infrid


People also ask

How do I deploy an app to an iOS device?

Install the App on User Devices For macOS, double-click the file to install and run it. To install iOS, iPadOS, tvOS, or watchOS apps using Xcode: Attach the device to the computer, or attach the paired phone for a watchOS device. Select Window > Devices and Simulators, and then select the Devices tab.

Can xamarin run on iOS?

Xamarin. iOS works with Visual Studio 2019 Community, Professional, and Enterprise editions, on a standalone or virtual machine.

Does xamarin support iPadOS?

Right now, you can use Xamarin to create apps for iOS, Android, Windows (UWP), macOS, and Samsung's Tizen. Variations of iOS and Android are also supported: Apple TV, iOS Watch, iPadOS, Android TV, Android Watch, etc.


1 Answers

I tripped over this one recently too.

The key is this part of the message:

Your application failed code-signing checks. Check your certificates, provisioning profiles, and bundle ids. Probably your device is not part of the selected provisioning profile

Likely, your provisioning profile has expired. The easiest way to solve this is to launch Xcode, create an empty project, and hit Run. This will go over a series of dialog boxes offering you to fix your provisioning profile until it deploys. Once this happens, you can switch back to Visual Studio/Xamarin Studio and deploy.

like image 171
miguel.de.icaza Avatar answered Sep 17 '22 19:09

miguel.de.icaza