I have compiled a C library and created a custom framework with proper architecture. Now I include it in my project it compiles fine but when running on device it throws the error that it can't find in /Library/Frameworks/Custom.framework. I guess its looking onto the device and won't find it there. How to resolve this issue? Following is the error I get, I am compiling ghostscript for iOS: GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Fri Sep 16 06:56:50 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys003
warning: Unable to read symbols for /Library/Frameworks/Ghostscript.framework/Ghostscript (file not found).
warning: Unable to read symbols from "Ghostscript" (not yet mapped into memory).
target remote-mobile /tmp/.XcodeGDBRemote-150-78
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to process 7171 thread 0x1c03]
[Switching to process 7171 thread 0x1c03]
warning: No copy of found locally, reading from memory on remote device. This may slow down the debug session.
warning: No copy of found locally, reading from memory on remote device. This may slow down the debug session.
sharedlibrary apply-load-rules all
warning: No copy of found locally, reading from memory on remote device. This may slow down the debug session.
warning: No copy of found locally, reading from memory on remote device. This may slow down the debug session.
dyld: Library not loaded: /Library/Frameworks/Ghostscript.framework/Ghostscript
Referenced from: /var/mobile/Applications/92492A22-0DA9-49F7-98B6-D517B6E43726/App.app/app
Reason: image not found
kill