ursachec / CPAProxy

A thin Objective-C wrapper around Tor.
Other
161 stars 49 forks source link

undefined symbols -> add 'z' to the podspec library #88

Open rainwolf opened 5 years ago

rainwolf commented 5 years ago

I ran into undefined symbols when compiling my app with the latest CPAPproxy, and resolved this by adding 'z'to the list of libraries in the podspec. Other solutions included adding the linker flag -lz or adding libz.dylib in the build phases (Link binary with libraries) to the CPAProxy pod in XCode.