-
Notifications
You must be signed in to change notification settings - Fork 344
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
Cannot build v5.0.0 example app on Xcode13 macOS 11.6 #422
Comments
Build normally on: @truonghoangduy did you run pod install inside ios/ folder before building? |
I am able to build it without problems. Can you run |
@remonh87 @Taym95 Thank-you your guys proving me step to make sure to follow correctly. But it seem like not working! 🚫 . The error still occur any suggestion I could resolve this issue or dev environment I need to change? Flutter SDK : v2.5.3 ➡️ I'm using git clone https://github.com/PhilipsHue/flutter_reactive_ble.git and then going to example folder to run the project. Not working full CLI Log
|
Sorry, but something wrong with your setup, me, @remonh87, and our CI always building the project for ios. |
Thanks for the info I assume it as well. |
I found down it could because of a cache problem when I upgrade from 4.0.0 (Xcode12) -> 5.0.0 (Xcode13) [macOS upgrade also] seem like repair pub cache in global work
|
Hi, |
Please try to clean your flutter project, |
done that many times but still no help. |
it is working absolutely fine for android. |
Enviorment↙️
macOS : 11.6 (Big Sur lasted)
Intel Base macOS
Flutter SDK : v2.5.1
Xcode 13.0
IOS_Device : 14.6 (Real device)
flutter_reactive_ble : v5.0.0
Describe the bug
I could not build the example version in the GitHub repo, Pod library error, spec macOS 11.6 Intel base Xcode 13.0 with flutter_reactive_ble : v5.0.0 example app
To Reproduce
Smartphone / tablet
Additional context
v5.0.0 is a major bump for the library fixing BLE on IOS devices include PR #137, #251, #307, #385, #387.
Opening Xcode project, I noted the are multiple Swift compiler error, "Can't find 'peripheral' in scope."
Recently I was using the lib in v4.0.0 Xcode12 the error from null-safety form the library v4.0.0 is resolved and it work by using override in dev_dependences (Follow README instruction for Xcode 12) bump up to BigSur install fresh v5.0.0 lib with Xcode 13.0 is not working.
FAQ
Does there are problem config for building with Intel base Mac (disable build for M1 compatible).
Dose I have to change Runner.IOS Development target in my project to '13.0' or > 13.0.
Does the package required Swift compatible version like '4.2.0' or '5.0'.
Dose I have to change Pod.reactive_ble_mobile.IOS Development target in my project to '13.0' or > 13.0.
Could you describe what problem that I encounter.
"Xcode error with libarry"

"Build error log v5.0.0 reactive_ble_mobile-5.0.0"
The text was updated successfully, but these errors were encountered: