Re: [cups-devel] Fwd: ipps for iOS devices
kk prvn <[email protected]> Thu, 07 Jun 2018 23:37:19 +0530
| Newsgroups | gmane.comp.printing.cups.devel |
|---|---|
| Message-ID | <CAB+x51CcfMiS9NpSFo5m7_uSygxc18V2zbewT_b4sFPAEMDH+w@mail.gmail.com> |
Hi Michael, I have messed up my config.h with all macOSX settings, now it is working fine. Thanks for your time in responding to my query. regards, Praveen On Tue, Jun 5, 2018 at 8:51 PM, Michael Sweet <[email protected]> wrote: > Praveen, > > What I'm saying is that you should be using the Xcode project to build for > iOS, specifically the libcups_ios target. > > The config.h file in the "xcode" directory contains the proper definition > to make an iOS build work of the CUPS library. iOS does not support the > keychain functions and so that define cannot be used when compiling for iOS. > > > > On Jun 5, 2018, at 10:32 AM, kk prvn <[email protected]> wrote: > > > > HI Michael, > > Thanks for your quick reply. > > > > Glad to say that ipp over port 631 works fine on my iOS device with the > > sample Xcode project given with CUPS library.When i try to do ipps call > on > > port 443,i may have to turn on few flags like below, and hence it is > > looking for type def;s like *SecKeychainRef. *Do you have any sample > Xcode > > project to do ipps over 443 port?Or any other suggestion? > > > > # define HAVE_CDSASSL 1 > > # define HAVE_ SSL 1 > > > > #define HAVE_CSSMERRORSTRING 1 > > > > #define HAVE_SECKEYCHAINOPEN 1 > > > > Thanks, > > Praveen > > > > On Tue, Jun 5, 2018 at 7:00 PM, Michael Sweet <[email protected]> wrote: > > > >> Praveen, > >> > >> The included Xcode project has a libcups_ios target you can build on > iOS. > >> The config.h file in the "xcode" directory shows how to configure things > >> for iOS... > >> > >> (iOS doesn't have the macOS-style keychain API, but instead uses > something > >> different...) > >> > >>> On Jun 5, 2018, at 7:45 AM, kk prvn <[email protected]> wrote: > >>> > >>> Hi I am using CUPS library for my iOS project.now we want to turn-on > >> ipps, > >>> for that when we try to enable required flags in config.h file finally > we > >>> are getting "Unknown type name 'SecKeychainRef'". As those definitions > >> are > >>> available only for macOSX but not for iOS. > >>> is there any way that we can over come this to implement ipps in iOS > >> using > >>> CUPS? > >>> > >>> Thanks, > >>> Praveen > >>> _______________________________________________ > >>> cups-devel mailing list > >>> [email protected] > >>> https://lists.cups.org/mailman/listinfo/cups-devel > >> > >> _________________________________________________________ > >> Michael Sweet, Senior Printing System Engineer > >> > >> _______________________________________________ > >> cups-devel mailing list > >> [email protected] > >> https://lists.cups.org/mailman/listinfo/cups-devel > >> > > _______________________________________________ > > cups-devel mailing list > > [email protected] > > https://lists.cups.org/mailman/listinfo/cups-devel > > _________________________________________________________ > Michael Sweet, Senior Printing System Engineer > > _______________________________________________ > cups-devel mailing list > [email protected] > https://lists.cups.org/mailman/listinfo/cups-devel >