![]() " 18:02:35.859 HelloWorld No ist file in application bundle or no NSPrincipalClass in the ist file, exiting ![]() Using this Xcode project, I can get the project to compile, but when I run the executable I get the error: ![]() I can now get a successful CMake generated Xcode project, but when I open the project, none of the frameworks I specified in the CMakeLists.txt file are in the 'resources' folder. I've also tried linking the libraries with: set(CMAKE_EXE_LINKER_FLAGS "-framework fm1-framework fm2…") I've followed both the instructions in this post as well as the tutorial it's based off of: Can't link MacOS frameworks with CMake The part where I'm getting stuck is how to appropriately link the existing frameworks. Or set(CMAKE_CXX_FLAGS "-x objective-c++")įor the Makefile to even be created. You must first add the set(CMAKE_C_FLAGS "-x objective-c") I understand that CMake does not natively support building Objective-C. I am working on simply creating a hello world executable on macOS using Objective-C and CMake. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |