MonoDevelop fails when trying to debug on device - ios

I'm trying to install the iOS app I'm developing on my device, but each time I try MonoDevelop crashes. First the CPU usage spikes and then it stops responding. It seems to be failing when the debugger tries to connect to the device. The application is installed on the device and I can use the app, but I need to see the application output.
I'm using the newest version of MonoDevelop and version 6.0.0 of MonoTouch. Are there any other users with the same experience who have solved this problem?
edit
this is the version information from monodevelop. I've had to treat it like code because else the stackoverflow editor would have made it unreadable.
MonoDevelop 3.1.1
Installation UUID: cf274ee7-dfe8-4ba8-b44c-2c7a0d9a45ab
Runtime:
Mono 2.10.9 (tarball)
GTK 2.24.10
GTK# (2.12.0.0)
Package version: 210090011
Apple Developer Tools:
Xcode 4.5.2 (1847)
Build 4G2008a
Monotouch: 6.0.6
Mono for Android: 4.4.55
Android SDK: /Users/.../Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
4.0 (API level 14)
4.1 (API level 16)
4.2 (API level 17)
Java SDK: /usr
Xamarin.Mac: Not Installed
Build information:
Release ID: 30101000
Git revision: 5d928ec4f9d5864b4db04a1301b8a8649b43fb9d
Build date: 2012-12-14 19:11:30+0000
Xamarin addins: 80f2dcc8fe4ed316b3e77dde496fc33d90305047
Operating System:
Mac OS X 10.8.2
Darwin ---.local 12.2.0 Darwin Kernel Version 12.2.0
Sat Aug 25 00:48:52 PDT 2012
root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64

I got that a lot in the past, while working with a library that wasn't available for the simulator. For me, it was (probably) related to usb link. What you should try:
Turn off itunes (that one is hard to do, you hear a lot of weird sounds around you when music is down)
Enable debugging over wifi (instead of USB) in monodevelop (Preferences>Debugger>iPhone Debugger)
It helped me, hope it'll help you

Not sure what the problem was in the end. OS X seemed to have gone corrupt and wouldn't even start properly any more. Besides the problems I had with MonoDevelop I also started having problems in different software. The solution was to do a full clean install of OS X. I have now been able to update MonoDevelop and MonoTouch and can once again debug apps on devices.
I'm sorry if my solution can't help any other people directly, but perhaps the answer Stephane Delcroix gave may help you!

Related

RAD Studio 10.4.1 my first iOS app error when attempting to run 'Unable to create process: /Applications/PAServer-21.0.app/Contents/MacOS/dbkosx_27_0'

I am trying to build my first multi-platform application using RAD Studio 10.4.1 (Delphi). Very simple one button app.
My development environment:
RAD Studio version: 10.4.1 (with latest Combined.Hotfix from 12/25)
Xcode version 13.7
Xcode simulator 13.7
MacOS version: 10.15.7
PAServer version 12.1.10.5
I am using a MacInCloud account with root access. The PAServer connection is established successfully when I attempt to debug the app with target platform iOS Simulator 13.7, however, I consistently encounter the following error:
The following error was returned: 'Unable to create process: /Applications/PAServer-21.0.app/Contents/MacOS/dbkosx_27_0'
I launch the PAServer app using the root user because I thought there might be a permission issue.
I downgraded XCode, from newest version in the App store (using SDK 14.3) to 13.7, as I learned RAD Studio 10.4.1 is not compatible with the 14.3 SDK.
Any suggestions are greatly appreciated. Thank you.
We wrote Jan 2021: Simulator is not longer running! This is what I got from the support:
"The iOS simulator compiler generates 32 bit code so if your Xcode is running on Catalina or above, it is not possible to start the simulator on these operating systems because they only support 64 bit code. Also there seem to be serious stability problems running Delphi apps on the simulator on macOS versions that support 32 bit.
I would therefore advise against using the simulator. At this time we have not committed to a timeframe to releasing a 64 bit simulator."
This also means: the MacInCloud is not longer useful, because you need a real IOS-device on a 64bit Intel-MAC or you get a old 32bit Intel-MAC and use the simulator there (with "serious stability problems"). It seems the simulator is not useful at all for Delphi development.

2011 Mac with flutter development

