0 votes

When testing (run in xcode), it now compiles and runs fine.

But when trying to archive, it says "Apple Macho-O Linker Error". Which is not very helpful.

version : pdfreader 1.32, Unity 5.5.2f1, Xcode 8.3.2

I tried simply removing the pluging and the only ref I have to it in code, it archives fine. So I guess it has something to do with PDF Reader. I already tried to make a fresh build from unity in a new directory, didnt change the result.

I added MessageUI, and uses 

var streamingPdf = PDFReader.AppDataPath + "/" + "test.pdf";

PDFReader.OpenDocInMenu (streamingPdf, false);

Any hint on what I could be missing?

asked May 12, 2017 by nicotony (140 points)

1 Answer

0 votes
Hello, try update PDFReader to version 1.37 and try connect real device to xcode and press archive, because it's not work for simulator sandbox.
answered May 12, 2017 by IndieYP (1,730 points)
I'll try to update. But Archiving is not running/testing, you dont need a device connected, it just compiles so you can create your distributing ipa for upload, remember? Actually I had one connected but I really dont see how that change the archive process :D
If device not connected, library compile for simulator platform.
I try complile empty project with PDFReader 1.37 and it's work fine, try search other reason.
Welcome to IndieYP Q&A, where you can ask questions and receive answers from other members of the community.
27 questions
23 answers
42 comments
1,529 users