Latest release (1.9.0) breaks build
See original GitHub issueDescription
When running npx react-native run-ios
the build fails with the following errors:
/Users/xxx/MyApp/node_modules/react-native-gesture-handler/ios/Handlers/RNPanHandler.m:212:18:
error: property 'allowedScrollTypesMask' not found on object of type 'RNBetterPanGestureRecognizer *'
recognizer.allowedScrollTypesMask = UIScrollTypeMaskAll;
^
/Users/xxx/MyApp/node_modules/react-native-gesture-handler/ios/Handlers/RNPanHandler.m:212:43:
error: use of undeclared identifier 'UIScrollTypeMaskAll'
recognizer.allowedScrollTypesMask = UIScrollTypeMaskAll;
Downgrading to 1.8.0 solves the issue.
Package versions
- React: 16.13.1
- React Native: 0.63.2
- React Native Gesture Handler: 1.9.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:14 (5 by maintainers)
Top Results From Across the Web
SciPy 1.9.0 Release Notes — SciPy v1.9.3 Manual
SciPy 1.9.0 is the culmination of 6 months of hard work. It contains many new features, numerous bug-fixes, improved test coverage and better...
Read more >Semantic Versioning 2.0.0 | Semantic Versioning
As soon as you realize that you've broken the Semantic Versioning spec, fix the problem and release a new minor version that corrects...
Read more >Changelog | Meteor API Docs
Patch release to update Node and npm versions. Breaking Changes. N/A. Migration Steps. N/A. Meteor Version Release. meteor ...
Read more >Core
Version 1.9.0 -alpha04 is built against a pre-release Android SDK and does not have a publicly-available commit history. Bug Fixes. Revert deprecation ...
Read more >MCUboot release notes
The 1.9.0 release of MCUboot contains various bug fixes, improves support on some recent targets, and adds support for devices with a write...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Using an older version of
Xcode - 11.3.1
, I can confirm I had to use version 1.8.0 (not 1.9.0) to avoid this error.Could you try updating Xcode to the 11.4? Looks like
allowedScrollTypesMask
attribute is supported since 13.4+ iOS SDK which is included in the 11.4 Xcode release.11.4 was released in March (8 months ago) so I’m closing this as a configuration issue.