react-native-ble-plx: Xcode 13 error builds
Hello,
I noticed my Xcode updated to 13

And right after that I started getting this error at build:

I run pod update
Downloading dependencies
Installing MultiplatformBleAdapter 0.1.7 (was 0.1.6)
Installing react-native-ble-plx 2.0.2 (was 2.0.1)
Generating Pods project
Integrating client project
Pod installation complete! There are 81 dependencies from the Podfile and 71 total pods installed.
But same error
Any guess?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 20
- Comments: 20 (2 by maintainers)
patch-package-npm i patch-package --save-devpatches/react-native-ble-plx+2.0.2.patchyarn patch-packageto your “postinstall” script in yourpackage.jsonThis points to a fork that @below released while we wait
More info in https://www.npmjs.com/package/patch-package, but basically you make whatever changes you need under
node_modulesthen runnpx patch-package <package you edited>. This generates a diff which then is expressed whenever you run yarn install. In this case, you just need to upgrade whatMultiplatformBleAdaptercocoapod thereact-native-ble-plxpoints to, from 0.1.7 to 0.1.9. 0.1.9 works with XCode 13, 0.1.7 doesn’tThis has been fixed with the 2.0.3 release. You can close this issue.
Any roadmap for this bug?
Thanks for the heads up. Ill check that one!
Any news?
@diogoviannaaraujo - I forgot step 4. Update your podfile to point to new cocoapod and you’ll be good to go