multiplatform-swiftpackage icon indicating copy to clipboard operation
multiplatform-swiftpackage copied to clipboard

Missing path from XCFramework as defined by 'DebugSymbolsPath' in its `Info.plist` file

Open ahmadmssm opened this issue 2 years ago • 2 comments

Hello,

Nice plugin but when adding the Repo link, building the project fails with this error Missing path (/.../Library/Developer/Xcode/DerivedData/Test-eqqqbrehuzabdnegojwzdecqruxe/SourcePackages/checkouts/MyFrameworkName/MyFrameworkName.xcframework/ios-x86_64-simulator/dSYMs) Missing path from XCFramework 'MyFrameworkName.xcframework' as defined by 'DebugSymbolsPath' in its Info.plist file What I'm doing wrong ?

ahmadmssm avatar Mar 02 '22 12:03 ahmadmssm

Did not use this plugin specifically, but am using something similar. Googling for this exact error only gave this link and since the issue is now solved on my end I wanted to leave a note just in case the issue is the same / similar.

When creating a XCFramework and adding it to my project, and committing it to Git, it turns out that my .gitignore file was ignoring all .dSYM extensions. Most gitignore file templates will include this. Because of this, when someone pulled the project from source control, the dSYMs were missing from the framework, and this error occurred.

Took a little while to figure out so hopefully this will save some time for someone running into a similar issue.

lilsolsman avatar Jun 08 '22 12:06 lilsolsman

I'm also getting this issue and it wasn't due to the .gitignore unfortunately

LukeSmith16 avatar Feb 26 '23 11:02 LukeSmith16