Issue #15 : When linking on iOS using cocoapods (the default used by running react-native link if the user has a Podfile) the install step fails because the podspec gets the name from the package name in the package.json file and it has a forward slash.
This commit fixes it by getting the name for the pod spec from the last part of the package name from the package.json
Issue #15 : When linking on iOS using cocoapods (the default used by running react-native link if the user has a Podfile) the install step fails because the podspec gets the name from the package name in the package.json file and it has a forward slash. This commit fixes it by getting the name for the pod spec from the last part of the package name from the package.json