Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Add Carthage support #74

Merged
merged 2 commits into from Jan 6, 2017
Merged

Add Carthage support #74

merged 2 commits into from Jan 6, 2017

Conversation

klaaspieter
Copy link
Contributor

Support Carthage by adding a framework scheme and target.

I'm aware there are two PRs (#53 and #55) open for this but they appear to be dead and have merge conflicts.

Copy link
Contributor

@grp grp left a comment

Choose a reason for hiding this comment

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

Approach LGTM, but would be great to make it as simple as possible.

TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you remove the unnecessary build settings set here? For example, no need for Metal and Swift related options.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍🏼 These are just the defaults generated by Xcode, but I'll remove the unnecessary ones.


//! Project version string for Shimmer.
FOUNDATION_EXPORT const unsigned char ShimmerVersionString[];

Copy link
Contributor

Choose a reason for hiding this comment

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

It doesn't look like you're defining these anywhere; remove them if they aren't set?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is what Xcode generates automatically. I always presumed there was a reason for it, but to be honest I don't know

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, maybe this is paired with the versioning support file Xcode also generates. Either way, I don't see a good reason for it, so I'd be fine with disabling the versioning support in Xcode and removing it here.

Support Carthage by adding a framework scheme and target.
@klaaspieter
Copy link
Contributor Author

@grp I made the requested changes squashed them into a single commit.

@klaaspieter
Copy link
Contributor Author

@grp anything else that needs to happen for this to get merged?

@grp grp merged commit bfeedb7 into facebookarchive:master Jan 6, 2017
@klaaspieter klaaspieter deleted the carthage branch January 9, 2017 15:55
@klaaspieter
Copy link
Contributor Author

@grp the other two PRs adding this can be closed to probably.

@bishalg
Copy link

bishalg commented Jan 24, 2017

@klaaspieter : there is still issue wth Carthage and the issue has not been fixed !

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

Successfully merging this pull request may close these issues.

None yet

4 participants