supermarin / ObjectiveSugar

ObjectiveC additions for humans. Ruby style.
MIT License
2.17k stars 190 forks source link

Add Carthage support #109

Open marcpalmer opened 9 years ago

marcpalmer commented 9 years ago

Cocoapods started causing me problems so I'm trying out Carthage. To make projects work with Carthage you don't have a podspec, you just create an Xcode project with a shared scheme that builds a dynamic framework (iOS 8 only).

You might want to move some of the files around, but you need to make sure xcodebuild will still build it. I'm not sure but we might need another scheme to build the version for Mac..

therealbnut commented 7 years ago

@neilco 👍 can we get this merged? it seems like a pretty safe addition, I have the same use-case

neilco commented 7 years ago

@supermarin I'd like to review this but I don't have push access to the master branch so can't add comments.

supermarin commented 7 years ago

@neilco I thought you've had full push access on this one :) let me double check

supermarin commented 7 years ago

yep, confirming

screen shot 2017-04-06 at 11 55 25 am
neilco commented 7 years ago

@supermarin It seems to working now. Must have been a glitch in The Matrix.

neilco commented 7 years ago

@marcpalmer Could you structure the project similar to the what's in the Example folder? It would be good to get the tests into the project.

therealbnut commented 7 years ago

For the user specific file you can add an entry to the .gitignore file so they will be ignored in future. You probably want to add a bunch of these rules for other things anyway, there's a good template here:

https://github.com/github/gitignore/blob/master/Objective-C.gitignore

You can just add that file to the root of the repo as .gitignore. Make sure you remove any ignored files first and commit that change.

neilco commented 7 years ago

Or you could just copy the .gitignore from the Examples folder.