datatheorem / TrustKit

Easy SSL pinning validation and reporting for iOS, macOS, tvOS and watchOS.
MIT License
2k stars 360 forks source link

build error on ios libTrustKit_Static.a #305

Open R0LLeX opened 1 year ago

R0LLeX commented 1 year ago

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 commented 1 year ago

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

R0LLeX commented 1 year ago

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

markph0204 commented 1 year ago

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