I have created one custom library called 'Library.dylib',now I am trying to add that dylib file in another iOS project and it is giving following error,
dyld: Library not loaded: @executable_path/Library.dylib Referenced from: /Users/xxxx/Library/Developer/CoreSimulator/Devices/4CCFE5F7-494B-41DE-AEB9-5040418518B4/data/Containers/Bundle/Application/A97A1947-80B5-9AA0-B46F-C11E25A94553/DyLibTest.app/DyLibTest Reason: image not found
In Mac app if we copy it in /usr/lib/ path it is working, but not in iOS app.
Please let me know how to use custom dylib in iOS application?
FYI I want to use only dynamic linking not static linking(.a)

