react-native-tiktok icon indicating copy to clipboard operation
react-native-tiktok copied to clipboard

Pod install "Error installing TikTokOpenSDK" v1.1.2

Open dylanjeffers opened this issue 10 months ago • 8 comments

[!] Error installing TikTokOpenSDK v1.1.2 [!] /usr/bin/curl -f -L -o /var/folders/0q/mrz9v4z52rx18zmvrc854w080000gn/T/d20250509-62886-xf2ufl/file.zip https://sf16-muse-va.ibytedtos.com/obj/tiktok-open-platform/TikTokOpenSDK.framework.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.15.2 cocoapods-downloader/2.1'

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 230 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (56) The requested URL returned error: 403

dylanjeffers avatar May 09 '25 18:05 dylanjeffers

anyone by chance aware of a workaround for this? I'm unable to deploy a bug fix to our app because of this bug.

jmad8-sc avatar May 12 '25 21:05 jmad8-sc

Seems old versions don't work via Cocoapod, try to link the SDK manually https://developers.tiktok.com/doc/getting-started-ios-quickstart-objective-c?enter_method=left_navigation refer to the Via Manual Install section

Lg0gs avatar May 13 '25 07:05 Lg0gs

How to Via Manual Install with Expo

huybuizzp avatar May 19 '25 14:05 huybuizzp

How to Via Manual Install with Expo

Did you experience this issue with Expo SDK?

Lg0gs avatar May 19 '25 15:05 Lg0gs

I got this issue: Code verifier or code challenge is invalid

development-zzp avatar May 20 '25 16:05 development-zzp

codeVerifier need to in ios

development-zzp avatar May 20 '25 19:05 development-zzp

It looks like this is connected to my problem. The issue appears to be with CocoaPods. During pod install, it tries to access a link that is no longer valid for installing TikTokOpenSDK.

#https://github.com/CocoaPods/Specs/blob/master/Specs/6/1/7/TikTokOpenSDK/5.0.15/TikTokOpenSDK.podspec.json
"source": {
   "http": "https://sf16-muse-va.ibytedtos.com/obj/tiktok-open-platform/TikTokOpenSDK.xcframework-5.0.15.zip"
}

I tried unsuccessfully to point to a valid external URL, but I'm not sure if that's the correct way to do it

#Podfile
target 'Project' do
   pod 'TikTokOpenSDK', :git => 'https://github.com/bleszerd/TikTokOpenSDK-5.0.15', :branch => 'main'
   #...

Any ideas regarding this?

bleszerd avatar May 29 '25 20:05 bleszerd

same error

Lunziyuan avatar Jun 06 '25 02:06 Lunziyuan