Closed cvasilak closed 8 years ago
Reviewed. Looks good. You can go ahead with the merge.
Let's not merge until this is actually in CocoaPods :-)
according to @cvasilak it can be merged now :-) I was misunderstanding this :)
/cc @corinnekrych
It's up to @wei-lee :-)
as of yesterday cocoapods-packager has made a new release v1.2.0 that incorporates our change.
@corinnekrych when u can mind to review/merge and prepare a new framework release.
We can't see the description in that link as Jira for JBoss Developer refuses.
Let's close this one for now.
Motivation: as described in FHMOBSDK-69, currently the fh-sdk lacks an umbrella header. Commonly, the name of the spec (in our case
FH.h
) is used but since it'a a concrete class we cannot utilised. Doing so though, the default behaviour ofcocoapods-packager
needed to be adjusted to support themodule_map
directive that cocoapods provides to support this scenario. Please check the PR we issued on cocoapods-packager for more information.To test Since, cocoapods-packager hasn't be released with our change, we need first to install the 'master' version. Do so:
Once that is done, clone the repo and try to create a framework distribution:
open
FH-2.2.8/ios/FH.framework/Modules/module.modulemap
and notice that the correct umbrella header is honouredFeedHenry.h
You can also clone the fh-ios-sdk-blank up that uses that updated framework distribution and imports the umbrella header for further tests.
@corinnekrych @wei-lee mind to review?
[Note] To facilitate testing the podspec uses this priv branch, but once we are ready to merge it, we will change the pod spec's repo to point to the official one.