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

IOS: The following build commands failed

Open lennox02 opened this issue 2 years ago • 2 comments

The following build commands failed:

CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'react-native-tiktok' from project 'Pods')

CompileSwift normal x86_64 /Users/myname/Documents/GitHub/my-project/node_modules/react-native-tiktok/ios/Tiktok.swift (in target 'react-native-tiktok' from project 'Pods') (2 failures)

I've followed all the installation instruction (including adding a swift bridge file), but I'm still unable to build. I've tried removing the node_modules and pods and doing a fresh install, but with no success. Could anyone point in me in the right direction on how to resolve this?

lennox02 avatar Oct 24 '22 17:10 lennox02

@lennox02 What's your XCode and Swift version?

Lg0gs avatar Oct 25 '22 06:10 Lg0gs

sorry for chiming in, I do have almost the same issue with my RN build (just with arm architecture) The following build commands failed: CompileSwift normal arm64 /Users/pavelluzanov/Developer/AnyMind/casting_asia_influencer_app/node_modules/react-native-tiktok/ios/Tiktok.swift (in target 'react-native-tiktok' from project 'Pods') SwiftCompile normal arm64 Compiling\ Tiktok.swift /Users/pavelluzanov/Developer/AnyMind/casting_asia_influencer_app/node_modules/react-native-tiktok/ios/Tiktok.swift (in target 'react-native-tiktok' from project 'Pods')

my Xcode - Version 14.1 (14B47b) Swift - swift-driver version: 1.62.15 Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51) Target: arm64-apple-macosx13.0 I'm on Ventura 13.1 (22C65)

gitpash avatar Jan 13 '23 07:01 gitpash