React-native: RCTTextField build fails iOS

Created on 31 Mar 2018  Â·  11Comments  Â·  Source: facebook/react-native

When trying to build with the latest Xcode (Version 9.3 (9E145)) to iOS 11.3 iPhone X it fails with this:

/Users/*****/node_modules/react-native/Libraries/Text/RCTTextField.m:131:108: Values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead

RCTLogWarn(@"Native TextInput(%@) is %zd events ahead of JS - try to make your JS faster.", self.text, eventLag);

"react-native": "0.43.2"

Anybody knows about this anything?

iOS Fixed Locked

All 11 comments


Thanks for posting this! It looks like your issue may be incomplete. Are all the fields required by the Issue Template filled out?

If you believe your issue contains all the relevant information, let us know in order to have a maintainer remove the No Template label. Thank you for your contributions.

How to Contribute • What to Expect from Maintainers

At this version of RN, there's no info so this is all the info :)

Sometimes it's RCTImage, RCTImageCache.

me too

Same issue here. I am on 42.3 though. The app builds out to an simulator but I can not do a release build.

I am wondering it the XCode update that came out April 1, 2018 is the culprit.

edit - Just downloaded XCode 9.2 and was able to build a release. It seems something in 9.3 broke something.

Same issue here. I'm using RN 0.44

The app runs well in debug mode. But not able to build in release

These are substantially old versions of RN. Please let us know if this is reproduced in 0.54.

Same issue here. I'm using RN 0.49

@hramos this thread is a duplicate of https://github.com/facebook/react-native/issues/18638

You'll need to update to a more recent RN release, such as 0.54 or 0.55.

In my case, I can build with in cli "npm run ios".

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DreySkee picture DreySkee  Â·  3Comments

despairblue picture despairblue  Â·  3Comments

lazywei picture lazywei  Â·  3Comments

axelg12 picture axelg12  Â·  3Comments

TrakBit picture TrakBit  Â·  3Comments