alwx / react-native-http-bridge

HTTP server for React Native
118 stars 78 forks source link

Fix relative path in Xcode project #4

Closed mandrigin closed 5 years ago

mandrigin commented 6 years ago

The problem:

libz.1.dylib is linked as a relative path (../../../../../libz.1.dylib). It works if the project is not too deep in the file structure. If it is deep enough, the amount of .. doesn't suffice.

The solution:

Use absolute path for the dylib, so it works no matter how deep in the hierarchy the project is.

alwx commented 5 years ago

Fixed in master already (just copied the code from status-im/react-native-http-bridge). Thanks!