Software Development Kit

Invalid certificate on iOS

Hello,

I have a problem with the certificate. I created my app with my identifier in the portal, changed the app id in the GetStartedSwift example project and replaced MyCertificate.c with the one from the portal. Everything works fine there. In my real project, though, I get the "Invalid certificate" error.

A few things to note:

- In the AppDelegate I have the exact same code as in the example

- Data(bytes: myCertificate.bytes, count: myCertificate.length) seems to be correctly initialized with the content of MyCertificate.c

- I integrated your library manually, because we're not using cocoapods (btw, carthage support please?). Maybe I'm missing some step here? But I don't get the relation with these.


Any idea?

Thanks!

Davide


Dear Davide,

thank you for contacting us and your question.

Unfortunately, without your project, it is difficult to say what is causing the issue, but it is likely the framework was not properly added.

You then understand we recommend you get the framwework using cocoapods, and check the differences in between both projects.

Best regards,

Olivier

Thanks for you reply Oliver. Since it's always difficult to extract a sample project, what if we do the other way around and you provide a sample project with manual integration in it? Would that be feasible? I think this would help other people that can't use cocoapods like us.

Thank you,

Davide

Dear Davide,


currently, we are a bit puzzled you cannot use cocoapods? Is it due to an internal policy?


Indeed, you only need to get the iink environment once. Then, you no longer need it?


Best regards,


Olivier

Login or Signup to post a comment