-
Notifications
You must be signed in to change notification settings - Fork 498
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
Xcode 13 error builds #899
Comments
Seems like they're working on a fix: but appears it hasn't been released yet |
Thanks for the heads up. Ill check that one! |
Seeing this as well, any idea when they will release the fix? |
This has made impossible to develop on iOS 15 since XCode 12 does not accept iOS 15 devices as a development target. |
Maybe it wasn't clear, but can be fixed while they prepare release through patch package dotintent/MultiPlatformBleAdapter#79
|
Hi @wildseansy sorry to bother you but could you indicate what are the steps to follow to solve the error? Reading and replicating what was said in the thread you shared, I can't solve the problem. |
diff --git a/node_modules/react-native-ble-plx/react-native-ble-plx.podspec b/node_modules/react-native-ble-plx/react-native-ble-plx.podspec
index def210f..0a92dcc 100644
--- a/node_modules/react-native-ble-plx/react-native-ble-plx.podspec
+++ b/node_modules/react-native-ble-plx/react-native-ble-plx.podspec
@@ -17,5 +17,5 @@ Pod::Spec.new do |s|
s.compiler_flags = '-DMULTIPLATFORM_BLE_ADAPTER'
s.dependency 'React'
- s.dependency 'MultiplatformBleAdapter', '0.1.7'
+ s.dependency 'MultiplatformBleAdapter', '0.1.9'
end
{
"scripts": {
"postinstall": "yarn patch-package",
}
}
pod 'MultiplatformBleAdapter', :git => 'https://github.com/below/MultiPlatformBleAdapter', :tag => '0.1.9' This 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
|
@wildseansy I've been trying doing the patch on postinstall but when running
Checking the Cocoapods spec repo I could find the 0.1.9 version available yet. |
@diogoviannaaraujo - I forgot step 4. Update your podfile to point to new cocoapod and you'll be good to go
|
Great, thanks that worked. |
And you'll probably need to
|
adding patch for podspec and also adding as pod bleAdapter is the working solution for now. Thanks for the help |
It looks like the MultiPlatformBleAdapter library has already released version 0.1.9 with the fix. If possible, can we get a new react-native-ble-plx version with these fixes? Thanks! The way i fixed it, at least until the fixes get to Cocoapods, is by replacing the library's folder (Pods/MultiplatformBleAdapter) with a clone from the 0.1.9 release (make sure the names match). Then, run 'pod install' and it should work for now. |
This issue can be solved by merging the pull request: #900 |
Any roadmap for this bug? |
Any news? |
This has been fixed with the 2.0.3 release. You can close this issue. |
2.0.3 dont work for me. I have the same issue again |
Hi everyone! The issue with Xcode 13 was fixed in the 2.0.3 version! @LucasHimelfarb can you give more details about your Issue? |
At this point, the problem seems to be solved so I close this issue. If anyone still has problems please report a new issue. |
Hello,
I noticed my Xcode updated to 13
![Screenshot 2021-09-22 at 16 07 46](https://user-images.githubusercontent.com/49196314/134359257-7f0f021b-7fb8-4850-ab39-96060b46b62f.png)
And right after that I started getting this error at build:
I run pod update
But same error
Any guess?
The text was updated successfully, but these errors were encountered: