Skip to content
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

Bugfix: Update Xcode project bundle identifier resolving #232

Merged
merged 2 commits into from
May 27, 2022

Conversation

priitlatt
Copy link
Contributor

@priitlatt priitlatt commented May 26, 2022

Action xcode-project use-profiles is using Ruby script code_signing_manager.rb under the hood to make changes to Xcode project files.

In there was bunch of custom made logic to retrieve bundle identifier value for Xcode project build configurations. This logic however fails to detect the bundle identifier in case build configuration inherits build settings from xcconfig configurations in some cases.

To make this component simpler and more robust, replace the custom code by Xcodeproj Ruby gem built-in method XCBuildConfiguration#resolve_build_setting method.

Updated actions

  • xcode-project use-profiles

Replace custom bundle identifier parsing logic with builtin
method XCBuildConfiguration#resolve_build_setting method
from xcodeproj gem.
@priitlatt priitlatt added the bug Something isn't working label May 27, 2022
@priitlatt priitlatt marked this pull request as ready for review May 27, 2022 07:43
@priitlatt priitlatt merged commit da21015 into master May 27, 2022
@priitlatt priitlatt deleted the bugfix/use-profiles-infoplist-settings-inheritance branch May 27, 2022 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

xcode-project use-profiles doesn't read inherited Info.plist setting
1 participant