premake-core icon indicating copy to clipboard operation
premake-core copied to clipboard

how to embed a dylib for xcode project

Open fhoenig opened this issue 3 years ago • 0 comments

   filter {"system:macosx or system:ios"}
    
        files {
            "Source/VulkanEngine/**.glsl",
            "Source/VulkanEngine/**.xib",
            "Source/VulkanEngine/**.plist",
            os.getenv("VULKAN_SDK") .. "/lib/libMoltenVK.dylib",
            os.getenv("VULKAN_SDK") .. "/lib/libvulkan.dylib",
        }

        embedAndSign  {
            "SDL2.framework",
        }     

        embed {
            os.getenv("VULKAN_SDK") .. "/lib/libMoltenVK.dylib",
            os.getenv("VULKAN_SDK") .. "/lib/libvulkan.dylib",
        }
        
        frameworkdirs {
            "External/sdl2/macos"
        }
        

I've tried all permutations to make the vulkan dylibs this show up in xcode's copy embed build section.

How is this supposed to work?

fhoenig avatar Oct 07 '22 00:10 fhoenig