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

Rob/framework support #42

Merged
merged 3 commits into from
Nov 4, 2013
Merged

Conversation

rkeniger
Copy link
Collaborator

Added support for custom frameworks

Rob Keniger added 3 commits April 15, 2013 10:47
…der or you can specify "frameworks-directory". Frameworks are linked and added to a Copy Files build phase.
makeKitProject :: [KitContents] -> Maybe String -> KitProject
makeKitProject kitsContents depsOnlyConfig =
let pf = createProjectFile kitsContents
header = createHeader kitsContents
config = createConfig kitsContents
-- TODO: Make this specify an xcconfig data type
depsConfig = "#include \"" ++ xcodeConfigFile ++ "\"\n\nSKIP_INSTALL=YES\n\n" ++ fromMaybe "" depsOnlyConfig
depsConfig = "#include \"" ++ xcodeConfigFile ++ "\"\n\nSKIP_INSTALL=YES\nSDKROOT=iphoneos\n\n" ++ fromMaybe "" depsOnlyConfig
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this now hardcoded ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was hardcoded before, into the actual project file (see the changes to ProjectFileTemplate.hs). I've moved it here so that the DepsOnly.xcconfig file can have #include-ed xcconfig files which override it.

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

Successfully merging this pull request may close these issues.

3 participants