I just achieved (in testing phase) an open source C CometD library in C. After some time I thought that it would be a good idea to give the option to the user to benefit from it under Xcode for iOS
development.
Two years ago I developed a little application in Objective-C
and as far as I remember, I could put C code and compile it.
So I took my code and compile it as a .dylib.
The Problem is when i try to use it under an Objective-C
Xcode project, at function calling i always get a :
- "implicit declaration error is invalid in C99" error
as well as a
- "Source file is not valid UTF-8" error
I searched the internet to find out why but no relevant answers were found.
Any help would be much appreciated.