corymsmith / react-native-icons

Quick and easy icons in React Native
MIT License
1.14k stars 141 forks source link

IOS fails on emulator start #128

Closed bpeters closed 8 years ago

bpeters commented 8 years ago

When I include the Icon component anywhere in my IOS app it bails on start up landing on this exception:

DISPATCH_INLINE DISPATCH_ALWAYS_INLINE DISPATCH_NONNULL_ALL DISPATCH_NOTHROW
void
_dispatch_once(dispatch_once_t *predicate, dispatch_block_t block)
{
    if (DISPATCH_EXPECT(*predicate, ~0l) != ~0l) {
        dispatch_once(predicate, block);
    }
}
#undef dispatch_once
#define dispatch_once _dispatch_once
#endif

Any thoughts? I have tried linking lib again and remove/adding the icons back into xcode no luck.

bpeters commented 8 years ago

I got the font's working, but had to individually add the fontAwesome icon files into the Copy Bundle Resources for it to work. No idea why :cake: