Failed to acquire termination assertion when installing placeholder. What does it mean? - xcode9-beta

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.

Related

iOS debugging is terminated directly after it started (Xamarin.Forms / VS for Mac)

I'm currently trying to debug an iOS application (created with Xamarin.Forms) with VS for Mac (also tested through VS2019 Enterprise on Windows). Unfortunately, the debugging process is not started successfully. It stops without any exception or error report (except "Application 'com.XYZ.MyApp' terminated." which is not helpful at all). This happens with the simulator and the device debugging.
When debugging it shows the launch screen and from time to time the following page. Then the debugging crashes without any report. This may be caused by an asyncronous process. However, there is no information in the log files.
The same app can be successfully debugged with the andriod simulator. Moreover, a generally similiar application can be debugged under iOS.
Is there any possibility to get a more detailed error report that shows why the debugger is closing?
Edit: I just created a TestFlight version which works pretty stable and pretty well... So I have no clue anymore why the debugging is not working... Is it maybe because I had Xcode 11 beta installed for a short time to test iOS 13 on my device with my apps? I uninstalled Xcode 11 after the iOS update but is there a chance that this causes problems with the Xcode 10 installation?

Xcode 9.4 + Only Test-flight app crash

I reuploaded my app to TestFlight via Xcode 9.4 but it is continuously crash after splash screen on that test flight build in IOS 11 while same test flight working in IOS 10. While when running in the Adhoc build in the device, it is working fine without any issue.
And my last submission by Xcode 9.2 is working fine in all IOS devices including 11.4 too.
When I am getting crash logs from Organizer, it says, App crash on a statement like self.viewInput.refreshRewardCount(current: current, max: max) where current and max value passed static as 0 and 50 respectively first time when app start.
Additionality, I have also checked my Optimization Flags for LLVM and Swift compiler which are set properly as my other app and people suggested on the stack too.
Help me to solve that issue.
Thanks
We ran into this before. If you have not resolved this try using ImageOptim (downloaded from the Mac AppStore) and optimize all of your images. iOS 9 had a bug where it couldn't process certain metadata of PNG files.

Cannot launch Xamarin.iOS app on device

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.

My MonoTouch App won't run on 6.1.3, runs on 6.0.x and before... WTF?

I just pushed my app to the App Store after building release/AppStore build using xamarin's Studio...
Everything was green lighted and ready to go, I only had one person who had not installed the release version.... They installed it and it takes 17 seconds to try to start and is killed (I presume). it does NOT create a crash log on the device.
In the Settings there is a "Debug Settings" section under the app - that I didn't put there, including an option for Xamarin Studio Host which is set to automatic but appears to be able to be set to some other string.. (Another message on what the heck this is, and how come it shows up in the first place, and how to get rid of it)
I'm at a loss how to debug this. I just downloaded and upgraded XCode to the latest, in hopes that will help.. (Although, I'm not using the XCode interface to build, but I expect that under the hood it is using that for parts of this, maybe the libraries or something.) Still, unless the iOS writers are nuts, it should be backward compatible with apps written for iOS 4.0 and later... (Mine is a 4.0 targeted app)
Also, on her phone (which has always been 6.x for all the testing she has done), my app has always taken a LONG time to start up.. but on 5.1 it is very fast.. (I.E. 1-2 seconds vs 10+ seconds on her phone)
Anyone got a clue, I sure could use one right now.. I expect that I'll have to reject the binary, and submit another one...
-Chert
Figured it out.... The issue was with the TestFlightApp SDK...
I removed it and now the app starts up OK... Resubmitted to App Store for approval.

Why does my Monotouch App crash with iOS 6?

I need to make sure that our iPhone App (implemented with Monotouch) will still be be working from the very first day that iOS 6 is released to the public.
I've installed XCode 4.5 and iOS 6 Beta 3 and upgraded Monotouch to the latest version. Then I ran my app in the iOS 6 emulator and the app crashed instantly with the following error message:
Terminating since there is no system event server.
(Run the EventPump or pass the argument "-RegisterForSystemEvents" if you want to run without SpringBoard.
I've tried googling for similar problems but could not find anything. What can I do to make my App run on iOS 6?
Thanks,
Adrian
Details on iOS 6 and Xcode 4.5 are under NDA and won't be discussed publicly. Please either contact support#xamarin.com or fill private bug reports on http://bugzilla.xamarin.com

Resources