How to build ios?
uokivan opened this issue · 2 comments
uokivan commented
Dear hankinsoft,
I can use the project build succeeded on xcode,
but why can't install to my iphone ?
Thank you very much
Ivan
hankinsoft commented
Hi,
This is a library, not an application. In order to use it, you would need to create an app that uses the library and then install that app on your iPhone. Unfortunately, I don't have a sample project available, but you can add it to your project via Carthage, then @import FreeTDS
and use it similar to something like:
/* Initialize the login params in the structure */
DBSETLUSER(login, UID);
DBSETLPWD(login, PWD);
/* Now connect to the DB Server */
if ((dbconn = dbopen(login, DBSERVER)) == NULL) {
fprintf(stderr, "Could not connect to DB Server: %s\n", DBSERVER);
return;
}
uokivan commented
Dear @hankinsoft
Thank you very much,
I will try for it ,
That can help me find the way
Ivan