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
Summary:
Buck currently outputs an XML for `project.pbxproj` where `runOnlyForDeploymentPostprocessing` and `dstSubfolderSpec` are treated as `integer`.
```
<key>runOnlyForDeploymentPostprocessing</key>
<integer>1</integer>
<key>dstSubfolderSpec</key>
<integer>16</integer>
```
When trying to open the `.xcodeproj` file with [xcodeproj](https://github.com/CocoaPods/Xcodeproj) we're getting:
> [Xcodeproj] Type checking error: got `Fixnum` for attribute: Attribute `dstSubfolderSpec` (type: `simple`, classes: `[String]`, owner class: `PBXCopyFilesBuildPhase`)
This [seems to be a bug](CocoaPods/Xcodeproj#475) in xcodeproj itself.
To work around this, I'm forcing these 2 keys to have Strings as values instead of Int. After doing this, `xcodeproj` can succesfully open our project.
This was all already done in our [fork of buck here](airbnb#8)
---
I'm also including here donholly commit in their fork that adds the same workaround for the same issue in PBXContainerItemProxy Clubroom@8fa5ae5
Pull Request resolved: #2257
Test Plan: Imported from GitHub, without a Test Plan: line.
Reviewed By: williamtwilson, v-jizhang
Pulled By: v-jizhang
shipit-source-id: 90ec5e0dab4922d70b5b01013a548384aa0d0f3b
Xcodeproj complains:
but as you can see from a quick search, the parameter can be either Integer or String: https://github.com/search?l=XML&q=dstSubfolderSpec&type=Code&utf8=%E2%9C%93
The text was updated successfully, but these errors were encountered: