Your build commands have a few mistakes. I made the same simple framework you did (a single Swift struct), and used the following build commands instead. I'm going to format them here with line breaks and indentation for readability. Note that I've set Build Library for Distribution to Yes and Skip Install to No in the framework target's build settings, so they don't appear here. % xcodebuild archive -scheme StructKit -destination generic/platform=iOS -archivePath iOS.xcarchive % xcodebuild archive -scheme StructKit -destination generic/platform=iOS Simulator -archivePath sim.xcarchive % xcodebuild -create-xcframework -framework iOS.xcarchive/Products/Library/Frameworks/StructKit.framework -debug-symbols iOS.xcarchive/dSYMs/StructKit.framework.dSYM -debug-symbols iOS.xcarchive/BCSymbolMaps/<UUID>.bcsymbolmap -framework sim.xcarchive/Products/Library/Frameworks/StructKit.framework -debug-symbols sim.xcarchive/dSYMs/StructKit.framework.dSYM -output StructKit.xcframework I also notice you
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: