When i use the example of ShareKit package,i have come across this error:”error: /usr/include/objc/objc-class.h: No such file or directory

Change

#import <objc/objc-class.h>

to

#import <objc/runtime.h>

From the blog entry: error: objc/objc-class.h: No such file or directory

Copyright © 2024 Flex/AS Programmer
Powered by .NET 8.0 on Kubernetes