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.

No member named 'cancelButtonTintColor' in 'JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions'

See original GitHub issue

Description

How to fix this error. I have created simple project with latest version and when try to build the project via Xcode it generate error?

Version

0.67.3

Output of npx react-native info

System: OS: macOS 11.5.2 CPU: (8) x64 Intel® Core™ i7-4980HQ CPU @ 2.80GHz Memory: 83.30 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 14.18.2 - /usr/local/opt/node@14/bin/node Yarn: 1.22.15 - /usr/local/bin/yarn npm: 6.14.15 - /usr/local/opt/node@14/bin/npm Watchman: Not Found Managers: CocoaPods: 1.11.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3 Android SDK: Not Found IDEs: Android Studio: 2020.3 AI-203.7717.56.2031.7583922 Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild Languages: Java: 15.0.2 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.67.3 => 0.67.3 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

Please init new react native project with command and try to build the project in the xcode after pod install

Snack, code example, screenshot, or link to a repository

Uploading Screenshot 2022-02-24 at 11.34.31 AM.png

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:8
  • Comments:11

github_iconTop GitHub Comments

12reactions
JoseVovcommented, Mar 26, 2022

If you are installing new modules do the following:

  1. Ensure to go to the IOS folder and run pod install.
  2. Open the .workspace file and run CMD + SHIFT + K (Clean the project)
  3. Run Again.
10reactions
vsmobiledevscommented, Mar 2, 2022

You could create that into the library source or you could avoid it and use the same UIColor option just above it.

I removed: ( [RCTConvert UIColor:options.cancelButtonTintColor() ? @( options.cancelButtonTintColor()) : nil];* ) and replace it with: ( *[RCTConvert UIColor:options.tintColor() ? @(options.tintColor()) : nil]; )

my line now looks like:

UIColor *cancelButtonTintColor =
[RCTConvert UIColor:options.tintColor() ? @(*options.tintColor()) : nil];

it is not the better way, but you can do it in the meanwhile this is fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No member named 'cancelButtonTintColor' in 'JS ...
How to fix this error. I have created simple project with latest version and when try to build the project via Xcode it...
Read more >
[iOS 15] Semantic Issue. No member named ... - GitHub
iOS xCode 13 Build failed: No member named 'cancelButtonTintColor' in 'JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions'.
Read more >
[Resolve]-No member named 'cancelButtonTintColor' in 'JS
Coding example for the question No member named 'cancelButtonTintColor' in 'JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions'
Read more >
No member named 'cancelButtonTintColor' in 'JS
No member named 'cancelButtonTintColor' in 'JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions' ... How to fix this error. I have created simple ...
Read more >
Resolved: No member named 'cancelButtonTintColor' in 'JS ...
Resolved: No member named 'cancelButtonTintColor' in 'JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions' - Question: ...
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