Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception on iOS7 #1

Open
iphonic opened this issue Jun 5, 2014 · 8 comments
Open

Exception on iOS7 #1

iphonic opened this issue Jun 5, 2014 · 8 comments

Comments

@iphonic
Copy link

iphonic commented Jun 5, 2014

Hi,

I have taken code from your sample to use in my project. I have done all the Build Settings correct for my project. The app runs very fine in iOS6, but it crashes on iOS7.

It crashes on this line of code..

+(PdfMemDocument*)createPdfForFileAtPath:(NSString*)path
 {

    PoDoFo::PdfMemDocument* doc = new PoDoFo::PdfMemDocument([path UTF8String]);

    return (PdfMemDocument*)doc;
 }

Strange thing is your project works fine on iOS7.0 and 6.0 both, but not mine, the only difference in the settings of my project than yours is that Objective C Automatic Reference Counting is enabled for my Project but not in yours. Though I need this setting to be enabled.

My problem is similar to this http://stackoverflow.com/questions/19970782/podofo-library-crash-in-ios-7-but-working-in-ios-6-and-earlier

Can you please help?

@xil3f
Copy link
Owner

xil3f commented Jun 5, 2014

Hi iphonic,
did you already try to disable the arc for the files accessing podofo?
http://stackoverflow.com/questions/6646052/how-can-i-disable-arc-for-a-single-file-in-a-project

@iphonic
Copy link
Author

iphonic commented Jun 5, 2014

I have many other classes, which are implemented in arc, so can't disable arc for the whole project, is it necessary to disable arc to make it work correctly ? Or, is there anything can be done, without disabling arc for the whole project, though I have added -fno-objc-arc flag for all the classes used for podofo.

@xil3f
Copy link
Owner

xil3f commented Jun 5, 2014

Sry, I can't help you there. I didn't work on the project for more than one year. And as you wrote, it works for this project, so I can't help you..
Maybe I update it at some point, to support the newer podofo version and also arc. But at the moment, that's not on my agenda.

@suniliphone
Copy link

Hello xil3f,

While creating signer object app is getting crash, Can you please tell me what i did wrong here ?

Thanks a lot Xil3f.

@suniliphone
Copy link

Dear xil3f,

i required latest libfontconfig.a file Could you please provide me.

@xil3f
Copy link
Owner

xil3f commented Sep 30, 2016

Dear suniliphone,

I’m sorry, but I stopped working on this project a long time ago. I wasn’t able to compile the library myself. I got the fontconfig from the xbmc project.

Regards

On 30 Sep 2016, at 14:17, suniliphone notifications@github.com wrote:

Dear xil3f,

i required latest libfontconfig.a file Could you please provide me.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub #1 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/ABJhe03Th-JrhJcKpdHctz8KXUbuAqIUks5qvP2-gaJpZM4CBZ66.

@suniliphone
Copy link

Dear xil3f,

Thanks for reply,

Can you please tell me here what was the problem,

screen shot 2016-10-06 at 3 40 21 pm

@suniliphone
Copy link

Dear xil3f,

Please update podofo library code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants