Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hangs with no error #2

Closed
irfaan opened this issue Jun 19, 2015 · 1 comment
Closed

Hangs with no error #2

irfaan opened this issue Jun 19, 2015 · 1 comment

Comments

@irfaan
Copy link

irfaan commented Jun 19, 2015

Running on both simulator and device (with update to RCTDeviceUUID.m), DeviceUUID just hangs and does not log the uuid to the console. Any ideas on how to begin debugging this?

Update
I needed to perform the following steps (adapted from react-native-keyboardevents):

In XCode, in the project navigator, right click Libraries ➜ Add Files to [your project's name] Go to node_modules ➜ react-native-device-uuid and add the .xcodeproj file

In XCode, in the project navigator, select your project. Add the lib*.a from the react-native-device-uuid project to your project's Build Phases ➜ Link Binary With Libraries. Select the .a file. Go to the Build Settings tab. Make sure 'All' is toggled on (instead of 'Basic'). Look for Header Search Paths and make sure it contains both $(SRCROOT)/../react-native/React and $(SRCROOT)/../../React - mark both as recursive.

@lazywei
Copy link
Owner

lazywei commented Jun 20, 2015

Good to know you resolve the problem! In fact, that's the how React Native suggest us to add a library to the app. Please refers to here: https://facebook.github.io/react-native/docs/linking-libraries.html#content
I'll add your steps to README as troubleshooting, Thanks @irfaan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants