By default all frameworks are being loaded from ~/Library/Frameworks and that’s fine for development purposes, however for deployment purposes I need to find a way to load all my linked custom frameworks from the folder with the application folder or somewhere in the .app folder… Please tell me, how can I do it? Is it possible to solve this problem without loading frameworks manually?
XCode v4 has an option deployment location, but it doesn’t seem to be used (I copy compiled frameworks into /Frameworks folder via script in build phase).
I am not entirely sure what you want, but if you simply want to link a framework/lib at any location, double click on your target in xcode4, click the plus in the “Link Binary With Libraries” Section and choose “add other…“. If linking is not enough and you need to copy stuff inside your .app folder simply also add that lib to the “Copy Bundle Resource” phase. (or add an extra copy phase for that)