in Insurance by
How we can Porting Your macOS Apps to Apple Silicon?

1 Answer

0 votes
by

Port your existing macOS app to Apple silicon by creating a universal binary and modifying your code to handle architectural differences. A universal binary looks no different than a regular app, but its executable file contains two versions of your compiled code. One version runs natively on Apple silicon, and the other runs natively on Intel-based Mac computers. At runtime, the system automatically chooses which version to run on the current platform.

An illustration of an app, where the main executable file supports the arm64 and x86_64 architectures.

To build a universal binary, you need Xcode 12 or a later version, which adds arm64 to the standard list of build architectures for macOS binaries. When you open your project and do a clean build, Xcode creates a universal binary automatically if your project uses the standard architectures. If you use custom makefiles or build scripts, add the arm64 architecture to your build system.

After you create a universal binary, test it on both architectures and determine whether you need to make additional changes. macOS frameworks shield apps from most architectural differences between platforms, but some differences may still require you to change your code. In addition, architectural differences may affect your app’s performance and require further changes.

Related questions

0 votes
    Where can we test the apple iPhone apps if we don’t have an iOS device?...
asked Nov 30, 2020 in Technology by JackTerrance
0 votes
    You have run the association rules algorithm on your dataset, and the two rules {banana, apple} => {grape} and {apple, ... have been found to be relevant. What else must be true?...
asked Apr 27, 2021 in Technology by JackTerrance
0 votes
    How many types of reports we can develop in Oracle apps?...
asked Dec 22, 2020 in Technology by JackTerrance
0 votes
    App permissions can cause trouble as some apps may secretly access your memory card or contact data. (a) ... -for-Cyber Security:,Cyber Security-Jobs:,Cyber Security Applications...
asked Nov 1, 2021 in Education by JackTerrance
0 votes
    What are the different types of apps we can use in Salesforce?...
asked Jun 25, 2021 in Technology by JackTerrance
0 votes
    What type of apps we can create in SF?...
asked Nov 12, 2020 in Technology by JackTerrance
0 votes
    Miss Anne has eleven kids in her class. She has a bowl containing eleven apples. Now Miss Anne want to divide the eleven ... should remain in her bowl. How can Miss Anne do it?...
asked Feb 10, 2021 in Education by JackTerrance
0 votes
    ____ endpoint interacts with your backend services on behalf of the apps. Target Proxy...
asked Sep 3, 2021 in Technology by JackTerrance
0 votes
    I tried to install Valgrind with brew install Valgrind and got : valgrind: This formula either does not ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 29, 2022 in Education by JackTerrance
0 votes
    How to Create a Porting Plan in macOS?...
asked Jun 2, 2023 in Technology by JackTerrance
0 votes
    I'm trying to analyze the nature of porting and virtual machines, with the intent of minimizing the amount ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 12, 2022 in Education by JackTerrance
0 votes
    I'm porting a servlet from Tomcat 5.5 to OC4J 10.1.3.1. In Tomcat we set up a JDBCRealm ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    What other elements may be added to silicon to make electrons available for conduction of an electric current? Select the correct answer from above options...
asked Jan 5, 2022 in Education by JackTerrance
0 votes
    A computers virus is [a] a chemical that attacks silicon. [b] data that the computer fails to handle. ... destroys integrated circuits. Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
...