react-native-macos/IntegrationTests
Mike Grabowski c95ee5ac18 feat: Enable Hermes to work on iOS (#29914)
Summary:
This PR makes it possible to build iOS applications with Hermes. Note that it doesn't work with `use_frameworks!` just yet.

Fixes https://github.com/facebook/react-native/issues/27845 (by downgrading iOS deployment target for RCT-Folly to 9.0)
Fixes https://github.com/facebook/react-native/issues/28810 (as above)

Checklist:
- [x] Adjust release scripts to create Hermes bytecode bundle
- [x] Release new Hermes npm package that includes iOS files (unreleased right now, if you want to try locally, you have to clone Hermes and `yarn link` its master to this project)
- [x] Test on a new React Native application in both Debug and Release (Device)
- [x] Test on an RNTester application in both Debug and Release (Device)
- [x] Add missing `i386` to Hermes framework and enable Bitcode
- [x] Inspect CI failures for possible regressions
- [x] Resolve Folly issue as reported https://github.com/facebook/react-native/issues/27845 and https://github.com/facebook/react-native/issues/28810
- [x] Release new Hermes and test against it that everything works

## Changelog

[IOS] [FEATURE] - Enable Hermes on iOS
[INTERNAL] - Upgrade to CocoaPods 1.10.0 to resolve Xcode 12.0 issues
[INTERNAL] - Upgrade to Xcode 12.0 on the CircleCI
[INTERNAL] - Fix building RNTester in Release mode
[INTERNAL] - Fix build-time errors of `libevent` with `use_frameworks!`
[INTERNAL] - Introduce `USE_HERMES` variable and test all RNTester configurations on the CI
[INTERNAL] - Do not fetch CocoaPods repository since we're using CDN anyway

Pull Request resolved: https://github.com/facebook/react-native/pull/29914

Test Plan:
Turn on `hermes_enabled` to true in your `Podfile`, install pods, and run the iOS application. Your app should be running Hermes now.

Preview: (note "Engine: Hermes")

<img width="395" alt="Screenshot 2020-09-09 at 19 22 32" src="https://user-images.githubusercontent.com/2464966/92631584-d7c01d80-f2d1-11ea-9b40-33d73db96a53.png">

Reviewed By: hramos

Differential Revision: D24684845

Pulled By: cpojer

fbshipit-source-id: 900cbe3bf9398a6fd4a773d552899a001bf5146b
2020-11-03 01:14:38 -08:00
..
AccessibilityManagerTest.js EventEmitter: Import `{Native,RCTDevice}EventEmitter` 2020-06-27 02:18:10 -07:00
AppEventsTest.js Exact-by-default codemod for react-native-github 2019-11-21 09:42:57 -08:00
AsyncStorageTest.js Upgrade Prettier in Xplat to version 1.19.1 2020-04-09 11:01:58 -07:00
GlobalEvalWithSourceUrlTest.js feat: Enable Hermes to work on iOS (#29914) 2020-11-03 01:14:38 -08:00
ImageCachePolicyTest.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
ImageSnapshotTest.js Exact-by-default codemod for react-native-github 2019-11-21 09:42:57 -08:00
IntegrationTestHarnessTest.js RN: Remove `fbjs/requestAnimationFrame` Dependency 2020-08-25 14:15:35 -07:00
IntegrationTestsApp.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
LayoutEventsTest.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
LoggingTestModule.js RN: Remove `fbjs/warning` Dependency 2020-08-25 14:15:35 -07:00
PromiseTest.js Exact-by-default codemod for react-native-github 2019-11-21 09:42:57 -08:00
PropertiesUpdateTest.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTRootViewIntegrationTestApp.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
ReactContentSizeUpdateTest.js EventEmitter: Import `{Emitter => Event}Subscription` 2020-06-23 13:50:26 -07:00
SimpleSnapshotTest.js RN: Remove `fbjs/requestAnimationFrame` Dependency 2020-08-25 14:15:35 -07:00
SizeFlexibilityUpdateTest.js EventEmitter: Import `{Emitter => Event}Subscription` 2020-06-23 13:50:26 -07:00
SyncMethodTest.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
TimersTest.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
WebSocketTest.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
blue_square.png Cleanup before image! codemod 2016-11-22 21:13:52 -08:00
launchWebSocketServer.command Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
red_square.png Cleanup before image! codemod 2016-11-22 21:13:52 -08:00
websocket_integration_test_server.js Tidy up license headers [3/n] 2019-10-16 10:06:34 -07:00