Xcode 14.2 Unable to close provisioning ledger entry because not all of its subentries are closed

418 Views Asked by At

Xcode 14.2 command line tools archive failed.

xcodebuild -allowProvisioningUpdates \
-workspace $WORKSPACE \
-scheme $SCHEME \
archive \
-configuration Release \
-archivePath $ARCHIVEPATH \
ONLY_ACTIVE_ARCH=NO \
EXCLUDED_ARCHS="" | xcpretty;

** ARCHIVE FAILED **

enter image description here

1

There are 1 best solutions below

0
Steve Lai On

For whom might facing the problem: This might be the update that required the "-sdk" flag to avoid the error. i.e.

-sdk iphoneos