Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'BEMCheckBox.h' file not found after upgrade 0.5.12 to 0.5.13 #182

Open
FlyingForYouGH opened this issue Nov 2, 2022 · 12 comments
Open
Labels

Comments

@FlyingForYouGH
Copy link

FlyingForYouGH commented Nov 2, 2022

EDIT: fix temporaire ici

After rebuilding my project this error appears with the new version.

I've try to clean all my build and folder but unable to fix the problem.

My package.json dependencies :
"dependencies": {
"@intercom/intercom-react-native": "^3.0.1",
"@react-native-async-storage/async-storage": "^1.17.3",
"@react-native-community/checkbox": "^0.5.13",
"@react-native-community/datetimepicker": "^6.1.3",
"@react-native-community/push-notification-ios": "^1.10.1",
"@react-native-firebase/app": "^14.9.4",
"@react-native-firebase/messaging": "^14.9.4",
"@react-native-mapbox-gl/maps": "^8.6.0-beta.0",
"@react-native-picker/picker": "^2.4.1",
"@react-navigation/bottom-tabs": "^6.3.1",
"@react-navigation/native": "^6.0.10",
"@react-navigation/native-stack": "^6.6.2",
"@reduxjs/toolkit": "^1.8.1",
"@rneui/base": "^4.0.0-rc.2",
"@rneui/themed": "^4.0.0-rc.2",
"axios": "^0.27.2",
"moment": "^2.29.3",
"react": "17.0.2",
"react-native": "0.68.1",
"react-native-background-fetch": "^4.1.5",
"react-native-background-geolocation": "^4.9.3",
"react-native-blob-util": "^0.16.0",
"react-native-extended-stylesheet": "^0.12.0",
"react-native-geolocation-service": "^5.3.0-beta.4",
"react-native-image-crop-picker": "^0.38.0",
"react-native-image-picker": "^4.8.1",
"react-native-linear-gradient": "^2.5.6",
"react-native-map-link": "^2.9.3",
"react-native-pager-view": "^5.4.15",
"react-native-pdf": "^6.5.0",
"react-native-permissions": "^3.3.1",
"react-native-popover-view": "^5.0.1",
"react-native-push-notification": "^8.1.1",
"react-native-safe-area-context": "^4.2.5",
"react-native-screens": "^3.13.1",
"react-native-svg": "^12.3.0",
"react-native-tab-view": "^3.1.1",
"react-native-vector-icons": "^9.1.0",
"react-native-woodpicker": "^0.3.17",
"react-redux": "^8.0.1",
"react-router-redux": "^5.0.0-alpha.9",
"redux": "^4.2.0"
},
"devDependencies": {
"@babel/core": "^7.17.9",
"@babel/runtime": "^7.17.9",
"@react-native-community/eslint-config": "^3.0.1",
"@redux-devtools/core": "^3.12.0",
"babel-jest": "^28.0.2",
"eslint": "^8.14.0",
"jest": "^28.0.2",
"metro-react-native-babel-preset": "^0.70.2",
"react-native-svg-transformer": "^1.0.0",
"react-test-renderer": "17.0.2"
},

@carlosq-ordering
Copy link

Same for me!!!

@nicholaslee119
Copy link
Collaborator

nicholaslee119 commented Nov 3, 2022

I don't think this issue is caused by 0.5.13.
Could you please try this solution by @waqaskhanroghani

#35 (comment)

@harith-a
Copy link

harith-a commented Nov 3, 2022

happened to me too, moving back to 0.5.12 as a workaround.

@MuhammadAbdullah54321
Copy link

facing same issue

@karansodhi
Copy link

add pod 'BEMCheckBox' to ios/podfile of your project
works

@EashSundar
Copy link

Add this line in podfile. And do pod install. This will fix and it's a temp fix.

pod 'BEMCheckBox'

@FlyingForYouGH
Copy link
Author

I don't think this issue is caused by 0.5.13. Could you please try this solution by @waqaskhanroghani

#35 (comment)

I tried everything even starting from a clean project.
In the meantime #182 (comment) solution works

asafkorem added a commit to wix/Detox that referenced this issue Nov 3, 2022
Version 0.5.13 is broken, let's follow on this issue:
react-native-checkbox/react-native-checkbox#182

We can unlock it again once there will be a proper solution.
asafkorem added a commit to wix/Detox that referenced this issue Nov 3, 2022
Version 0.5.13 is broken, let's follow on this issue:
react-native-checkbox/react-native-checkbox#182

We can unlock it again once there will be a proper solution.
@billnbell
Copy link
Contributor

yeah this has issues, same for me.

@billnbell
Copy link
Contributor

billnbell commented Nov 4, 2022

This should be fixed with RNCCheckbox.podspec file.

require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
  s.name         = "RNCCheckbox"
  s.version      = package['version']
  s.summary      = package['description']
  s.license      = package['license']

  s.authors      = package['author']
  s.homepage     = package['homepage']

  s.description  = package['description']
  s.platform     = :ios, "9.0"

  s.source       = { :git => "https://github.com/react-native-community/react-native-checkbox.git", :tag => "master" }
  s.source_files  = "ios/**/*.{h,m}"
  s.dependency 'BEMCheckBox', '~> 1.4'

  s.dependency "React-Core"

end

@billnbell
Copy link
Contributor

Patch file patches/@react-native-community+checkbox+0.5.13.patch

diff --git a/node_modules/@react-native-community/checkbox/RNCCheckbox.podspec b/node_modules/@react-native-community/checkbox/RNCCheckbox.podspec
index 9849926..0047447 100644
--- a/node_modules/@react-native-community/checkbox/RNCCheckbox.podspec
+++ b/node_modules/@react-native-community/checkbox/RNCCheckbox.podspec
@@ -16,6 +16,7 @@ Pod::Spec.new do |s|
 
   s.source       = { :git => "https://github.com/react-native-community/react-native-checkbox.git", :tag => "master" }
   s.source_files  = "ios/**/*.{h,m}"
+  s.dependency 'BEMCheckBox', '~> 1.4'
 
   s.dependency "React-Core"

@billnbell
Copy link
Contributor

#183

@nicholaslee119
Copy link
Collaborator

Thanks to @billnbell
this fix was released in v0.5.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants