You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.
When Shenzhen::XcodeBuild#settings is parsing xcodebuild's -showBuildSettings output, the first line, which contains the first target name, is shifted off before proceeding to iterate over the lines. Therefore the first target's settings are never returned in the Settings object. If the project only had one target, an empty Settings object is returned.
Steps to reproduce:
Create a new iOS project named "Bazinga" in Xcode.
Ensure that Include Unit Tests is not checked in the new project wizard.
Invoke the following script in the project directory:
I would expect the output to be 1 for the Bazinga target, but instead it's 0.
Perhaps in a version of Xcode prior to 4.5.2, xcodebuild emitted some unwanted first line in its output that needed to be discarded? Apparently this is no longer the case.
The text was updated successfully, but these errors were encountered:
When
Shenzhen::XcodeBuild#settings
is parsing xcodebuild's-showBuildSettings
output, the first line, which contains the first target name, is shifted off before proceeding to iterate over the lines. Therefore the first target's settings are never returned in the Settings object. If the project only had one target, an empty Settings object is returned.Steps to reproduce:
I would expect the output to be 1 for the Bazinga target, but instead it's 0.
Perhaps in a version of Xcode prior to 4.5.2, xcodebuild emitted some unwanted first line in its output that needed to be discarded? Apparently this is no longer the case.
The text was updated successfully, but these errors were encountered: