I tried to launch my project, but i got this error while compiling it on the simulator.WorkOut is the name of my project.
Couldn't register com.AE557593PG.WorkOut with the bootstrap server. Error: unknown error code.
Try making sure the app isn't running on the simulator already. Worst case scenario, quit and restart both Simulator and Xcode. That's always fixed this for me.
Related
Since quite a while, I've been trying to run an Android app for the humanoid robot Pepper on Mac OS 10.13.6. In the past, there occurred many issues when I was trying to run a virtual device in combination with the Pepper Emulator. When I tried to run the emulator with Android SDK version 30 or 29, I was always receiving an error message that there were "NO_CERTIFICATES" to permit the installation of the app. After trying the option to generate a signed bundle in Android Studio, no change was happening.
After downgrading to Android SDK version 23, it was finally possible to run the robot viewer while installing and starting the app on the virtual tablet device without any crash occurring. However the app didn't crash at this point, the following error message appeared in the log histroy:
E/qi.path.sdklayout: Cannot create directory '"/mnt/sdcard/.config/qimessaging"' error was: boost::filesystem::create_directories: Permission denied: "/mnt/sdcard/.config"
E/qi.os: Unable to create file: ''
As soon as I call the robot to execute an animation by clicking a button on the tablet interface, the app crashes and the following lines are printed to the log:
enter image description here
I thought that this error might be implied by the first error message. Therefore I tried to update the AndroidManifest.xml with this permission tag:
enter image description here
Unfortunately, this did not change anything. So I hope to receive some help from your community. Also I would be extremly happy to receive some advice from you, #dfinn. I've read that you got around several issues to run a Pepper application on your Mac, is this correct?
Thanks a lot for all your support!
The error E/qi.path.sdklayout: Cannot create directory – Permission denied has no visible consequence.
The real issue you have here is the one described in the backtrace, java.lang.IllegalStateException: Could not execute method for android:onClick.
It looks like something is wrong with an onClick callback in your Android code.
Since a few days a good working Xamarin App does not RUN on iOS anymore. On opening the splashscreen opens and than following error occurs: SpringBoard(UIKitCore)Error creating the CFMessagePort needed to communicate with PPT (Do not really know if this is the crash error)
I have tried rebuild, reinstalling, rebooting, removing splash screen.Also tried on real device and several emulators.
I set breakpoint in Main.cs, AppDelegate.cs and App.xaml.cs but these are never reached.
I use Firebase pushmessages and Analytics. I think there is the issue, but I do not know how to debug or see log?
I am getting this error in Xcode 9 beta . What does it mean? Attaching snapshot for the same.
The problem seems to be that Xcode 9 Beta does/can not close the iPhone app if it is open on the simulator when the app is built and run (which it used to do). Simply closing the app on the iPhone simulator (shift-command-h) seems to do the trick. Another option is to restart the simulator. Hopefully Apple will fix this issue soon.
So I have setup my Xbox One as a dev device and actually was able to run my app on my Xbox, but in order to use some new APIs to turn off scaling and what not I had to change my app target version to Build 14332. Unfortunately, after doing this, I am now not able to publish or debug my app to my Xbox and I am not getting very helpful clues as to why not.
I even reverted the target version back to Build 10240 but I am still getting this error:
Severity Code Description Project File Line Suppression State
Error DEP0700 : Registration of the app failed. Deployment Register
operation with target volume C: on Package
MyCompany.MyApp_1.1.19.0_x64__5wbv4ypmprn7c from:
(AppxManifest.xml) failed with error 0x80070002. See
http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
deployment issues. (0x80073cf9) MyCompany.MyApp
EDIT: I found a work around. Restart my Xbox One. Literally, every time I run my app, I have to restart my Xbox One! :(
I came across the same issue, and while restarting the console didn't help me, I did find another workaround: go to Dev Home and clicked Remove all Visual Studio pairings. I was able to deploy right after doing that.
I've ran into the really similar problem, however with running on the remote machine. The solution was the same as Pedro Pombeiro did on his Xbox One. I opened Windows Settings > Update & Security > For developers and Unpair All. Problem was solved and I could deploy and run the app on remote PC.
I am developing an iPad application with Xamarin.iOS and MVVMcross. So I have a PCL with my View-Model and my Model, and an iOS project with the view. I use Visual Studio.
Before, I used Xamarin.iOS 6.3.6 beta version, and when I tried to launch the app on the device, an .app file was created and getting it with my Ipad, I could launch the application (impossible to launch directly from Visual Studio).
Yesterday, I uploaded Xamarin.iOS to 6.4.1. On simulator, everything's okay. When I try to launch the application on device, now the app is directly installed but the build stop and the following error appear in the debug output :
Failed to load AOT module '<my PCL>' while running in aot-only mode: doesn't match assembly.
And if I click on my app icon on the device,a black screen appear and disappear immediately.
Does someone know why this error appear?
This looks like something was cached somewhere or not updated correctly.
Here are a few ideas to try:
Delete the app from the device.
Clean & Rebuild your app.
Build & install from Xamarin Studio on your Mac.
Copy the Debug configuration to a new configuration (DebugTest for instance), and run that configuration instead.
I regularly get the same issue here.
The workaround that I use is to switch the platform in the Visual Studio build Configuration Manager to "iPhoneSimulator", run a quick debug session on that, then switch the platform back to "iPhone", and the problem disappears for a while.
Unfortunately I have no intelligent reason as to why this works. It seems to be doing a better job of the "Clean and Rebuild".
After reading a similar bug, I found that clearing the mtbs folder on the OS X host which is located at $HOME/Library/Caches/Xamarin/mtbs/ fixes this problem for me.
I have to do it so frequently I just have a PuTTY session open on my Windows box to clear the folder. I do hope that Xamarin fixes this issue soon.
Make sure Linker Behaviour is set to Don't Link
Clean, rebuild, remove old version from app.
Worked for me at least.
This happened to me after I upgraded to XCode 5/iOS7. I noticed a warning that I hadn't installed XCode Command Line Tools. After I did that I rebuilt the application and it now runs.
I just had this problem and got it to work again by opening the Apple project properties and changing the provisioning profile identity from "Distribution" to "Developer".
My workaround on Mac is to
Close Solution in XS
Quit XS. Command-Q
Reopen it and reopen solution.
After that it usually works again.