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.

Latest release (1.9.0) breaks build

See original GitHub issue

Description

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:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

15reactions
Dror-Barcommented, Dec 29, 2020

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.

5reactions
jakub-gonetcommented, Nov 24, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

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