Current location - Health Preservation Learning Network - Healthy weight loss - How xcode uses its own compiled dynamic link library c++
How xcode uses its own compiled dynamic link library c++
If your problem is that c++ uses xcode framework. Xcode compiled for c++ may not work.

It has the characteristics of oc such as category.

Add -objC command when linking.

Oc is basically based on runtime. C++ can't use so many functions.

If your problem is that xcode uses dlib in c++,

The usage is basically the same as vs.

Drag dylib into the frame,

Add a reference to the header file.

The linker uses stdc++.

When you want to use it,

Change the source file to mm.