ios-cmake icon indicating copy to clipboard operation
ios-cmake copied to clipboard

[Question]Getting undefined symbol _main for watchOS builds when this toolchain file is used

Open abhimohata opened this issue 3 years ago • 0 comments

I tried to use this toolchain file for all the apple kernel related builds that we are doing - macOS, tvOS, watchOS, iOS etc. I believe this toolchain file can also be used if we are trying to build an independent watchOS application ? Currently, when we used this toolchain file and did a build of our application, we get undefined symbol for _main as '_main' is not found for the architecture x86_64. Is there any pointers on how this can be addressed or if there is an example project that can be used with this toolchain file to build a watchOS application ?

abhimohata avatar Jul 08 '22 01:07 abhimohata