Skip to content

fix: release profile#4

Merged
sirily11 merged 1 commit intomainfrom
release
Mar 2, 2026
Merged

fix: release profile#4
sirily11 merged 1 commit intomainfrom
release

Conversation

@sirily11
Copy link
Copy Markdown
Contributor

@sirily11 sirily11 commented Mar 2, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 2, 2026 18:38
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rxnote Ready Ready Preview, Comment Mar 2, 2026 6:48pm

Request Review

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the build configuration wiring so that the RxNote app target correctly picks up its .xcconfig environment files for both Debug and Release builds. Previously the target-level XCBuildConfiguration entries had no baseConfigurationReference* keys and therefore ignored Config/Debug.xcconfig and Config/Release.xcconfig, meaning environment-specific settings (API URLs, OAuth client IDs) were silently absent.

Changes:

  • Wire Config/Debug.xcconfig and Config/Release.xcconfig to the RxNote app target's Debug and Release build configurations in project.pbxproj.
  • Switch RxNote.xcscheme's TestAction and LaunchAction from Debug to Release build configuration.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
RxNote/RxNote.xcodeproj/project.pbxproj Adds baseConfigurationReferenceAnchor + baseConfigurationReferenceRelativePath to both the Debug and Release app-target build configs so the xcconfig files are actually applied.
RxNote/RxNote.xcodeproj/xcshareddata/xcschemes/RxNote.xcscheme Changes TestAction and LaunchAction build configurations from Debug to Release.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

</BuildAction>
<TestAction
buildConfiguration = "Debug"
buildConfiguration = "Release"
Copy link

Copilot AI Mar 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting TestAction's buildConfiguration to "Release" is problematic because ENABLE_TESTABILITY = YES is only present in the project-level Debug build configuration (project.pbxproj line 730). The Release configuration omits this flag, which means Xcode cannot inject the test bundle into the app. This will typically cause unit tests to fail to run entirely when triggered from this scheme. The TestAction should remain on "Debug" (its prior value), or ENABLE_TESTABILITY = YES must be explicitly added to the Release project-level build settings.

Suggested change
buildConfiguration = "Release"
buildConfiguration = "Debug"

Copilot uses AI. Check for mistakes.
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
buildConfiguration = "Release"
Copy link

Copilot AI Mar 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing LaunchAction's buildConfiguration to "Release" means that every time a developer presses Run in this scheme, the app is built with the Release configuration (production API URL, full optimizations, no debugger-friendly DWARF info). This makes day-to-day development harder: variables may be optimised away in the debugger, and the app will connect to the production backend instead of localhost:3000. The LaunchAction should stay on "Debug" unless the explicit intent is always to run a production build during development. Compare with RxNoteClips.xcscheme which keeps its LaunchAction on "Debug" (line 39 of that file).

Suggested change
buildConfiguration = "Release"
buildConfiguration = "Debug"

Copilot uses AI. Check for mistakes.
@sirily11 sirily11 disabled auto-merge March 2, 2026 18:47
@sirily11 sirily11 enabled auto-merge (squash) March 2, 2026 18:48
@sirily11 sirily11 merged commit fe1e2ae into main Mar 2, 2026
9 checks passed
@sirily11 sirily11 deleted the release branch March 2, 2026 19:06
@sirily11
Copy link
Copy Markdown
Contributor Author

sirily11 commented Mar 2, 2026

🎉 This PR is included in version 1.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants