Can't Repro
Status Update
Comments
sy...@google.com <sy...@google.com>
sy...@google.com <sy...@google.com> #2
Thank you very much for reporting the issue. For v 4.3.1, we have released static and dynamic SDK's to minimize the symbol duplication and to speed up our SDK startup time. We are working on this failure case and will provide updates as they are available.
Meanwhile, you can use dynamic one to fix your issue. It can be downloaded here:https://developers.google.com/cast/downloads/GoogleCastSDK-ios-4.3.1_dynamic.zip (link found here: https://developers.google.com/cast/docs/developers )
Meanwhile, you can use dynamic one to fix your issue. It can be downloaded here:
wi...@gmail.com <wi...@gmail.com> #3
Hi, thank you for the response. I will definetly try the SDK from the provided link above, to confirm that the issue is no longer present.
Also it would be awesome if it can be published via CocoaPods, as it removes the need of the detailed project setup descirbed in the tutorial.
Also it would be awesome if it can be published via CocoaPods, as it removes the need of the detailed project setup descirbed in the tutorial.
sy...@google.com <sy...@google.com> #4
Thanks for the update. The dynamic SDK will not be pushed to cocoapods, however the next push to cocoapods should fix the issue. We will keep cocoapods as static and the switch to dynamic will fix the compiler errors, but you would see some runtime warnings about duplicate symbols still. Do let us know if you need any other details.
sy...@google.com <sy...@google.com>
dq...@gmail.com <dq...@gmail.com> #5
For v4.3.4 static SDK, issue still exists. Do we have any update?
wi...@gmail.com <wi...@gmail.com> #6
I can confirm that when using the 4.3.5 dynamic framework is working and not failing with duplicate errors issue
is...@google.com <is...@google.com>
dq...@gmail.com <dq...@gmail.com> #7
For v4.4.2 static SDK, issue still exists.
sc...@gmail.com <sc...@gmail.com> #8
Still exists for v4.4.4...
ch...@gmail.com <ch...@gmail.com> #9
Still exists for v4.4.5...
ma...@gmail.com <ma...@gmail.com> #10
Hi, any updates?
nh...@codelink.io <nh...@codelink.io> #11
any updates on the cocoapods, this error still exists for v4.4.5
da...@gmail.com <da...@gmail.com> #12
any update on this? still happening on 4.4.6
ha...@gmail.com <ha...@gmail.com> #13
Do we have any update on this?
bk...@oreilly.com <bk...@oreilly.com> #14
I'd like to know more about an update on this for v4.4.6 — we've got iOS 13 users experiencing some issues and I'd like to update to the latest static version of the SDK, but this is preventing us from doing so. We can include the dynamic framework in the meantime, but all of the rest of our dependencies are sourced through CocoaPods, so it's a pretty inconvenient workaround.
be...@gmail.com <be...@gmail.com> #15
FWIW, it seems this is no longer an issue in v4.5.0 / iOS 14 / RN 0.63.2
ar...@google.com <ar...@google.com> #16
Please do re-open if its still an issue.
aa...@gmail.com <aa...@gmail.com> #17
Comment has been deleted.
Description
Please answer all relevant questions below so that we have enough information to investigate your issue. Providing incomplete information will delay investigation of your issue.
Bug Report Template
Describe the issue: expected vs. observed behavior and/or appearance.
The project fails to build.
List steps to reproduce the issue, if known.
Which version of the Cast SDK for iOS are you using?
google-cast-sdk - 4.3.1
glog - 0.3.5
On which version(s) of iOS do you observe the problem?
Used 11.4 - But not relevant for this issue
On which device type(s) (iPad, iPhone, etc.) do you observe the problem?
iPhoneX and iPhone8 Plus - But not relevant
Do you observe the problem when running on a physical device, or the simulator, or both?
Both
Fix:
Downgrade google-cast-sdk to 4.3.0 and the project will build and run.
Reproducible example:
The output of the build process:
duplicate symbol __ZN3fLB18FLAGS_nolog_prefixE in:
/Users/user/Documents/Apps/test-rn/RNAwesomeProject/ios/Pods/google-cast-sdk/GoogleCastSDK-ios-4.3.1_static/GoogleCast.framework/GoogleCast(logging_f31ccd6e0091bd60840b95581a5633bf.o)
/Users/user/Library/Developer/Xcode/DerivedData/AwesomeProject-bcowxhqhamztzfgnadpnfmbuniwk/Build/Products/Debug-iphonesimulator/glog/libglog.a(logging.o)
duplicate symbol __ZN3fLB16FLAGS_log_prefixE in:
/Users/user/Documents/Apps/test-rn/RNAwesomeProject/ios/Pods/google-cast-sdk/GoogleCastSDK-ios-4.3.1_static/GoogleCast.framework/GoogleCast(logging_f31ccd6e0091bd60840b95581a5633bf.o)
/Users/user/Library/Developer/Xcode/DerivedData/AwesomeProject-bcowxhqhamztzfgnadpnfmbuniwk/Build/Products/Debug-iphonesimulator/glog/libglog.a(logging.o)
duplicate symbol __ZN3fLB28FLAGS_nosymbolize_stacktraceE in:
/Users/user/Documents/Apps/test-rn/RNAwesomeProject/ios/Pods/google-cast-sdk/GoogleCastSDK-ios-4.3.1_static/GoogleCast.framework/GoogleCast(examine_stack_04a326263e981a36fcf91c06d43ac91b.o)
/Users/user/Library/Developer/Xcode/DerivedData/AwesomeProject-bcowxhqhamztzfgnadpnfmbuniwk/Build/Products/Debug-iphonesimulator/glog/libglog.a(utilities.o)
duplicate symbol __ZN3fLB26FLAGS_symbolize_stacktraceE in:
/Users/user/Documents/Apps/test-rn/RNAwesomeProject/ios/Pods/google-cast-sdk/GoogleCastSDK-ios-4.3.1_static/GoogleCast.framework/GoogleCast(examine_stack_04a326263e981a36fcf91c06d43ac91b.o)
/Users/user/Library/Developer/Xcode/DerivedData/AwesomeProject-bcowxhqhamztzfgnadpnfmbuniwk/Build/Products/Debug-iphonesimulator/glog/libglog.a(utilities.o)
duplicate symbol __ZN3fLI9FLAGS_novE in:
/Users/user/Library/Developer/Xcode/DerivedData/AwesomeProject-bcowxhqhamztzfgnadpnfmbuniwk/Build/Products/Debug-iphonesimulator/glog/libglog.a(vlog_is_on.o)
/Users/user/Documents/Apps/test-rn/RNAwesomeProject/ios/Pods/google-cast-sdk/GoogleCastSDK-ios-4.3.1_static/GoogleCast.framework/GoogleCast(vlog_is_on_d296ce482b5042b2314dc169f2626462.o)
duplicate symbol __ZN3fLI7FLAGS_vE in:
/Users/user/Library/Developer/Xcode/DerivedData/AwesomeProject-bcowxhqhamztzfgnadpnfmbuniwk/Build/Products/Debug-iphonesimulator/glog/libglog.a(vlog_is_on.o)
/Users/user/Documents/Apps/test-rn/RNAwesomeProject/ios/Pods/google-cast-sdk/GoogleCastSDK-ios-4.3.1_static/GoogleCast.framework/GoogleCast(vlog_is_on_d296ce482b5042b2314dc169f2626462.o)
duplicate symbol __ZN3fLS13FLAGS_vmoduleE in:
/Users/user/Library/Developer/Xcode/DerivedData/AwesomeProject-bcowxhqhamztzfgnadpnfmbuniwk/Build/Products/Debug-iphonesimulator/glog/libglog.a(vlog_is_on.o)
/Users/user/Documents/Apps/test-rn/RNAwesomeProject/ios/Pods/google-cast-sdk/GoogleCastSDK-ios-4.3.1_static/GoogleCast.framework/GoogleCast(vlog_is_on_d296ce482b5042b2314dc169f2626462.o)
ld: 7 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)