I know this is an old question, but if someone is still looking for an answer, you can use Loose Link to indicate that some libraries are optional.
See this answer for a weak / optional link in Xcode 4
, , ,
#if TARGET_IPHONE_SIMULATOR
NSLog(@"I'm in the simulator");
#endif
,
[[UIDevice currentDevice] model]
, .