Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error on ios libTrustKit_Static.a #305

Open
R0LLeX opened this issue Apr 21, 2023 · 3 comments
Open

build error on ios libTrustKit_Static.a #305

R0LLeX opened this issue Apr 21, 2023 · 3 comments

Comments

@R0LLeX
Copy link

R0LLeX commented Apr 21, 2023

When building the project, I get the following error:
"clang: error: there is no such file or directory: '/Users/name User/Library/Developer/Xcode/DerivedData/ProjectName/Build/Products/Debug-iphonesimulator/libTrustKit_Static. a "
The Ld command failed with a non-zero exit code"

Versions :
Device: iPhone
OS: iOS 16.2
Xcode version = Xcode 14.2
TrustKit = 3.0.1

React Native Version
0.68.2

Output of npx react-native info
System:
OS: macOS 12.5
CPU: (4) x64 Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
Memory: 99.68 MB / 20.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.10.0 - ~/.nvm/versions/node/v18.10.0/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.19.2 - ~/.nvm/versions/node/v18.10.0/bin/npm
Watchman: 2023.04.03.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.12.0 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.9862592
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 11.0.16.1 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.68.2 => 0.68.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

@markph0204
Copy link

@R0LLeX How are you building the project? Commandline? Xcode with xcproj or Package.swift file?

@R0LLeX
Copy link
Author

R0LLeX commented Apr 22, 2023

I tried to build my project using the command line and also using xcode by opening the file "projectName.xcworkspace"

@markph0204
Copy link

@R0LLeX can you share the exact details you are using? There are various ways to build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants