Skip to content

Commit

Permalink
Workaround for runtime linker error: dyld: Symbol not found: _NSURLIs…
Browse files Browse the repository at this point in the history
  • Loading branch information
onomated committed May 30, 2012
1 parent a9429b1 commit 57c298a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Classes/ShareKit/Core/SHK.m
Expand Up @@ -38,6 +38,11 @@
#import <MessageUI/MessageUI.h>
#include <sys/xattr.h>

// +++ Working around <rdar://problem/11017158>> by forcing the symbol to be weak import
// and prevent "dyld: Symbol not found: _NSURLIsExcludedFromBackupKey" when running
// in iOS ver < 5.1
extern NSString * const NSURLIsExcludedFromBackupKey __attribute__((weak_import));

NSString * SHKLocalizedStringFormat(NSString* key);
NSString * const SHKHideCurrentViewFinishedNotification = @"SHKHideCurrentViewFinished";

Expand Down

0 comments on commit 57c298a

Please sign in to comment.