datatheorem / datatheorem/TrustKit

build error on ios libTrustKit_Static.a

Open
#305 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
2.1k
Forks
381
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the iOS build with React Native 0.68.2, Xcode 14.2, TrustKit 3.0.1, and CocoaPods 1.12.0, then inspect the build configuration and linker input for libTrustKit_Static.a. No source file or test is named; done means the project builds successfully without the missing-library linker error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c, react-native
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.