We just updated to XCode 5 GM, and a project (iPhone only targeted at iOS 7) that built fine under DP 5 now gives the error:
ld: in /Users/dan/Documents/Projects/ImageProApp/Pods/SparkInspector/SparkInspector.framework/SparkInspector(ExplorerViewState.o), 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)
We are using CocoaPods to include several components, CocoaAsyncSocket, CocoaLumberack, Spark Inspector and Reachability. My guess is that were we to remove Spark Inspector, this error would simply reference another component.
Can anyone recommend a fix? Tell me what the compiler/linker flags are to use non-compact unwind infos?
Thanks,
Dan
UPDATE: Google released a fix for the Google Analytics library https://code.google.com/p/analytics-issues/issues/detail?id=338
See version v3.01 here: https://developers.google.com/analytics/devguides/collection/ios/resources
FWIW, with the Google Analytics library, the link error only happens when deployment target is set to 7.0. If you drop the deployment target to 6.1 for example linking works without error.
For reference, with respect to Google Ananlytics, I've posted an issue in Google's bug tracker.
Workaround: Build for device.
Not so much of a fix, but try building your app for a device rather than simulator. Might be related to the introduction of 64-bit.
I can archive my app, but when I try to build/run for simulator, it fails at linking with the same error you're receiving.
To be clear, I'm also using cocoapods.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With