mobfarm / FastPdfKit

A Static Library to be embedded on iOS applications to display pdf documents derived from Fast PDF
http://fastpdfkit.com
Other
1.23k stars 324 forks source link

Mach-O Linker Error when using as framework with target iOS 7 #47

Open Gubolin opened 10 years ago

Gubolin commented 10 years ago

1) add the latest version as framework 2) make sure to target iOS 7.0 3) try to build:

ld: in /path/to/FastPdfKit/FastPdfKit.embeddedframework/FastPdfKit.framework/FastPdfKit(FastPdfKit), too many compact unwind infos in function anon for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

4) workaround: target 6.1 or lower

This (http://stackoverflow.com/questions/18731667/xcode-5-gm-linker-error-too-many-compact-unwind-infos-in-function-anon-for-arch) is exactly the same problem.

swl367 commented 10 years ago

another workaround for this is to run the build on a device.

swl367 commented 10 years ago

yay this works in the latest framework. Thanks @nick-mobfarm