Getting a problem when using .framework which has a .a static library

I have a .framework file that worked before the inclusion of other .a/.framework files.

My structure was built successfully, but after adding my .framework file to another project, it does not work.

After adding other .a and .framework in the framework building phases, I get this error.

 0 0x103014342 __assert_rtn + 144 1 0x10307d28e ld::tool::OutputFile::addressOf(ld::Internal const&, ld::Fixup const*, ld::Atom const**) + 262 2 0x10307ef54 ld::tool::OutputFile::applyFixUps(ld::Internal&, unsigned long long, ld::Atom const*, unsigned char*) + 3712 3 0x103083693 ld::tool::OutputFile::writeAtoms(ld::Internal&, unsigned char*) + 489 4 0x10307c59e ld::tool::OutputFile::writeOutputFile(ld::Internal&) + 818 5 0x10307669c ld::tool::OutputFile::write(ld::Internal&) + 178 6 0x1030151c0 main + 1164 7 0x7fff8d04c5ad start + 1 A linker snapshot was created at: /tmp/SDKsIntegrated_Test-2016-03-01-190200.ld-snapshot ld: Assertion failed: (_mode == modeFinalAddress), function finalAddress, file /Library/Caches/com.apple.xbs/Sources/ld64/ld64-253.9/src/ld/ld.hpp, line 749. clang: error: linker command failed with exit code 1 (use -v to see invocation) 

Please note that before adding other .a and .framework it works.

Note. I do almost the same thing as appodeal.com. Thanks to the community.

+7
ios static-libraries ios-frameworks
source share
1 answer

As mentioned here , the same problem was resolved by changing the “Strip Style” from “All Characters” to “Non-Global Symbols,” which allowed the use of global symbols for use in categories.

+3
source share

All Articles