react-native-macos/docs
Miron Pawlik 74146cb315 Make `react-native link` play nicely with CocoaPods-based iOS projects.
Summary:
The core React Native codebase already has full support for CocoaPods. However, `react-native link` doesn’t play nicely with CocoaPods, so installing third-party libs from the RN ecosystem is really hard.

This change will allow to link projects that contains its own `.podspec` file to CocoaPods-based projects. In case `link` detect `Podfile` in `iOS` directory, it will look for related `.podspec` file in linked project directory, and add it to `Podfile`. If `Podfile` and `.podspec` files are not present, it will fall back to previous implementation.

**Test Plan**
1. Build a React Native project where the iOS part uses CocoaPods to manage its dependencies. The most common scenario here is to have React Native be a Pod dependency, among others.
2. Install a RN-related library, that contains `.podspec` file, with `react-native link` (as an example it could be: [react-native-maps](https://github.com/airbnb/react-native-maps)
3. Building the resulting iOS workspace should succeed (and there should be new entry in `Podfile`)
Closes https://github.com/facebook/react-native/pull/15460

Differential Revision: D6078649

Pulled By: hramos

fbshipit-source-id: 9651085875892fd66299563ca0e42fb2bcc00825
2017-10-17 21:35:47 -07:00
..
Accessibility.md New guide: Improving User Experience 2017-08-24 14:01:53 -07:00
AndroidBuildingFromSource.md Document Android native communication 2017-09-19 14:16:41 -07:00
AndroidUIPerformance.md Merge Android UI Performance into Performance doc, reorder sidebar 2017-03-06 10:10:04 -08:00
Animations.md fix typo - missing 'new' keyword 2017-10-16 15:18:41 -07:00
BuildingForAppleTV.md Apple TV: RCTTabBar selection controlled by native after render (fix #15081) 2017-08-10 05:36:06 -07:00
Colors.md New Handling Touches Tutorial 2017-06-07 11:51:21 -07:00
CommunicationAndroid.md Modernize docs: remove 'use strict' from docs -- es6 has 'use strict' by default 2017-10-03 17:17:12 -07:00
CommunicationIOS.md Modernize docs: remove 'use strict' from docs -- es6 has 'use strict' by default 2017-10-03 17:17:12 -07:00
ComponentsAndAPIs.md Fix navigation links in documentation. 2017-10-06 13:08:57 -07:00
Contributing.md Add footer links to bot comments, rename label to Good fist issue 2017-10-16 14:17:07 -07:00
CustomWebViewAndroid.md Add props for overriding native component 2017-09-19 16:01:02 -07:00
CustomWebViewIOS.md Modernize docs: remove 'use strict' from docs -- es6 has 'use strict' by default 2017-10-03 17:17:12 -07:00
Debugging.md Document adb shell input keyevent 82 2017-10-09 22:02:09 -07:00
DirectManipulation.md Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
GestureResponderSystem.md New Handling Touches Tutorial 2017-06-07 11:51:21 -07:00
GettingStarted.md Move tabbing logic back to individual docs 2017-09-01 18:06:24 -07:00
HandlingTextInput.md Retry for #14830 - Fix "Handling Text Input" tutorial's "next" within text 2017-07-24 10:15:47 -07:00
HandlingTouches.md New Handling Touches Tutorial 2017-06-07 11:51:21 -07:00
HeadlessJSAndroid.md Update HeadlessJSAndroid.md explaining parameters 2017-09-21 08:51:00 -07:00
HeightAndWidth.md Update examples in docs and address version lag of CRNA 2017-05-16 23:51:28 -07:00
Images.md Correct logo URL 2017-10-04 14:38:02 -07:00
ImprovingUserExperience.md New guide: Improving User Experience 2017-08-24 14:01:53 -07:00
IntegrationWithExistingApps.md Modernize docs: remove 'use strict' from docs -- es6 has 'use strict' by default 2017-10-03 17:17:12 -07:00
JavaScriptEnvironment.md New Handling Touches Tutorial 2017-06-07 11:51:21 -07:00
LayoutWithFlexbox.md Change attribute mentioned in alignItem 2017-10-09 22:02:09 -07:00
LinkingLibraries.md Make `react-native link` play nicely with CocoaPods-based iOS projects. 2017-10-17 21:35:47 -07:00
Maintainers.md Flag large pull requests, add large-pr command 2017-08-16 21:00:44 -07:00
MoreResources.md Fix navigation links in documentation. 2017-10-06 13:08:57 -07:00
MoviesExample.json Fix typo and add comments to the example app 2015-03-27 20:44:20 +00:00
NativeComponentsAndroid.md Android event documentation - Adding part about mapping event names. 2017-10-14 17:18:01 -07:00
NativeComponentsIOS.md Add props for overriding native component 2017-09-19 16:01:02 -07:00
NativeMethodsMixin.md Flat ReactNative renderer bundle [WIP] 2017-05-26 11:03:06 -07:00
NativeModulesAndroid.md Modernize docs: remove 'use strict' from docs -- es6 has 'use strict' by default 2017-10-03 17:17:12 -07:00
NativeModulesIOS.md Updated swift section to match current code base 2017-10-09 21:01:31 -07:00
Navigation.md Update Navigation.md 2017-07-24 11:31:01 -07:00
Networking.md New Handling Touches Tutorial 2017-06-07 11:51:21 -07:00
Performance.md Improve support for unbundle feature 2017-10-13 17:28:28 -07:00
PlatformSpecificInformation.md Fix navigation links in documentation. 2017-10-06 13:08:57 -07:00
Props.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
RunningOnDevice.md Move tabbing logic back to individual docs 2017-09-01 18:06:24 -07:00
RunningOnDeviceAndroid.md Consolidate Running on Device (Android|iOS) Guides into one 2016-11-06 21:13:32 -08:00
RunningOnDeviceIOS.md Consolidate Running on Device (Android|iOS) Guides into one 2016-11-06 21:13:32 -08:00
RunningOnSimulatorIOS.md Merge Android UI Performance into Performance doc, reorder sidebar 2017-03-06 10:10:04 -08:00
SignedAPKAndroid.md Documentation about ABI split in Android Release 2017-10-04 14:17:03 -07:00
State.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
Style.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
StyleGuide.md What to Expect from Maintainers 2017-07-28 08:18:53 -07:00
Testing.md Remove references to Travis 2017-10-13 20:34:22 -07:00
Timers.md New guide: Improving User Experience 2017-08-24 14:01:53 -07:00
TodayWidget.md Added documentation for iOS app extensions 2017-07-28 12:36:14 -07:00
Troubleshooting.md Add Troubleshooting Guide to Sidebar. 2017-08-25 15:30:43 -07:00
Tutorial.md Revert faulty change to HelloWorld demo in docs 2017-09-19 15:46:14 -07:00
UnderstandingCLI.md What to Expect from Maintainers 2017-07-28 08:18:53 -07:00
Upgrading.md Add Troubleshooting Guide to Sidebar. 2017-08-25 15:30:43 -07:00
UsingAListView.md Fix warning on SectionList's tutorial 2017-10-07 16:40:43 -07:00
UsingAScrollView.md Fixed homogenous typo 2017-10-13 00:15:42 -07:00