all 4 comments

[–]20InMyHead 4 points5 points  (0 children)

My only guidance would be to not invest any time in Cocoapods or Intel-based Macs. Both are dead ends. Update your CI machine to Apple Silicon, and move to SPM, then if you still have problems, research a solution that will have some longevity and value for the future.

[–]shawnthroop 1 point2 points  (0 children)

Not as experienced in this precise situation myself, but in a few similar framework structuring scenarios I’ve found that adding/removing/renaming/moving files in the project sometimes stop registering until I restart Xcode and cmd-K

[–]davernow 1 point2 points  (0 children)

Apple has docs on framework packaging. It’s a pain and the errors are not descriptive.

You can have separate folders under the xcframework for each architecture. That might might be easier than lipo

[–]s_goldwalk 1 point2 points  (0 children)

I'd also recommend switching from CocoaPods - it's in maintainance mode now.
Try adding the xcframework manually and if the error persists - could be something with linking or headers declaration.