Chris R.
Chris R.

Reputation: 572

libstdc++.6.dylib not found when creating static library in xCode

I'm trying to rebuild an old app (still available on the store) to change some minor settings. I re-opened the project I didn't touch for a couple of years and when trying to build it I have the following error :

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file : /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/usr/lib/libstdc++.6.dylib (No such file or Directory)

I have this error building a static library used by the app. Any idea ?

Upvotes: 1

Views: 1256

Answers (1)

Chris R.
Chris R.

Reputation: 572

Ok I feel dumb now. there was a ref of libstdc++.6.dylib in the project of the static lib. Looks like it builds fine now that I've just removed it (except from some signing issues) Thank Milan

Upvotes: 2

Related Questions