File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -360,14 +360,6 @@ build_for_arch() {
360360 # ── Step 1: Archive ──
361361 local archive_path=" build/TablePro-${arch} .xcarchive"
362362 echo " 📦 Archiving..."
363- # Resolve provisioning profile name for archive
364- local archive_profile_name=" "
365- local profile_path_for_archive
366- profile_path_for_archive=$( find ~ /Library/MobileDevice/Provisioning\ Profiles -name " *.provisionprofile" -print -quit 2> /dev/null || true)
367- if [ -n " ${profile_path_for_archive:- } " ]; then
368- archive_profile_name=$( /usr/libexec/PlistBuddy -c " Print Name" /dev/stdin <<< " $(security cms -D -i " $profile_path_for_archive " 2>/dev/null)" 2> /dev/null || true)
369- fi
370-
371363 if ! xcodebuild archive \
372364 -project " $PROJECT " \
373365 -scheme " $SCHEME " \
@@ -376,9 +368,8 @@ build_for_arch() {
376368 -archivePath " $archive_path " \
377369 ONLY_ACTIVE_ARCH=YES \
378370 CODE_SIGN_IDENTITY=" $SIGN_IDENTITY " \
379- CODE_SIGN_STYLE=Manual \
371+ CODE_SIGN_STYLE=Automatic \
380372 DEVELOPMENT_TEAM=" $TEAM_ID " \
381- ${archive_profile_name: +PROVISIONING_PROFILE_SPECIFIER=" $archive_profile_name " } \
382373 ${ANALYTICS_HMAC_SECRET: +ANALYTICS_HMAC_SECRET=" $ANALYTICS_HMAC_SECRET " } \
383374 -skipPackagePluginValidation \
384375 -clonedSourcePackagesDirPath " $SPM_CACHE_DIR " \
You can’t perform that action at this time.
0 commit comments