mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
cd8064bc5c
Summary: CocoaPods makes it easier to add new iOS dependencies to a project without having to manually edit Xcode projects. Editing Xcode projects is time consuming and merging changes to them difficult. Automating the changes to Xcode project `react-native link` is error prone. CocoaPods is a de-facto standard way to manage iOS dependencies and a central part of unimodules and upcoming improvements to `react-native link`. This PR adds a `Podfile` to the default project template of React Native. To use a project with CocoaPods, after creating it, run `cd ios; pod install` and use the created `<projectname>.xcworkspace` file instead of the `.xcodeproj` file. (We could make this a part of `react-native init` so you only need to run one command when creating a project.) [iOS] [Added] - Add CocoaPods Podfile to the project template Pull Request resolved: https://github.com/facebook/react-native/pull/23563 Differential Revision: D14576505 Pulled By: cpojer fbshipit-source-id: f6c9e93d61a52ad445d2931ccc4933d559a6ec1a
76 lines
1.1 KiB
Plaintext
76 lines
1.1 KiB
Plaintext
# Xcode
|
|
!**/*.xcodeproj
|
|
!**/*.pbxproj
|
|
!**/*.xcworkspacedata
|
|
!**/*.xcsettings
|
|
!**/*.xcscheme
|
|
*.pbxuser
|
|
!default.pbxuser
|
|
*.mode1v3
|
|
!default.mode1v3
|
|
*.mode2v3
|
|
!default.mode2v3
|
|
*.perspectivev3
|
|
!default.perspectivev3
|
|
xcuserdata
|
|
*.xccheckout
|
|
*.moved-aside
|
|
DerivedData
|
|
*.hmap
|
|
*.ipa
|
|
*.xcuserstate
|
|
project.xcworkspace
|
|
|
|
# Gradle
|
|
/build/
|
|
/RNTester/android/app/build/
|
|
/RNTester/android/app/gradle/
|
|
/RNTester/android/app/gradlew
|
|
/RNTester/android/app/gradlew.bat
|
|
/ReactAndroid/build/
|
|
|
|
# Buck
|
|
.buckd
|
|
buck-out
|
|
/ReactAndroid/src/main/jni/prebuilt/lib/armeabi-v7a/
|
|
/ReactAndroid/src/main/jni/prebuilt/lib/x86/
|
|
/ReactAndroid/src/main/gen
|
|
|
|
# Watchman
|
|
.watchmanconfig
|
|
|
|
# Android
|
|
.idea
|
|
.gradle
|
|
local.properties
|
|
*.iml
|
|
/android/
|
|
|
|
# Node
|
|
node_modules
|
|
*.log
|
|
.nvm
|
|
/bots/node_modules/
|
|
package-lock.json
|
|
|
|
# OS X
|
|
.DS_Store
|
|
|
|
# Test generated files
|
|
/ReactAndroid/src/androidTest/assets/AndroidTestBundle.js
|
|
*.js.meta
|
|
|
|
/coverage
|
|
/third-party
|
|
|
|
# Root dir shouldn't have Xcode project
|
|
/*.xcodeproj
|
|
|
|
# ReactCommon subdir shouldn't have Xcode project
|
|
/ReactCommon/**/*.xcodeproj
|
|
RNTester/build
|
|
|
|
# CocoaPods
|
|
/template/ios/Pods/
|
|
/template/ios/Podfile.lock
|