Open msdrigg opened 8 months ago
Hey @msdrigg the framework should be in your apps framework folder to be used, so MyApp.app/Frameworks, it looks like it's in a different path based on your description so please make sure your Xcode settings have it copied into the app's frameworks folder
Also ETTrace is a dynamic framework not static, yet in the screenshots you posted the icon Xcode displays is an icon for a static framework
Any pointers as to what I should google to figure out how to change the right configuration parameters?
I tried googling the error with no helpful results
@msdrigg maybe a delete derived data and restart Xcode? When I add the target to my app I only see the dynamic framework option, in the Package.swift we only have the product be a dynamic framework:
products: [
.library(
name: "ETTrace",
type: .dynamic,
targets: ["ETTrace"]
),
Hmm I tried that and still seeing the same icon. Could it be an XCode 15.3 thing? I only started this app a few months ago and have the xcode package format updated to the latest.
This should be reproducible here https://github.com/msdrigg/Roam/tree/ETTRace
Hey @msdrigg sorry for the delay here, are you still seeing it? I can't access the example GitHub project
Oh dang I forgot this was still relevant and I deleted that branch. This issue was never resolved, but I ended up debugging my issue with apple's instruments instead.
I added ETrace via SPM to my iOS (swift-only) app in XCode. Now when I run my app, it fails to boot with this error:
Things I've tried:
Here are screenshots of the relevant sections:
The weirdest thing is that if I look in
/Users/me/Library/Developer/Xcode/DerivedData/App-cklguuvlmfepaxaevnzjgkgtwzmc/Build/Products/Debug-iphoneos/PackageFrameworks/ETTrace.framework/ETTrace
(the first path that it says it tried), I can see that ETTrace actually does exist.