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

Getting error: unknown command 'generate-modules-provider' after upgrading to v3.2.1 from v3.2.0 in iOS #1245

Open
2 tasks done
JJSLIoT opened this issue Oct 30, 2024 · 0 comments
Labels

Comments

@JJSLIoT
Copy link

JJSLIoT commented Oct 30, 2024

Prerequisites

  • I checked the documentation and FAQ without finding a solution
  • I checked to make sure that this issue has not already been filed

Library version

3.2.1

Platform

iOS

Setup Description

On installing pods after upgrading react-native-ble-plx from 3.2.0 to 3.2.1, it introduces these additions to the project.pbxproj file:

+		232472674514071FC976F7BF /* [Expo] Configure project */ = {
+			isa = PBXShellScriptBuildPhase;
+			alwaysOutOfDate = 1;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			inputFileListPaths = (
+			);
+			inputPaths = (
+			);
+			name = "[Expo] Configure project";
+			outputFileListPaths = (
+			);
+			outputPaths = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+			shellPath = /bin/sh;
+			shellScript = "# This script configures Expo modules and generates the modules provider file.\nbash -l -c \"./Pods/Target\\ Support\\ Files/Pods-sltestv2/expo-configure-project.sh\"\n";
+		};
+		47D1DA069F2FD158C329BE3A /* [Expo] Configure project */ = {
+			isa = PBXShellScriptBuildPhase;
+			alwaysOutOfDate = 1;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			inputFileListPaths = (
+			);
+			inputPaths = (
+			);
+			name = "[Expo] Configure project";
+			outputFileListPaths = (
+			);
+			outputPaths = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+			shellPath = /bin/sh;
+			shellScript = "# This script configures Expo modules and generates the modules provider file.\nbash -l -c \"./Pods/Target\\ Support\\ Files/Pods-<my_project>/expo-configure-project.sh\"\n";
+		};

I confirm that this issue was introduced after upgrading the version. I reverted back to the older version: 3.2.0 and the issue no longer happens. I am using expo 48.0.21.

Steps to Reproduce

  1. On expo 48.0.21 and using the above mentioned react-native version, upgrade the ble-px lib to v3.2.1
  2. Perform pod install
  3. Try to build development app for iOS

Relevant log output

error: unknown command 'generate-modules-provider'

Contents of the package.json file

Relevant libs:

"expo": "48.0.21",
"react-native": "0.71.19",
"react-native-ble-plx": "3.2.0",

Additional Information

No response

@JJSLIoT JJSLIoT added the setup label Oct 30, 2024
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

1 participant