[cups-devel] Fwd: ipps for iOS devices

kk prvn kk.prvn at gmail.com
Thu Jun 7 11:07:19 PDT 2018


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 <msweet at apple.com> 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 <kk.prvn at gmail.com> 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 <msweet at apple.com> 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 <kk.prvn at gmail.com> 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
> >>> cups-devel at cups.org
> >>> https://lists.cups.org/mailman/listinfo/cups-devel
> >>
> >> _________________________________________________________
> >> Michael Sweet, Senior Printing System Engineer
> >>
> >> _______________________________________________
> >> cups-devel mailing list
> >> cups-devel at cups.org
> >> https://lists.cups.org/mailman/listinfo/cups-devel
> >>
> > _______________________________________________
> > cups-devel mailing list
> > cups-devel at cups.org
> > https://lists.cups.org/mailman/listinfo/cups-devel
>
> _________________________________________________________
> Michael Sweet, Senior Printing System Engineer
>
> _______________________________________________
> cups-devel mailing list
> cups-devel at cups.org
> https://lists.cups.org/mailman/listinfo/cups-devel
>


More information about the cups-devel mailing list