Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Have Natalie be smart about targets in xcodeproj #64

Open
hartbit opened this issue Aug 5, 2015 · 2 comments
Open

Have Natalie be smart about targets in xcodeproj #64

hartbit opened this issue Aug 5, 2015 · 2 comments

Comments

@hartbit
Copy link

hartbit commented Aug 5, 2015

One feature request I'd like is for Natalie to allow an xcodeproj file as argument, parse it to find out which storyboards are included in which targets and generate a Storyboards.swift for each target. Like that, if the project has storyboards in an app target and in an extension target, Natalie will generate a separate file to include in each target that only makes the targets storyboards visible. It will also solve name collisions when targets have storyboards with the same name.

As a side note, I'm currently implementing this by wrapping Natalie around a ruby script which parses an xcodeproj file with the Xcodeproj gem (which came out of the Cocoapods project) and feeds Storyboard files to natalie. Unfortunately, there doesn't seem to be equally good Xcodeproj parsing libs in Swift.

@krzyzanowskim
Copy link
Owner

Carthage is doing something like this. It's not impossible to do, as xcode project syntax is not that magic.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants