Retro compatibility of M1 App with intel based mac - apple-m1

I want to get into app development for the apple ecosystem and since my current laptop is arriving at his end of life i tough" "What better occasion to get a mac?".
I think I've basically cleared all my points for support on the m1 chip but i was hunted by this doubt: "Are app developed under M1 chip, somehow compatible with the Intel based mac? If not do I have to recompile the code on a Intel based mac?"

Yes, using Xcode 12, you can create universal binaries that run both on M1 and x86. These Apple Developer documents go into the details:
Building a Universal macOS Binary
and
Porting Your macOS Apps to Apple Silicon
(while the second document is instructing about going the other direction, it's still a good reference on the universal binary concept.)

Related

running xamarin.forms on IOS simulator

I want to run my application on IOS simulator, but i dont have mac machine. I have an iphone 7plus with version IOS 12.2
can anyone help me find a free mac machine or how i should buy virtual mac machine just for testing my app on ios simulator.
thank you
From the license macOS license (section 2B):
you are granted a
limited, non-transferable, non-exclusive license:
(i) to download, install, use and run for personal, non-commercial use, one (1) copy of the Apple Software directly on each Apple-branded computer [...]
(iii) to install, use and run up to two (2) additional copies or instances of the Apple Software within virtual operating system environments on each Mac Computer you own [...]
[emphasis mine]
This makes clear that you are not allowed to run macOS on a non-Mac computer. This rules out a virtual machine running on your Windows. (At least officially - there may be ways to run a Hackintosh in a VM, but I have never tried. You could also try to run a cheap PC as a Hackintosh, but YMMV. And beware: IANAL, hence I cannot really tell you about the legal implications of breaking the license agreement. If you wanted to do it, consider consulting law.se, or a professional.)
I have never heard about services that provide free macs, and really ... why should they. You could opt to use a service like macincloud, but they charge starting from $20 per month. Assuming that you can acquire a used decent mac mini or macBook Pro for $250 or so, you would not really save any money by using macincloud, if you are using it for more than a year (it could still be a viable alternative for the beginning). Plus, you have full control over the system having your own mac.

Minimal SSD size for Xamarin build agent on a Mac

I'm developer working on windows computer. I will start my first Xamarin.Forms project using Visual Studio 2017 on my windows PC. Since the target platform are IPhones, I'll need a new Mac solely as a Xamarin build agent. I never had a Mac before...
Will a 128 GB SSD have enough space to host the essential tools like the build agent, XCode and perhaps Visual Studio for Mac (if I decide to switch later on)?
I intend to keep my Windows computer for all other work, so the Mac is just for building and running the simulator.
In your experience, will 8 GB of RAM be enough - or will it slow down the build time considerably (it's a small project, perhaps 4-8 weeks of work, 1 person).
It is ok as you have mentioned it is a small project for 3-4 weeks of duration. It would be better if you buy 256 GB SSD. Also another idea would be buying Mac mini. Mac mini is a device, in which you can get good configuration for better rate. You can connect Mac mini to any LED monitor and you can work. you can find more details about it here

Can the Intel Edison MCU be used without the standard Yocto linux?

Is it possible to use the MCU on the Intel Edison without having the standard Yocto Linux installed?
At the moment I have downloaded the specific Eclipse MCU SDK and have been using that to program the MCU on the Edison. I have the newest version (from Intel's website) of Yocto on the Edison as well.
If I switch to e.g. Emutex's Ubilinux will I still be able to use the MCU in any way? With or without the standard Eclipse MCU SDK?
The main reason I want to switch to Ubilinux is to have an easier time using ROS (Robot Operating System), but this is not strictly relevant to the question.
The Quark core runs its own Zephyr based OS, but I do expect some sort of support to be required on the Linux side too for intercommunication between CPUs. As dwelch said, the required drivers might be there for Ubilinux too.
If you are specific about ROS someone is working on adding it to Yocto. A quick google search also returned an unfinished project of ROS on Edison.

Is R Embeddable

I'm thinking to start learning R, but I want to know one thing, Is it embeddable(Windows CE, Palm OS)?
R can be embedded, and this is documented in the R Extensions manual (see the manuals page for more).
The RInside classes make it easy to embed R inside C++ applications (at least on Linux / OS X). Windows has (D)COM.
But what probably meant to ask were 'ports of R to embedded devices' and that has come up a few times over the years on the mailing lists starting with the Sharp Zaurus etc. Windows CE and Palm OS are non-starters due to the differences in the toolchain (as you will find out, even on Windows the MinGW tools need to be used).
R has also been used on the iPhone and Google Android, if you're looking for a mobile OS.
Certainly not on Palm OS. Plus, most of the interaction is through the console, so typing with the virtual keyboard will be painful.

best way to get started in setting up Mono for ASP.NET on Mac

I have recently gained access to a Mac. I am wondering if anyone has any tips/advice for setting up Mono on a mac for development and execution of ASP.NET? Most resources point to Linux implementations which tend to differ a lot from the way Mac's do things. Any tips or advice would be helpful
To launch the development ASP.NET server, just open a terminal window and run the "xsp2" command from the Mono installation.
The only thing that is missing from the Mono distribution on the Mac compared to Linux is the Apache module, that one you will have to compile yourself if you want to deploy your application in production on OSX.
Since I first worked with mono osx, they've added Cocoa# and ObjC#, but the ASP.NET core was pretty solid (about 3 years ago). You can in fact write web applications according to the Onion book, and port 'em to IIS with little or no difficulty.
Honestly if you want to run ASP.NET you probably don't want to struggle with getting it to run via mono on MacOS. Intel-based Macintoshes can boot Windows, and Apple provides Windows drivers for their various devices as part of Boot Camp.
Alternately you can buy Parallels or VMWare Fusion for less than $100. I use VMWare Fusion. There is also a Mac version of VirtualBox from Sun which is free, though I have never used it.
For MacOS development (not .Net) you really should try Apple's XCode. It is free. It primarily focuses on Objective C though Python, Ruby, and other languages can be used to develop native Mac applications.
Edit 9/22: I'm sorry neither you nor Kev found this a useful answer. Let me try to expand a bit: the Macintosh has a long history of software being ported in from Windows, applying a theme to make the GUI elements look Mac-like but otherwise being content with a minimum cost port. Such software never behaves like a real Mac application: it doesn't respond to AppleEvents, it won't be scriptable, it handles only the cross-platform clipboard formats, etc.
You're free to do whatever you want, including running ASP.NET using mono. If its for your personal use, knock yourself out. However if you're considering it as a way to offer your web-enabled product in a Mac version, I urge you to reconsider. The Mac market has for the most part rejected such products. You'll get some sales, but nothing like you would get for an app which behaves like a native Mac application.
Now, let the down-voting continue.
You can also run ASP.NET via NGINX - easy to install using:
sudo brew install nginx
See installation tutorial: http://www.robertmulley.com/tutorial/nginx-install-and-setup-mac-os-x-mavericks/
See configuration steps for your app: http://www.mono-project.com/docs/web/fastcgi/nginx/
(Note: see my pull request as the fastcgi-mono-server4 should now be used - https://github.com/mono/website/pull/82/files)
Why use Mono on a Mac? Run Parallels, VMWare, or Boot Camp.

Resources