Using the Developer app and searching for xcframework, there is an interesting part that will be shown between today and tomorrow:
Post
Replies
Boosts
Views
Activity
Following the Apple WWDC:
https://developer.apple.com/documentation/Xcode/verifying-the-origin-of-your-xcframeworks
or
https://developer.apple.com/videos/play/wwdc2023/10061/
which simplifying
echo "Build Archive Device Slice"
xcodebuild clean archive -sdk iphoneos -destination 'generic/platform=iOS'[...]
echo "Build Archive Simulator Slice"
xcodebuild clean archive -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' [...]
echo "Create XCFramework"
xcodebuild -create-xcframework [...] -output <YOUR.xcframework>
echo "Codesign XCFramework"
codesign --timestamp -v --sign "<YOUR CERTIFICATE (ABCXYZ)>" "<YOUR.xcframework>"
maybe I found the right article and I'm trying to figure out what needs to be done:
https://developer.apple.com/help/account/reference/provisioning-with-managed-capabilities/
Precondition:
Xcode 15 Beta 2
Xcode -> Settings -> Accounts NONE
Xcode -> Signing and Capabilities -> Automatically manage signing UNCHECKED
(I use fastlane to manage certificates and provisioning profiles)
Workaround:
Xcode -> Settings -> Accounts: Add the account that contains the certificates and provisioning profiles
Xcode -> Signing and Capabilities -> Automatically manage signing CHECKED
once enabled the automatic signature management Xcode invites you to choose the correct team and provisioning profile.
at this point compile the project (it should work!)
you can remove the account again from the Settings
you can uncheck Automatically manage signing again (thus returning to the initial conditions!)