iOS under symbol not found: ___sincosf_stret error

Source: Internet
Author: User

In debugging a multimedia application with a third-party library, it is found that the iOS6.1.2 version must be crash, showing symbol not found: ___sincosf_stret error, this error is rare.

As shown, from the hint, there was an error in delaying the binding of the symbol table, and no ___sincosf_stret was found. And then very thoughtful hint libsystem.b.dylib this dynamic library, because did not join libsystem.b.dylib this dynamic library, the first reaction is to join this dynamic library. Compile and run without slightest change.

Carefully think, indeed there is no reason, this hint a bit inexplicable, so the internet search, found someone in iOS with OPENCV, also encountered a similar problem, someone Huitie said change command line tool, Dead Horse when live horse medicine tried, the problem as usual. But this post is older, when Xcode5 just came out, or DP version of the time things, the main reason is not the compiler option, but the third-party library compatibility, which gave me a thought, will I also be a third-party library compatibility problem?

Then I tried to run on the iOS7, and sure enough, it was normal to run, which means it really had something to do with the SDK because the third-party library was compiled from the 7.1 SDK.

This problem is due to the fact that the deploy of target error on iOS7 is on a lower version, and updating the third-party library solves the problem


Debugging in the face of strange problems is to be more observation, careful analysis, but also need to look at other people's practice.

iOS under symbol not found: ___sincosf_stret error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.