question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expo EAS compilation error (iOS only)

See original GitHub issue

Describe the bug Since updating to the latest version (4.1.3) I can’t compile for iOS anymore. Android still compiles without error.

(node_modules/react-native-date-picker/ios/RNDatePicker/DatePicker.m:15:29)

  13 | @interface DatePicker ()
  14 | 
> 15 | @property (nonatomic, copy) RCTBubblingEventBlock onChange;
     |                             ^ declaration of 'RCTBubblingEventBlock' must be imported from module 'React.RCTComponent' before it is required
  16 | @property (nonatomic, assign) NSInteger reactMinuteInterval;
  17 | 
  18 | @end 

Expected behavior Should compile.

To Reproduce Create Project Install react-native-date-picker 4.1.3 eas build --profile development

Smartphone:

  • OS: iOS
  • React Native version 0.64.12
  • react-native-date-picker version 4.1.3

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:10
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
devcoderbuzzcommented, Jan 5, 2022

Any one merging this back to main so that it works for us?

2reactions
chiubakacommented, Feb 24, 2022

Yeah, I just pinned "expo": "^44.0.6" in package.json and verified in my yarn.lock that I’m getting 44.0.6. Still appear to be building with this issue. Going to try the patch suggested above.

Read more comments on GitHub >

github_iconTop Results From Across the Web

EAS build failing for Expo 46 iOS when using @stripe ... - GitHub
The builds work fine locally, and it is only since I upgraded this dependency that I have started getting this problem. Managed or...
Read more >
Troubleshooting build errors and crashes - Expo Documentation
This particular error means that the app is importing ./src/Routes and it is not found. The cause could be that the filename case...
Read more >
Expo eas build ios fails at "Run fastline" - Stack Overflow
I did npx expo prebuild -c; After that I did eas build --platform ios; The only thing I changed after prebuild is at...
Read more >
Getting error when building iOS app by using EAS (Expo ...
When I build the iOS app using EAS, I get this error, which is coming from Swift Pods, which is seemed to have...
Read more >
How to Build and Distribute Any React Native App With New ...
Unlike the classic Expo build service ( expo build:[android|ios] ), EAS ... Tip: alternatively, you can just run eas build to both configure ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found