TrustKit icon indicating copy to clipboard operation
TrustKit copied to clipboard

TrustKitDynamic is not building

Open snake302 opened this issue 2 years ago • 1 comments

Hey,

I just installed TrustKit 3.0.3 from Swift Package Manager with Trustkit, TrustKitDynamic and TrustKitStatic.

Screenshot 2023-10-12 at 14 09 43

But when I am trying to build the project I see the TrustKitDynamic error:

No such file or directory: '/Users/myuser/Library/Developer/Xcode/DerivedData/myprojectfolder/Build/Products/Debug-iphoneos/PackageFrameworks/TrustKitDynamic.framework/TrustKitDynamic'

But the framework is there: Screenshot 2023-10-12 at 14 11 17 I tried to clear all caches, removed app, cleaned build folders, re-launched xcode, and the only one solution is to fix that is remove TrustKitDynamic from Frameworks in project settings. This is little bit confusing, that TrustKitDynamic is installing too, crashing, but not required for TrustKit usage.

Xcode Version 15.0 (15A240d) macOS Ventura 13.5 (22G74) iOS 17.0.3

snake302 avatar Oct 12 '23 10:10 snake302

For me this happens only when building for real device, it doesn't happen when building for simulator.

Though after deleting TrustKitDynamic i was able to successfully build for real device as well:

Screenshot 2024-03-15 at 12 54 47

vakhidbetrakhmadov avatar Mar 15 '24 12:03 vakhidbetrakhmadov