If you save GData.framework, you need to make sure that this is not a required infrastructure, but a weak structure. A weak environment means that the application will not require it at the first start and will only try to load it when the function calls the infrastructure, but in your case, since the library is statically compiled, the functions that are called will be allowed without the need to load the framework. (Note: C object messages are function calls at runtime ...)
To do this, try the following:
Double-click the application target (as before)
Check out the General tab this time.
Find GData.framework and change it from "Required" to "Weak"
You probably get compilation errors without adding a framework because the GDATA header files are not allowed. You could also put a link to the "header files" in the "Header Search Path". Instead, you will not need to add a framework.
Unrelated to the foregoing, I forgot one more thing before. Add -ObjC to your Other Linker Flag.
source share