Error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/lib/libz.tbd is not an object file (not allowed in a library)
If I replace libz.dylib
with libz.tbd
, xcode shows this bug. My project is a Cocoa Touch Static Library.
I found the solution here: https://forums.developer.apple.com/thread/4572
To summarize:
It isn't ideal because it bypasses the GUI for managing the linked libraries in your project, but it works.
The below steps solved the issue. Reference solution
As per this article:
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