STK with cocoapods and Mach-O linker error "Undefined symbols for architecture armv7"
STK with cocoapods and Mach-O linker error "Undefined symbols for architecture armv7"
- Subject: STK with cocoapods and Mach-O linker error "Undefined symbols for architecture armv7"
- From: "Patrick J. Collins" <email@hidden>
- Date: Mon, 26 Oct 2015 18:24:32 -0700 (PDT)
I have a project which is using cocoapods, for a single dependency: STK
(synthesis tool kit)... Everything was working great until I wanted to
test running my app on iOS6.
As soon as I change my deployment target from 7.1 to 6.0, I can no
longer build:
Undefined symbols for architecture armv7: "std::__1::basic_ostream
>::operator<<(int)", referenced from: stk::FileRead::getMatInfo(char
>const*) in libSTK.a(FileRead.o) "std::__1::basic_ostream
>>::operator<<(unsigned short)", referenced from:
>>stk::FileRead::getWavInfo(char const*) in libSTK.a(FileRead.o)
>>"std::__1::basic_ostream >::sentry::sentry(std::__1::basic_ostream
>>>&)", referenced from:
...etc
I have tried:
* deleting derrived data
* adding libstdc++.6.0.9dylib to Compile Sources under the Pods project
* messing with the options specified in "other linker flags" for the Pods project, (some said remove -ObjC, some said add $(inherited), etc)..
* adding a C++ header file to prefix.pch
* Nothing seems to be work........... What can I do to fix this?
Patrick J. Collins
http://collinatorstudios.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden