![]() MACOSX_BUNDLE_INFO_PLIST "$, dyldError = dlopen(/Applications/Xcode. Set_target_properties(MinimalApp PROPERTIES Target_link_libraries(MinimalApp PRIVATE "-framework AppKit") Set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD)" CACHE STRING "") Set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15 CACHE STRING "") # The effect of these two lines is what I'm most interested in Make sure when you run CMake that there isn’t already a previous run in that build directory.Įdit: You will need to use CMake 3.19 for this test, potentially the latest 3.19.2 release.įor convenience so you don’t have to download the tarball to read it, the CMakeLists.txt file looks like this: cmake_minimum_required(VERSION 3.19) Press and hold the Power button until Loading startup options appears Choose Options > Continue. On a M1 Mac Click the Apple logo and choose Shut Down. ![]() Wait until you see the macOS Utilities window. ![]() Would anyone with access to an Apple Silicon machine be willing to test out the attached project? It is very minimal and has brief instructions in the README file contained therein. Hold down Command + R when your Mac is restarting. I don’t have access to an Apple Silicon machine, so I can only verify that it works on Intel. I’m trying to verify a minimal combination of settings that will allow an Xcode project to produce a universal binary on macOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |