Monotouch AMDeviceInstallApplication returned: 0xe8008018 - ios

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.

Related

Visual Studio 2015 / Xamarin, Debug not working: an error occurred while executing MTouch

I'm trying to get an answer on here before uninstalling this software and developing straight on Mac after spending 4 hours trying to figure this out. I just installed all these programs on both machines (VS15/Xamarin on Windows 10, Xcode/Xamarin on iMac, both on the same network). Mac Agent is connected, I have a Developer account on XCode, a device linked to my account, everything looks fine.
When I create a basic app (I don't even add a line of code, just a blank single view app) on XCode (iMac) and launch the simulator, it works just fine. I get the view of the device etc... When I do the same on my Windows machine, I can't debug. I get the error "The app could not be launched on 'iPhone SE iOS 10.2'. An error occurred while executing MTouch."
I looked all over the place searching for a solution. I removed the Entitlements.plist file, I also checked for updates on everything (as some suggested on StackOverflow). Nothing.
So I tried an Android app to see if that works and no issue there. I get the device I pick, shows a black screen because the app is empty, as expected.
If anyone can guide me before I uninstall this whole thing and code directly on a Mac, it would be greatly appreciated. Thank you!
Restarting Visual Studio and cleaning iOS project worked for me.

The encryption information is unavailable. Try again. TestFlight

The app is uploaded without errors, but when I press the install button I get this message:
I'm using macOS Sierra 10.12 and Xcode 8.
This has never happened to me in old versions of Xcode. What could be wrong?
TestFlight is currently unavailable, i can't either install from TestFlight or see any of my builds in Itunes Connect. Also my app was in processing for 4 hours, then this happened.
Please check here https://developer.apple.com/system-status/
or this screenshot
Update: Confirmed by Apple
I had the same issue. I never had an issue with setting or not setting the encryption flag. So I thought maybe they made a change today. So I added the key in and it still didn't work. I decided to remove the last build from testing then re-added it. That worked for me. I was immediately able to download and install the app. Hope that helps.
Build another version and upload to Itunes Connect.
Maybe your time uploading have some problem from Apple Server.
I have just checked.
Seems to be working for me this morning now. Incidentally Brad my app had GPUImage embedded in it so just for giggles I also added the "App Uses Non-Exempt Encryption." switch to the embedded GPUImage plist. Not sure if that was relevant.

Can't compile iOS-App in Ad-Hoc mode (Xamarin.iOS)

So basically I'm following this official Xamarin guide to release my app in the AppStore.
However no matter what I try (changing signing profiles, different build options) the solution-process crashes every time after 1-2 minutes with different errors that don't explain what exactly went wrong (signing error, user aborted?!, etc.).
After the error is shown I always have to reconnect to the Mac.
What could be the problem?
EDIT:
Tool exited with code: 1. Output: CSSM_SignData returned: 800108E6
/Users/metadokentwicklung/Library/Caches/Xamarin/mtbs/builds/mWIDAS_iOS/806c20450998d745a5c8df0e4928100f/bin/iPhone/Ad-Hoc/mWIDAS_iOS.app:
errSecInternalComponent mWIDAS_iOS
I tried the publish profiles (Ad-Hoc,AppStore,automatic) and provisioning profile.
Okay solved the problem myself a few days ago. Dumb mistake on my behlaf.
I use the same monitor for the Mac Mini and the Windows PC so I didn't see the popup on the Mac prompting me to accept the use of the keyfile.
After I agreed to it everything worked like a charm.
I resolved this issue by:
Cleaning my solution
Closing VS4Mac
Shut down Macbook Pro
Start Macbook Pro
Reopen my solution
Build iOS head project (I am working in Xamarin.Forms)
And it built successfully this time. I am noticing lots of issues from Windows VS are creeping into VS4Mac by each update. Not sure why this was happening but that resolved my issue

Internal API error

Since few days, every time I try to run my app on my iPhone, I get get this error message "There was an internal API error".
I'm getting this error just with one application only on my iPhone. In fact, there's no problem with the same app on simulator or on my iPad. No problem too with other apps on my iPhone...
I've tried many things mentioned in those threads:
"There was an internal API error." while running an app on any iPhone/iPod-touch device
Xcode 4.4 - There was an internal API error
like remove/re-run the app, reboot iPhone/mac, clear cache, check plist, check profiles, check build settings, restore iPhone.
I'm using xCode 7.1.1 and iOS 7.1.2
Can someone point me on what I forget to check please ?
As per my work and research I got a solution. Since I was preparing the build in manual way from product. In that case my appname.app was copying in folder from which I have to create a build, that app was not copied properly and I prepared the build and installed in my device, in that case I got this error.
I again clean the Xcode prepare the build properly and installed it, it works.
When I rename my project and delete the special character "ç", xCode success to run the app on my iPhone. It might be related to xCode 7, before there was no problem for compiling.
I also had this problem. The way I solved it was by removing the special characters from the Product Name (in Build Settings) - I had an 'æ'. Indeed, it looks related to Xcode 7, because it used to work on previous versions of Xcode.

Newest version of Forge v1.4.49 windows IOS app crashes

With the newest version of forge v1.4.49 when I try and test my IOS app from my windows comp the app installs but when I open it crashes.
I also tested using testFlight and get the same error. ( I get no error message as the console does not work in windows for debug, it just opens and then closes when I try and run the app )
I put the version back to version 1.4.48 and it works fine so I'm guessing it is something introduced in the newest version.
Thanks
Update: This is due to cross-platform line ending issues in the Python standard library: we deployed a fix on 18th July '13 which will fix all deployed platform versions.
Original answer:
The only iOS change that went into v1.4.49 was reading app entitlements information from your provisioning profile, rather than inferring it from active modules.
I'd recommend using the iPhone configuration utility to get the console output off the device: you may see a message about incorrect entitlements.
If the particular message doesn't help clear this up for you, get in touch at support#trigger.io, with your IPA and provisioning profile for us to check over.

Resources