Lg0gs / react-native-tiktok

MIT License
50 stars 33 forks source link

IOS: The following build commands failed #16

Open lennox02 opened 1 year ago

lennox02 commented 1 year ago

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?

Lg0gs commented 1 year ago

@lennox02 What's your XCode and Swift version?

gitpash commented 1 year ago

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)