Hello
When I install the library automatically/manually (I tried both) and run with Xcode I get the following Error:
ld: framework not found BleClientManager for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
After some research I found that maybe there's a problem with Carthage.
So I checked the Cartfile in myproject/node_modules/react-native-ble-plx/ios/BleClientManager
changed the line to
github "Polidea/react-native-ble-plx"
and ran
carthage update
Thats when I got the following error:
Building scheme "BleClientManager" in BleClientManager.xcodeproj
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/frank/Desktop/playground/ios/Carthage/Checkouts/react-native-ble-plx/ios/BleClientManager/BleClientManager.xcodeproj -scheme BleClientManager -configuration Release -derivedDataPath /Users/frank/Library/Caches/org.carthage.CarthageKit/DerivedData/9.0_9A235/react-native-ble-plx/v0.6.3 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES build (launched in /Users/frank/Desktop/playground/ios/Carthage/Checkouts/react-native-ble-plx)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/2c/yz87fb5n1jq64d5ypypj371r0000gn/T/carthage-xcodebuild.TQVFxW.log
I also tried
carthage update --platform ios
and
carthage update --no-use-binaries
but both fail with the same error.
Please help!
Sorry, I made a mistake in point 9 of the "manually install" section of README.md file.
I added the shell command into the wrong place.
It should look like this:
Run Script
Shell /bin/sh
1 /usr/local/bin/carthage copy-frameworks
I'm getting the same error still
Most helpful comment
Sorry, I made a mistake in point 9 of the "manually install" section of README.md file.
I added the shell command into the wrong place.
It should look like this:
Run Script
Shell
/bin/sh1
/usr/local/bin/carthage copy-frameworks