I am new in iOS programming. I have an Android app that use c library. I want to create same iOS app and use same library. I search about it but most of results are for objective-c programming and there are various methods that I cannot choose from. I believe with new features I can do it much more simple in swift. So my question is how should I create C library and use it in iOS project? Can I use cmake? Should I use Swift package manager like what said in first link below?
best result I found on internet: