Skip to content

XCodeV5 - Option to skip initial build if building for packing only #21057

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wscld
Copy link

@wscld wscld commented May 27, 2025

Context

Currently, when users want to package an app (create an IPA), the Xcode task always performs a full build step followed by archive and export operations. This results in redundant work.


Task Name

XcodeV5


Description

Added a new boolean input skipBuildStep to the Xcode task that allows users to skip the initial Xcode build phase and go directly to the packaging (archive + export) phase. This enhancement:

  • Adds a new optional input skipBuildStep that is only visible when packageApp is enabled
  • Updates the build logic to conditionally skip the initial xcodebuild execution when the flag is enabled
  • Maintains backward compatibility - existing pipelines continue to work unchanged
  • Optimizes build performance for scenarios where only packaging is needed
  • Includes comprehensive unit tests to verify the new functionality

Risk Assessment (Low / Medium / High)

Low


Unit Tests Added or Updated (Yes / No)

Yes


Additional Testing Performed

No


Documentation Changes Required (Yes / No)

No


Checklist

  • Related issue linked (if applicable)
  • Task version was bumped — see versioning guide
  • Verified the task behaves as expected

@wscld wscld marked this pull request as ready for review May 27, 2025 11:53
@wscld wscld requested review from tarunramsinghani and a team as code owners May 27, 2025 11:53
@wscld wscld changed the title Option to skip initial build if build for packing only XCodeV5 - Option to skip initial build if build for packing only May 27, 2025
@wscld wscld changed the title XCodeV5 - Option to skip initial build if build for packing only XCodeV5 - Option to skip initial build if building for packing only May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant