tuya / tuya-home-ios-sdk-sample-objc

This sample demonstrates how to use Tuya Smart Home iOS SDK features in Objective-C.
https://developer.tuya.com/docs/app-development/ios-app-sdk/feature-overview?id=Ka5cgmlybhjk8
15 stars 10 forks source link

XCode 15 give this error like duplicate symbol #13

Closed amacymind closed 1 year ago

amacymind commented 1 year ago

Hello, Hello team, As in Xcode 15 when add TuyaSmartHomeKit sdk in my proejct its gives error like, duplicate symbols. I also attached screenshot for that. I used pod "TuyaSmartHomeKit" for install tuya sdk. Screenshot 2023-09-25 at 4 22 09 PM

Thanks,

taojingGino commented 1 year ago

We have fixed this issue in the latest 4.0 and 5.0 versions. If you still encounter this error after upgrading to the latest version, please provide the Podfile and Podfile.lock files

@amacymind

amacymind commented 1 year ago

Here's my pod files. podfile.zip @taojingGino

taojingGino commented 1 year ago

pod "TuyaSmartHomeKit", "~> 5.0.0"

Write it like this to fix the version @amacymind

taojingGino commented 1 year ago

source 'https://github.com/tuya/tuya-pod-specs.git'

and you need and this @amacymind

amacymind commented 1 year ago

Its gives error like, CocoaPods could not find compatible versions for pod "TuyaSmartHomeKit": In Podfile: TuyaSmartHomeKit (~> 5.0.0) Screenshot 2023-09-26 at 4 20 41 PM @taojingGino

taojingGino commented 1 year ago

it's ThingSmartHomeKit @amacymind