I am looking at purchasing a Mac mini to help with development of a flutter application. The newest versions are quite expensive and after looking on ebay the cheaper versions are the 2011 models.
The hardware is primarily 2.3 GHz i5, 8gb ram and SSD which seems fine but the OS version varies from mountain lion to High Sierra. I assume older versions can be updated?
I can't find anywhere that specifies minimum OS versions for flutter. Does anyone know whether a 2011 Mac mini with this spec would be appropriate for app development. I would like to also use the IOS emulator with newer apple device/phone models and iOS versions.
Sorry I have little experience with Mac os. Thanks a lot
(I may also want to try swift coding in xcode)
Can I update Mac OS to newer version?
Yes.
What are the minimum requirements for flutter development using Mac machine?
The latest stable version of flutter is v1.12.13+hotfix.8
This version of flutter requires a minimum Xcode version of 11.0.0. See the screen shot below.
The Xcode 11 requires a Mac running macOS 10.14.3 (macOS Mojave) or later. See more details here.
Xcode 11 includes SDKs for iOS 13, iPadOS 13, watchOS 6, macOS 10.15, tvOS 13 and Swift 5.1. Xcode 11 supports running multiple concurrent versions of the Xcode app and of any associated tools such as Simulator.
You can find more details from here.

Two errors with FIPS when trying to deploy to device from Xcode 11.1 after upgrading to MacOS Catalina 10.15

I use Blackberry Dynamics SDK in my app and after upgrading to the new MacOS 10.15 Catalina I have issues deploying to a physical device. I cleaned the build folder, cleared the cache, cleared derived data, uninstalled/reinstalled all pods, but I still get the following error:
FINGERTYPE is [path]/FIPS_module/arm64.sdk/bin/../bin/fips_standalone_sha1
CANISTER_O is [path]/FIPS_module/arm64.sdk/bin/../lib/fipscanister.o
[path]/FIPS_module/arm64.sdk/bin/gd_fipsld: line 219: [path]/FIPS_module/arm64.sdk/bin/../bin/fips_standalone_sha1: Bad CPU type in executable
1d0
< HMAC-SHA1(fipscanister.o)= [key]
[path]/FIPS_module/arm64.sdk/bin/../lib/fipscanister.o fingerprint mismatch
Command Ld failed with a nonzero exit code
It builds and deploys fine to a simulator as well as if deployed in an earlier version of MacOS. Not sure where to go from here.
While compiling a Blackberry Dynamics app the command fips_standalone_sha1 is called. The fips_standalone_sha1 binary in the Blackberry Dynamics framework is a 32-bit binary. That is not going to work on Catalina.
Mojave still supported 32 bit applications, but it was deprecated, in Catalina 32-bit applications won't run anymore.
You can use a Mojave system, or wait for an update of Blackberry Dynamics SDK that supports Catalina.
EDIT: Blackberry Dynamics has been updated, make sure you are using the latest version
Blackberry Dynamics SDK for iOS 6.2 and above supports MacOS Catalina.
I had the same problem but could solve it by updating the SDK.

Error building the application iOS using QtCreator

Good day.
I'm trying to use Qt to develop an application for iOS.
I using macOS Mojave 10.14.5 and xCode 10.2.1 (installing from the AppStore).
Qt Creator - version 4.7.2 & qt - version 5.11.2 (also i tryed use Qt Creator - version 4.9.1 & qt - version 5.12.3). I create simple application "Qt Widget", and trying build his. I get the only error:
error: [xcodebuild-debug-simulator] Error 64
I inspect my kits and virtual devices, but they configured correctly:
Also, I can start any virtual device and it loading successful:
Why appears this error? Thank.
P.S. sorry, possibly my English language not quite correctly.
P. S. S. :I install macOS on VMware Workstation 15.
UPD1:
I created simple app from Xcode, and app is running successful.
I compile app in Qt Creator, but I run app from xcode, and app started successful. There were complaints about Bundle version
and Bundle version string short, I corrected them in the file Info.plist.

Options for iOS 4.2.1 Development in 2015

I have an old 2G iPod Touch for which I'd like to develop a very simple application. I managed to install Xcode 3.2.5 (the first to include the 4.2 SDK) onto my Mac that runs 10.10.4, but it says it isn't compatible when I run it. Next I tried Xcode 4.4.1 (the most recent that can target iOS 4.2), but it also fails to run. So, I'm thinking that Apples tools might be a lost cause when it comes to development for 4.2.1 if I'm not willing to downgrade my Mac to an earlier OSX version.
Do I have any other options for developing an iOS 4.2.1 app using one or more of OSX 10.10.4, Windows 10, and Ubuntu 14.04? Are options like Xamarin more flexible when it comes to the iOS versions they can target? Thanks in advance for any suggestions.

Resources