CocoaPods / CocoaPods/Xcodeproj
Schemes can be generated containing a `TestableReference` with no children
- Dominant language
- Ruby
- Stars
- 2.4k
- Forks
- 488
- PR merge metrics
- No merged PRs in 30d
Description
If you generate a scheme with the `TestAction` node as follows:
```xml
```
then Xcode will crash on launch. This is, without a doubt, a bug in Xcode but we should generate "valid" XML anyway.
This is generated when running `pod install` with our Podfile. I can't share the Podfile unfortunately, but it may be useful to know that the broken scheme belongs to a demo app which is referenced as an `appspec` (not something I'm particularly familiar with).
This is 100% reproducible in both generation and Xcode crashing.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing scheme generation invoked by pod install for an appspec and inspect how the TestAction emits TestableReference nodes. Compare the generated XML with the supplied example; done means generated schemes no longer contain a TestableReference without children.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100