Giter Club home page Giter Club logo

upgrade-support's Introduction

Upgrade Support

A central community-backed place to request and give help when upgrading your app.

Keep in mind

When asking or giving help, keep in mind that there's another human-being reading your requests and/or replies.

How does it work?

If you are looking for help

Create an issue following the issue template and include the version of react-native that you are using.

Tips

Points to be taken that will increase the chance your request will be replied.

  1. Include as much detail as possible;
  2. Always try to provide a project to reproduce your issue.

If you are looking to help

You are definitely welcome to stay and have a cup of coffee!

You can browse the issues by filtering based on react-native versions or already replied.

License

This project is released under the MIT license.

upgrade-support's People

Contributors

github-actions[bot] avatar lucasbento avatar pvinis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

upgrade-support's Issues

"git apply" failed; git diff header lacks filename information when removing 2 leading pathname components

Environment

Ran this after running the failed upgrade command...

info Fetching system and libraries information...
System:
OS: macOS 10.15.4
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 1.69 GB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v10.16.3/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 11.4/11E146 - /usr/bin/xcodebuild
Languages:
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.0 => 0.62.0
npmGlobalPackages:
react-native: Not Found

Upgrading version

0.62.0

Description

I'm getting an error:

debug "git apply" failed. Error output:
error: git diff header lacks filename information when removing 2 leading pathname components (line 6)

Full text below:

$ npx react-native upgrade --verbose
info No version passed. Fetching latest...
info Fetching diff between v0.61.5 and v0.62.0...
info Applying diff...
warn Excluding files that exist in the template, but not in your project:

debug "git apply" failed. Error output:
error: git diff header lacks filename information when removing 2 leading pathname components (line 6)

error Automatically applying diff failed. We did our best to automatically upgrade as many files as possible
warn Continuing after failure. Some of the files are upgraded but you will need to deal with conflicts manually
info Installing "[email protected]" and its peer dependencies...
yarn add v1.22.4
[1/4] ๐Ÿ” Resolving packages...
[2/4] ๐Ÿšš Fetching packages...
[3/4] ๐Ÿ”— Linking dependencies...
[4/4] ๐Ÿ”จ Building fresh packages...
success Saved lockfile.
success Saved 18 new dependencies.
info Direct dependencies
โ”œโ”€ [email protected]
โ””โ”€ [email protected]
info All dependencies
โ”œโ”€ @react-native-community/[email protected]
โ”œโ”€ @react-native-community/[email protected]
โ”œโ”€ @react-native-community/[email protected]
โ”œโ”€ @react-native-community/[email protected]
โ”œโ”€ @react-native-community/[email protected]
โ”œโ”€ [email protected]
โ”œโ”€ [email protected]
โ”œโ”€ [email protected]
โ”œโ”€ [email protected]
โ”œโ”€ [email protected]
โ”œโ”€ [email protected]
โ”œโ”€ [email protected]
โ”œโ”€ [email protected]
โ”œโ”€ [email protected]
โ”œโ”€ [email protected]
โ”œโ”€ [email protected]
โ”œโ”€ [email protected]
โ””โ”€ [email protected]
โœจ Done in 20.85s.
info Running "git status" to check what changed...
On branch hasura
Your branch is up to date with 'origin/hasura'.

Changes to be committed:
(use "git restore --staged ..." to unstage)
modified: package.json
modified: yarn.lock

warn Please run "git diff" to review the conflicts and resolve them
warn After resolving conflicts don't forget to run "pod install" inside "ios" directory
info You may find these resources helpful:
โ€ข Release notes: https://github.com/facebook/react-native/releases/tag/v0.62.0
โ€ข Manual Upgrade Helper: https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.62.0
โ€ข Git diff: https://raw.githubusercontent.com/react-native-community/rn-diff-purge/diffs/diffs/0.61.5..0.62.0.diff
error Upgrade failed. Please see the messages above for details

Reproducible demo

This is on a private repo, no reproducible demo.

flipper crash ios allHeaderFields

Environment

info Fetching system and libraries information...
System:
    OS: macOS 10.15.4
    CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
    Memory: 4.40 GB / 32.00 GB
    Shell: 5.0.16 - /usr/local/bin/bash
  Binaries:
    Node: 13.11.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.13.7 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 19, 20, 21, 22, 24, 25, 26, 27, 28, 29
      Build Tools: 28.0.3, 29.0.3, 30.0.0
      System Images: android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.0 => 0.62.0
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

0.62

Description

flipper crashes every time

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSURLResponse allHeaderFields]: unrecognized selector sent to instance 0x281b59a80'
*** First throw call stack:
(0x1a99ac164 0x1a96c0c1c 0x1a98aa7e0 0x1a99b085c 0x1a99b2b60 0x1046ded9c 0x1046dec64 0x1046b8eb4 0x1103d1d10 0x1103d318c 0x1103da968 0x1103db580 0x1103e70f0 0x1a96b3714 0x1a96b99c8)

#1	0x00000001046b8ad8 in -[FLEXNetworkRecorder recordLoadingFinishedWithRequestID:responseBody:] at ios/Pods/FlipperKit/iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/FLEXNetworkLib/FLEXNetworkRecorder.mm:183

Test

Testxxxx
testx
testxxx
test2
test3x
test3x

undefined is not an object evaluating '_reactNative.Animated.Text.propTypes.style'

Environment

System:
    OS: Linux 5.3 Pop!_OS 18.04 LTS
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 253.70 MB / 7.64 GB
    Shell: 5.4.2 - /usr/bin/zsh
  Binaries:
    Node: 10.19.0 - /usr/bin/node
    Yarn: 1.22.4 - /usr/bin/yarn
    npm: 6.13.4 - /usr/bin/npm
    Watchman: Not Found
  SDKs:
    Android SDK: Not Found
  IDEs:
    Android Studio: Not Found
  Languages:
    Python: 2.7.17 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: ^4.5.1 => 4.5.1 
    react: ^16.13.1 => 16.13.1 
    react-native: ^0.62.0 => 0.62.0 
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

From 0.61.5 to 0.62.0

Description

image

We instance Animated as Animated.Value, Animated.View, Animated.timing and Animated.loop in our app. No idea why Animated.Text is being invoked, could this be a node_modules problem?

Release Upgrade Support

Stuff that needs to be done

  • Add GitHub action to close automatically issues that don't follow the issue template, perhaps issue-closer-action works for this;
  • Add GitHub action to automatically add the version label based on the information fulfilled on the template.

How to create native library

Environment

Upgrading version

0.62.0

Description

Creating react native library throw error with RNGADBannerView

Hi, I trying to create a simple library module following the instructions in https://reactnative.dev/docs/native-modules-setup .
After create the library and the example inside using react-native init ExampleNative, added the library to package.json of Example app.

Log

info Reloading app...
[Fri Mar 27 2020 15:20:46.830]  BUNDLE  ./index.js

error: Error: Unable to resolve module `./RNGADBannerView` from `node_modules\react-native-my-library\index.js`:

None of these files exist:
  * node_modules\react-native-my-library\RNGADBannerView(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
  * node_modules\react-native-my-library\RNGADBannerView\index(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
    at ModuleResolver.resolveDependency (C:\Users\lindi\workspace\plugins\react-native-my-library\ExampleNative\node_modules\metro\src\node-haste\DependencyGraph\ModuleResolution.js:163:15)
    at ResolutionRequest.resolveDependency (C:\Users\lindi\workspace\plugins\react-native-my-library\ExampleNative\node_modules\metro\src\node-haste\DependencyGraph\ResolutionRequest.js:52:18)
    at DependencyGraph.resolveDependency (C:\Users\lindi\workspace\plugins\react-native-my-library\ExampleNative\node_modules\metro\src\node-haste\DependencyGraph.js:287:16)
    at Object.resolve (C:\Users\lindi\workspace\plugins\react-native-my-library\ExampleNative\node_modules\metro\src\lib\transformHelpers.js:267:42)
    at C:\Users\lindi\workspace\plugins\react-native-my-library\ExampleNative\node_modules\metro\src\DeltaBundler\traverseDependencies.js:434:31
    at Array.map (<anonymous>)
    at resolveDependencies (C:\Users\lindi\workspace\plugins\react-native-my-library\ExampleNative\node_modules\metro\src\DeltaBundler\traverseDependencies.js:431:18)
    at C:\Users\lindi\workspace\plugins\react-native-my-library\ExampleNative\node_modules\metro\src\DeltaBundler\traverseDependencies.js:275:33
    at Generator.next (<anonymous>)
    at asyncGeneratorStep (C:\Users\lindi\workspace\plugins\react-native-my-library\ExampleNative\node_modules\metro\src\DeltaBundler\traverseDependencies.js:87:24)

react-native-my-library/index.js

import { NativeModules } from 'react-native';

const { MyLibrary } = NativeModules;

export default MyLibrary;

react-native-my-library/ExampleNative/package.json

{
  "name": "ExampleNative",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "start": "react-native start",
    "test": "jest",
    "lint": "eslint ."
  },
  "dependencies": {
    "react": "16.11.0",
    "react-native": "0.62.0",
    "react-native-my-library": "file.."
  },
  "devDependencies": {
    "@babel/core": "^7.6.2",
    "@babel/runtime": "^7.6.2",
    "@react-native-community/eslint-config": "^0.0.5",
    "babel-jest": "^24.9.0",
    "eslint": "^6.5.1",
    "jest": "^24.9.0",
    "metro-react-native-babel-preset": "^0.58.0",
    "react-test-renderer": "16.11.0"
  },
  "jest": {
    "preset": "react-native"
  }
}

Reproducible demo

Follow the instruction on link: https://reactnative.dev/docs/native-modules-setup

0.61.5 โ†’ 0.62.0 RCTBridgeModule Error

I upgrade 0.61.5 โ†’ 0.62.0 version but getting below error

cannot initialize a parameter of type 'NSArray<id<RCTBridgeModule>> *' with an lvalue of type 'NSArray<Class> *__strong' NSArray<RCTModuleData *> *newModules = [self _initializeModules:modules withDispatchGroup:NULL lazilyDiscovered:YES];

React Native Info:

System:
    OS: macOS 10.15.3
    CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
    Memory: 63.01 MB / 8.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.15.3 - /usr/local/bin/node
    Yarn: 1.15.2 - ~/.yarn/bin/yarn
    npm: 6.4.1 - /usr/local/bin/npm
    Watchman: Not Found
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 23, 25, 26, 27, 28, 29
      Build Tools: 27.0.3, 28.0.3, 29.0.0, 29.0.1, 29.0.2
      System Images: android-27 | Google Play Intel x86 Atom, android-28 | Intel x86 Atom, android-28 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.6010548
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1 
    react-native: 0.62.0 => 0.62.0 
  npmGlobalPackages:
    *react-native*: Not Found 

This line:

https://github.com/facebook/react-native/blob/6ce3f0a4f7495adb82e655d037dc4e5af462f955/React/CxxBridge/RCTCxxBridge.mm#L778

Update from 0.61.5 to 0.62.0 => 'folly/gen/String.h' file not found

Hi,
I have updated app from 0.65.1 to 0.62.0 and I got

'folly/gen/String.h' file not found with Flipper-Folly pod

Any suggestions how to fix it? Or what is causing it? Especially annoying on CI.

No error on clean project.

My current workaround:

  1. Add this to postinstall actions:
cd ios && rm -rf ~/Library/Caches/CocoaPods Pods ~/Library/Developer/Xcode/DerivedData/*; pod deintegrate; pod setup; pod install --repo-update;
  1. Podfile:
# Post Install processing for Flipper
def flipper_post_install(installer)
  installer.pods_project.targets.each do |target|
    if target.name == 'YogaKit'
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '4.1'
      end
    end
  end
  file_name = Dir.glob("*.xcodeproj")[0]
  app_project = Xcodeproj::Project.open(file_name)
  app_project.native_targets.each do |target|
    target.build_configurations.each do |config|
      cflags = config.build_settings['OTHER_CFLAGS'] || '$(inherited) '
      unless cflags.include? '-DFB_SONARKIT_ENABLED=1'
        puts 'Adding -DFB_SONARKIT_ENABLED=1 in OTHER_CFLAGS...'
        cflags << '-DFB_SONARKIT_ENABLED=1'
      end
      config.build_settings['OTHER_CFLAGS'] = cflags
    end
    app_project.save
  end
  installer.pods_project.save
end

Flipper shouldn't be included in Release builds

Environment

npx react-native info
info Fetching system and libraries information...
System:
    OS: macOS Mojave 10.14.5
    CPU: (4) x64 Intel(R) Core(TM) i7-6567U CPU @ 3.30GHz
    Memory: 270.57 MB / 16.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 13.12.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.8.4 - /Users/javi/.rvm/gems/ruby-2.5.3/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.1, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
    Android SDK:
      API Levels: 23, 25, 26, 28
      Build Tools: 27.0.3, 28.0.2, 28.0.3, 29.0.0
      System Images: android-28 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.5900203
    Xcode: 11.1/11A1027 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/local/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.0 => 0.62.0
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

From 0.61.3 to 0.62.0

Description

After upgrading to 0.62, when we created our first iOS Release build, we noticed some warnings related to Flipper's pods such as:

โš ๏ธ  [redacted]]ios/Pods/Headers/Public/Flipper-Folly/folly/Memory.h:66:30: possible misuse of comma operator here [-Wcomma]
  return rc == 0 ? (errno = 0, ptr) : (errno = rc, nullptr);
    ^~~~~
โš ๏ธ  [redacted]]ios/Pods/Headers/Public/Flipper-Folly/folly/Memory.h:66:50: possible misuse of comma operator here [-Wcomma]
  return rc == 0 ? (errno = 0, ptr) : (errno = rc, nullptr);
              ^
โš ๏ธ  [redacted]]ios/Pods/Headers/Public/Flipper-Folly/folly/ScopeGuard.h:125:52: possible misuse of comma operator here [-Wcomma]
      auto catcher = []() -> R { warnAboutToCrash(), std::terminate(); };
              ^
โš ๏ธ  [redacted]]ios/Pods/Headers/Public/Flipper-Folly/folly/FBString.h:1879:72: possible misuse of comma operator here [-Wcomma]
                  "basic_fbstring: null pointer initializer not valid"),
                                 ^~~~~~~~~~~~~~~~~~
โš ๏ธ  [redacted]]ios/Pods/Headers/Public/Flipper-Folly/folly/Conv.h:1184:44: possible misuse of comma operator here [-Wcomma]
      [&](Tgt res) { return void(out = res), src; });
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Building library libFlipperKit.a

This made us wonder why is Flipper included in a build using the Release mode configuration. We've seen that the new Podfile template only includes the FlipperKit pods for the Debug build configuration:

def add_flipper_pods!
  version = '~> 0.33.1'
  pod 'FlipperKit', version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitLayoutPlugin', version, :configuration => 'Debug'
  pod 'FlipperKit/SKIOSNetworkPlugin', version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitUserDefaultsPlugin', version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitReactPlugin', version, :configuration => 'Debug'
end

However the Cocoapods' docs notes that:

Note that transitive dependencies are included in all configurations and you have to manually specify build configurations for them as well in case this is not desired.

The pod Flipper-Folly is a dependency of Flipper, and Flipper seems to be dependency of FlipperKit/Core and FlipperKit/CppBridge.

Is this why it's being built and linked on Release build? Should add_flipper_pods! specify the Flipper and Flipper-Folly pods so that they get excluded from Release builds?

after upgrading with upgrade helper ios didn't work

Environment

System:
OS: macOS 10.15.3
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 575.09 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 13.11.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.13.7 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 23, 25, 28, 29
Build Tools: 25.0.0, 28.0.3, 29.0.2
System Images: android-25 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.6010548
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
Languages:
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.0 => 0.62.0
npmGlobalPackages:
react-native: Not Found

Upgrading version

0.62.0

Description

i tried to upgrade first i used npx react-native upgrade but it didn't work so i go through upgrade helper tool and this guide but it also didn't work
Screen Shot 2020-03-28 at 12 53 43 PM
here a screenshot of errors that i got

Reproducible demo

just i upgraded

React Native 0.62 upgrade (Xcode)

For an easy upgrade experience of the Xcode project file, do the following:

  • Upgrade all other files except the *.xcodeproj file.
  • Run yarn install
  • Run
cd ios
pod install
cd ..
  • Make sure to commit your changes so far. If some of these steps have been done before on your project, you can skip them. If for any reason any of the steps can't be applied on your project and your project runs without it, you can skip that step. If you have any problem with any of the steps, make an issue on the upgrade-support repo and let us know, so we can make these instructions better for you and others with the same problem. Now let's dive in.
  1. First easy change, the organization name:

2

Click on Project Navigator (1), then on your project at the top (2), then click on Inspectors (3) and finally on File Inspector (4). Then delete the text Facebook on the Organization field (5), and leave empty or replace it with your own text.

After this step, you should have some git changes for the organization. Feel free to commit before continuing, try to run your project and note if it runs or not.

  1. Second, you need to do a project localization migration and recommended settings update.

Screen Shot 2020-03-30 at 11 44 13

Screen Shot 2020-03-30 at 11 44 27

Click on Issue Navigator (1), then click on Update to recommended settings (2) and after that on Perform Changes (3). You might need to try to build the project (by pressing cmd-B) to have these options appear. After clicking on both, just press OK or Next and do as Xcode suggests.

After this step, you should have some git changes on the xcscheme files and on the project.pbxproj file, regarding some version upgrades, some English translations and a few options like ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES. Make sure to commit once again before continuing, try to run your project and note if it runs or not.

  1. Third step, you need to go to the Project Navigator again, like the first step, then right-click on any of the files in your project, like AppDelegate.m, and click New File....

5

A sheet will appear, select Swift File and click Next.

6

Another sheet will appear, click Create.

7

Most probably one last sheet will appear, click Create Bridging Header. If that doesn't appear, keep going.

8

In the Project Navigator, select the newly-created File.swift file, right-click it and click Delete.

9

An alert will appear, click Move to Trash.

10

After this step, you should have a bunch of git changes for SWIFT_VERSION and CLANG_ENABLE_MODULES etc. Again, commit before continuing, try to run your project and note if it runs or not.

  1. Last step, you need to edit the LIBRARY_SEARCH_PATHS setting.

11

Click on the Project Navigator like the first step, then on your project at the top like the first step. Then click on the project right above the targets (1). If you don't see this sidebar, click on the icon (0). Click on Build Settings (2) and in the search write LIBRARY_SEARCH_PATHS (3). Double-click on the empty space (4) and using the + button (5), add the three values, in order: "$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)", "$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)", "$(inherited)".

After this step you should have some git changes again, you can commit and try to run your project again, and note if it runs or not.

At this point your Xcode project upgrade should be done, your project should be running and your changes should be committed. If your project doesn't run, make sure to try to Clean the project before running by pressing cmd-option-shift-K to clean, then cmd-B to build or cmd-R to run. If you are still having some trouble, feel free to make an issue on the upgrade-support repo giving us as much info as you can about what steps you did, which one if failed on etc, and we will try to help and improve this document.

I have done the above process on a repo here, where I upgrade from a working project in 0.61 to a working project in 0.62.

Building iOS generic build error

Environment

System:
OS: macOS Mojave 10.14.6
CPU: (4) x64 Intel(R) Core(TM) i5-4570R CPU @ 2.70GHz
Memory: 645.54 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
Yarn: 1.22.0 - /usr/local/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v10.15.3/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.1, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
Android SDK:
API Levels: 22, 23, 24, 26, 27, 28, 29
Build Tools: 23.0.1, 26.0.3, 27.0.0, 27.0.1, 27.0.3, 28.0.0, 28.0.3, 29.0.0
System Images: android-26 | Google Play Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-29 | Intel x86 Atom, android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom_64
Android NDK: Not Found
IDEs:
Android Studio: 3.4 AI-183.5429.30.34.5452501
Xcode: 11.1/11A1027 - /usr/bin/xcodebuild
Languages:
Python: 2.7.16 - /usr/local/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.0 => 0.62.0
npmGlobalPackages:
react-native: Not Found

Upgrading version

The project was originally made in v59.9 then i upgraded it to v0.62.0

Description

I used this one in upgrading the project. So far everything works great. I was even able to build the iOS on debug. also followed the migration guide found on this repo

Reproducible demo

Building the iOS on generic iOS device results in an error about Flipper and Folly i think.
Screen Shot 2020-04-03 at 3 46 05 PM

PodFile Multiple targets break Flipper support

Environment

System:
    OS: macOS 10.15.4
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 24.69 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.13.0 - ~/.nvm/versions/node/v10.13.0/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.4.1 - ~/.nvm/versions/node/v10.13.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  Languages:
    Java: 10.0.2 - /usr/bin/javac
    Python: 2.7.17 - /usr/local/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

from=0.61.5 --> to=0.62.2

Description

I am Having multiple target in the PodFile, and according to the upgrade helper process i should put this code inside the my target for Flipper.

target 'RnDiffApp' do
...
add_flipper_pods!
post_install do |installer|
  flipper_post_install(installer)
end
...
end

Trying to add the same piece of code into my other target Prod like this:

target 'RnDiffAppProd' do
...
add_flipper_pods!
post_install do |installer|
  flipper_post_install(installer)
end
...
end

When running pod install i got the following error:

[!] Invalid `Podfile` file: [!] Specifying multiple `post_install` hooks is unsupported

According to this issue 6172 CocoaPods doesn't support multiple post_install hooks.

To solve this issue, i had to rewrite the code as below:

target 'RnDiffApp' do
....
end
target 'RnDiffAppProd' do
....
end
add_flipper_pods!
post_install do |installer|
  flipper_post_install(installer)
end

So far both my target build successfully in debug mode with flipper support.

IMO, this should be the default way to insert the post-install hook for Flipper in the upgrade helper.

0.62.1 Release APK: Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.

Environment

System:
    OS: macOS 10.15.4
    CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz
    Memory: 21.43 MB / 8.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node
    Yarn: Not Found
    npm: 6.14.4 - ~/.nvm/versions/node/v10.16.3/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.8.4 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.2
      Android NDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0 
    react-native: ^0.62.1 => 0.62.1 
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

0.61.5->0.62.1

Description

I built my app for debug on Android, and everything works perfectly. However, when I build it for release, the build succeeds but upon launching the app it creates the following error:

java.lang.RuntimeException: Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
 	at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method)
 	at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets(Unknown Source:2)
	at com.facebook.react.bridge.JSBundleLoader$1.loadScript(Unknown Source:10)
 	at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(Unknown Source:18)
	at com.facebook.react.r.a(Unknown Source:180)
 	at com.facebook.react.r.a(Unknown Source:0)
 	at com.facebook.react.r$e.run(Unknown Source:68)
	at java.lang.Thread.run(Thread.java:919)

I used this command to build my app:

cd android
./gradlew assembleRelease

Here is my build.gradle: https://gist.github.com/palkerecsenyi/1434ce9340c167b80847ea2dcee30528
app/build.gradle: https://gist.github.com/palkerecsenyi/6c09728996c4f982dc3bd11ad757c45b
package.json: https://gist.github.com/palkerecsenyi/d42eb7f1af6a6d3a83db9e271e720aec
index.js (not sure if that's fully relevant): https://gist.github.com/palkerecsenyi/90274eadedb9ca9c8f4ebb0ec42f10ca

Reproducible demo

I'm not sure if this happens with all upgrades, and I'm not sure how to reproduce it. I know at least one other person has experienced this issue: facebook/react-native#25348 (comment).

Thanks in advance!

GitHub action should set the label of the newest release version found

The current GitHub action gets the first version specified under Upgrading version which can have the following values (as noticed since launch day):

  • ... upgrading from 0.59.8 to 0.62 ...
  • From 0.61.3 to 0.62.0
  • 0.61.5 -> 0.62.0
  • 0.61.5 -> 0.62
  • None โ˜น๏ธ

It would be better to just get all versions, loop through them and set the newest one.

Also, for the last case, apply a label such as No version specified.

0.62 /node_modules/react-native/react.gradle' line: 10 unkown property

Environment

System:
    OS: macOS 10.15.3
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 3.67 GB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.16.0 - /usr/local/bin/node
    Yarn: 1.22.0 - /usr/local/bin/yarn
    npm: 6.13.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.3
      System Images: android-29 | Google APIs Intel x86 Atom_64
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.6 AI-192.7142.36.36.6241897
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0 
    react-native: 0.62.0 => 0.62.0 
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

0.62

Description

Trying to run android gets this error:

FAILURE: Build failed with an exception.

* Where:
Script '/Users/davidlevai/Work/Classy/Unipie/UnipieApp/node_modules/react-native/react.gradle' line: 10

* What went wrong:
A problem occurred evaluating script.
> Could not get unknown property 'project' for settings 'UnipieApp' of type org.gradle.initialization.DefaultSettings.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4s

    at makeError (/Users/davidlevai/Work/Classy/Unipie/UnipieApp/node_modules/execa/index.js:174:9)
    at /Users/davidlevai/Work/Classy/Unipie/UnipieApp/node_modules/execa/index.js:278:16
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async runOnAllDevices (/Users/davidlevai/Work/Classy/Unipie/UnipieApp/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:94:5)
    at async Command.handleAction (/Users/davidlevai/Work/Classy/Unipie/UnipieApp/node_modules/@react-native-community/cli/build/index.js:186:9)

My settings. gradle:

rootProject.name = 'UnipieApp'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings);
apply from: file("../node_modules/react-native/react.gradle");
apply from: file("../node_modules/react-native-code-push/android/codepush.gradle");
include ':app'

0.62 Build error: 'ld: library not found for -lPods-[AppName]-AppNameTests'

Environment

    OS: macOS 10.15.4
    CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
    Memory: 355.68 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 13.11.0 - /var/folders/vs/2mgym3v938b0tdl4jj7dkw900000gn/T/yarn--1585892597011-0.5218117306373009/node
    Yarn: 1.22.4 - /var/folders/vs/2mgym3v938b0tdl4jj7dkw900000gn/T/yarn--1585892597011-0.5218117306373009/yarn
    npm: 6.13.7 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.6.1 - /Users/caspar/.rvm/gems/ruby-2.6.6/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.0, 29.0.1
      System Images: android-28 | Google Play Intel x86 Atom, android-29 | Intel x86 Atom_64
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.6 AI-192.7142.36.36.6241897
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.0 => 16.13.0 
    react-native: 0.62.0 => 0.62.0 

Upgrading version

0.62

Problem

Build error: 'ld: library not found for -lPods-[AppName]-AppNameTests'

Solution

Not entirely sure what the root cause for this error is but this bug is a result of an obsolete framework file. My guess, this is related to switching the target: [App]Test in the Podfile from inherit! :search_pathsto inherit! :complete.

To solve this error:

  1. Open your project in XCode
  2. Open the Framework directory
  3. Delete the obsolete framework file that causes the error, should be equal to the file name referenced in the error message.
  4. Clean build.

Screenshot 2020-04-03 at 07 15 55

Fixing issue with Open-SSL bitcode

Environment

System:
    OS: macOS 10.15.4
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 986.72 MB / 32.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.16.0 - /usr/local/bin/node
    Yarn: 1.22.0 - /usr/local/bin/yarn
    npm: 6.13.7 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 26, 28, 29
      Build Tools: 28.0.3, 29.0.3
      System Images: android-28 | Intel x86 Atom, android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.6010548
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  Languages:
    Python: 3.7.3 - /Users/ericwiener/anaconda3/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: Not Found
    react-native: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

Upgrading from 0.61.5 to 0.62.0

Problem

Recieved the error:

'.../ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a(bio_lib.o)' does not contain bitcode. 
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), 
obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64

Solution

For all your targets you need to go to Build Settings -> Enable Bitcode. Set Debug to NO and Release to Yes.

Screen Shot 2020-04-03 at 3 12 14 PM

ClassNotFoundException: Didn't find class "com.facebook.jni.NativeRunnable"

Environment

System:
    OS: macOS Mojave 10.14.6
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 19.86 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
    Yarn: 1.3.2 - /usr/local/bin/yarn
    npm: 6.14.2 - ~/.nvm/versions/node/v10.15.3/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.8.4 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 19, 21, 22, 23, 24, 25, 26, 27, 28, 29
      Build Tools: 19.1.0, 20.0.0, 21.1.2, 22.0.1, 23.0.1, 23.0.2, 23.0.3, 24.0.1, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.1, 27.0.3, 28.0.0, 28.0.2, 28.0.3, 29.0.0
      System Images: android-25 | Google APIs Intel x86 Atom_64, android-26 | Google APIs Intel x86 Atom, android-26 | Google Play Intel x86 Atom, android-28 | Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
      Android NDK: 19.2.5345600
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.6010548
    Xcode: 11.3/11C29 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.15 - /usr/local/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.x => 0.62.0
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

0.61.x -> 0.62.0

Problem

Exception after most Android-native related upgrade changes are in-effect:

04-02 16:45:09.984   5599     5629                    log  E  error java.lang.ClassNotFoundException: Didn't find class "com.facebook.jni.NativeRunnable" on path: DexPathList[[zip file "/syste
                                                            m/framework/android.test.runner.jar", zip file "/system/framework/android.test.mock.jar", zip file "/data/app/<package-id> 
                                                            -4_Awll2XOObiNOIzAi-1mg==/base.apk", zip file "/data/app/<package>-MKSEeZ2AT76gKeeTnKiTPQ==/base.apk"],nativeLibraryDi
                                                            rectories=[/data/app/<package-id>-4_Awll2XOObiNOIzAi-1mg==/lib/x86_64, /data/app/<package>-MKSEeZ2AT76gKeeTnKi
                                                            TPQ==/lib/x86_64, /data/app/<package-id>-4_Awll2XOObiNOIzAi-1mg==/base.apk!/lib/x86_64, /data/app/<package>-MK
                                                            SEeZ2AT76gKeeTnKiTPQ==/base.apk!/lib/x86_64, /system/lib64]]

(Ignored lots of consequent errors here)

Solution

This happens only when minification is enabled -- com.facebook.jni.NativeRunnable gets stripped out, and even though NativeRunnable has the @DoNotStrip annotation.

The problem is that RN's self proguard settings are incomplete. This section allegedly should do the trick here:

# Do not strip any method/class that is annotated with @DoNotStrip
-keep @com.facebook.proguard.annotations.DoNotStrip class *
-keep @com.facebook.common.internal.DoNotStrip class *
-keepclassmembers class * {
    @com.facebook.proguard.annotations.DoNotStrip *;
    @com.facebook.common.internal.DoNotStrip *;
}

But it doesn't. Adding this to your app's proguard rules should solve both that and potentially similar problems:

-keep @com.facebook.jni.annotations.DoNotStrip class *
-keep class * {
    @com.facebook.proguard.annotations.DoNotStrip *;
    @com.facebook.common.internal.DoNotStrip *;
    @com.facebook.jni.annotations.DoNotStrip *;
}
-keepclassmembers class * {
    @com.facebook.jni.annotations.DoNotStrip *;
}

Explanation: there are several DoNotStrip annotations going around in RN's and its deps. In particular, this adds the missing com.facebook.jni.annotations.DoNotStrip annotation for keeping class members, and, more importantly, applies all known DoNotStrip over classes (that includes the NativeRunnable class).

I'll consider PR-ing this.

[0.62.1] Release: Can't find variable: LogBoxNotificationContainer

Environment

System:
OS: macOS 10.15.4
CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Memory: 547.79 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.14.1 - /usr/local/bin/node
Yarn: 1.21.1 - /usr/local/bin/yarn
npm: 6.13.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK: Not Found
IDEs:
Android Studio: 3.6 AI-192.7142.36.36.6241897
Xcode: 11.4/11E146 - /usr/bin/xcodebuild
Languages:
Java: Not Found
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.1 => 0.62.1
npmGlobalPackages:
react-native: Not Found

Upgrading version

From 0.61.5 to 0.62.1

Description

Only in Release build this error happen:
Can't find variable: LogBoxNotificationContainer
LogBox

Development build works okay. I followed all upgrade steps.

I tried with no luck:

Please get me a tip how to fix this problem

Changed proguard rule for Hermes is not specified in the upgrade helper for 0.62.

Feature Request

The new proguard rule for using Hermes:

-keep class com.facebook.jni.** { *; }

is not mentioned in the upgrade helper for 0.62.

Why it is needed

Omitting this update makes the Android release app with Hermes and Proguard crashes on startup:

FATAL EXCEPTION: create_react_context
java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so caused by: com.facebook.jni.NativeRunnable

This is a valid solution

Environment

  System:
    OS: macOS 10.15.1
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
    Memory: 2.29 GB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.13.1 - ~/.nvm/versions/node/v12.13.1/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.12.1 - ~/.nvm/versions/node/v12.13.1/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 23, 24, 25, 26, 27, 28
      Build Tools: 23.0.1, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 27.0.2, 28.0.3, 29.0.2
      System Images: android-26 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom
  IDEs:
    Android Studio: 3.0 AI-171.4443003
    Xcode: 11.3/11C29 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0 
    react-native: 0.61.5 => 0.61.5

Upgrading version

0.62.0-rc.1

Description

When I try to use Vibration.vibrate() in iOS I have the following error:

Error: Argument 0 (NSNumber) of Vibration.vibrate has unspecified nullability but React requires that all NSNumber arguments are explicitly marked as 'nonnull' to ensure compatibility with Android.

Reproducible demo

Build and run the app: https://github.com/lucasbento/RNVibrationError

directory not found for option '-L-L/.../CocoaAsyncSocket'

Environment

System:
    OS: macOS 10.15.2
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 66.96 MB / 32.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 13.3.0 - /usr/local/bin/node
    Yarn: 1.21.1 - /usr/local/bin/yarn
    npm: 6.13.2 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.8.4 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 23, 24, 25, 26, 27, 28, 29
      Build Tools: 28.0.3, 29.0.2
      System Images: android-27 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.6010548
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0 
    react-native: 0.62.0 => 0.62.0 
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

0.61.5 => 0.62

Description

After following the upgrade helper and this issue for the iOS project file, I get stuck with the following build error:

ld: warning: directory not found for option '-L-L/Users/../ios/build/Release-iphonesimulator/CocoaAsyncSocket'
ld: library not found for -lCocoaAsyncSocket
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I suspect something is wrong in my Search Paths, but I am not yet able to figured it out.

Reproducible demo

[0.62.1] Module RCTLog is not a registered callable module (calling logIfNoNativeHook)

Environment

System:
    OS: macOS 10.15.1
    CPU: (4) x64 Intel(R) Core(TM) i5-4570R CPU @ 2.70GHz
    Memory: 193.41 MB / 8.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.13.0 - /usr/local/bin/node
    Yarn: 1.19.1 - /usr/local/bin/yarn
    npm: 6.12.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.8.4 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 3.6 AI-192.7142.36.36.6241897
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  Languages:
    Java: 13.0.2 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0 
    react-native: 0.62.1 => 0.62.1 
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

Upgrading from 0.61.5 -> 0.62.1

Description

I followed all of the guides regarding the upgrade and got this issue. I tried to solve it by creating a new typescript project on version 0.62.1 and copying all my code over, however, the error still remains.

In the JS console there are several other similar issues shown like so:

Screenshot 2020-04-08 at 15 46 58

It's worth nothing that hot refresh does not work either for some reason.
This issue did not exist before upgrading to 0.62.1.
I downgraded to 0.62.0 also but to now avail

Reproducible demo

App.tsx

import React from 'react'
import {RelayEnvironmentProvider} from 'relay-hooks'
import {Provider} from 'react-redux'
import store, {persistor} from './redux/store'
import environment from './relay/environment'

const App = () => {
  return (
    <Provider store={store}>
      <RelayEnvironmentProvider environment={environment}>
        <></>
      </RelayEnvironmentProvider>
    </Provider>
  )
}

Podfile

platform :ios, '10.3'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
inhibit_all_warnings!

def add_flipper_pods!
  version = '~> 0.33.1'
  pod 'FlipperKit', version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitLayoutPlugin', version, :configuration => 'Debug'
  pod 'FlipperKit/SKIOSNetworkPlugin', version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitUserDefaultsPlugin', version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitReactPlugin', version, :configuration => 'Debug'
end

# Post Install processing for Flipper
def flipper_post_install(installer)
  installer.pods_project.targets.each do |target|
    if target.name == 'YogaKit'
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '4.1'
      end
    end
  end
end

target 'murch' do
  # Pods for murch
  pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
  pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
  pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
  pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
  pod 'React', :path => '../node_modules/react-native/'
  pod 'React-Core', :path => '../node_modules/react-native/'
  pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
  pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
  pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
  pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
  pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
  pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
  pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
  pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
  pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
  pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
  pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
  pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'

  pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
  pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
  pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
  pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
  pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
  pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
  pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true

  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

  target 'murchTests' do
    inherit! :complete
    # Pods for testing
  end

  use_native_modules!
  
  pod 'SVProgressHUD'

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
  add_flipper_pods!
  post_install do |installer|
    flipper_post_install(installer)
  end
end

target 'murch-tvOS' do
  # Pods for murch-tvOS

  target 'murch-tvOSTests' do
    inherit! :search_paths
    # Pods for testing
  end
end

Screenshots

Simulator Screen Shot - iPhone 11 - 2020-04-08 at 15 48 56

What I've tried

  • Copying my code into a new project
  • Clearing Xcode cache
  • rm -rf node_moduels && yarn
  • react-native start --reset-cache

0.62 - Missing images required from outside folder

Environment

System:
OS: macOS 10.15.3
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 734.50 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.16.1 - /usr/local/opt/node@12/bin/node
Yarn: 1.22.0 - /usr/local/bin/yarn
npm: 6.13.4 - /usr/local/opt/node@12/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
IDEs:
Android Studio: 3.6 AI-192.7142.36.36.6200805
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
react: 16.11.0 => 16.11.0
react-native: 0.62.0 => 0.62.0

Upgrading version

0.61.5 -> 0.62 upgraded manually according to this #13 - everything is done except localization migration and recommended settings update - there are no issues in issues navigator. Project runs fine without it

Description

The problem: In release builds on iOS, images that are imported from outside of project root are not shown
Description: We are using yarn workspaces, and images for the project are stored outside of the project root, few levels higher. metro.config.js is configured to properly resolve paths to these assets (through resolvers.extraNodeModules). Problem occurs when running application in "Release" build configuration on iOS - images that are required from outside of project root are blank. "Debug" configuration and also Android builds (debug and release) don't have this problem. Build doesn't crash, there are no warnings. console.log(require('@resources/image.png')) properly logs a number. Requiring the same image through aliases ('../../resources/image.png' and '@resources/image.png') logs the same number as expected
Sometimes after running in "Debug" configuration it is also possible to get your images in "Release", given I don't clean build folder in xcode. If I do clean build folder though, no images appear

Reproducible demo

I tried to reproduce the problem by creating 2 new projects with react-native init (0.61.5 and 0.62) and none of these projects have this issue, which leads me to believe something went wrong during upgrade

Looking forward to any possible suggestions

Getting errors in cstdlib in XCode 11.4 when compiling react-native project after upgrading from 0.60.5 to 0.62.1

Getting errors in cstdlib in XCode 11 when compiling react-native project after upgrading from 0.60.5 to 0.62.1

I had upgraded my react-native project from version 0.60.5 to version 0.62.1 as per instructions given here react-native-community/upgrade-helper#191

After upgrading when i run my project from XCode 11.4 then it throws errors in cstdlib as given below

CompileC /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/Objects-normal/armv7/RealmAnalytics.o /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm normal armv7 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RealmReact' from project 'RealmReact')
cd /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios
export LANG=en_US.US-ASCII
/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/../../scripts/ccache-clang.sh -x objective-c++ -target armv7-apple-ios8.0 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++14 -stdlib=libc++ -fobjc-arc -fmodules -fmodules-cache-path=/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -Wno-c++11-extensions -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -g -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -fembed-bitcode-marker -index-store-path /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Index/DataStore -iquote /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/RealmReact-generated-files.hmap -I/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/RealmReact-own-target-headers.hmap -I/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/RealmReact-all-non-framework-target-headers.hmap -ivfsoverlay /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/all-product-headers.yaml -iquote /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/RealmReact-project-headers.hmap -I/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Products/Debug-iphoneos/include -I/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/src -I/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/src/object-store/src -I/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/src/object-store/external/json -I/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/vendor -I/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/vendor/realm-ios/include -I../../vendor/GCDWebServer/GCDWebServer -I../../vendor/GCDWebServer/GCDWebServer/Core -I../../vendor/GCDWebServer/GCDWebServer/Requests -I../../vendor/GCDWebServer/GCDWebServer/Responses -I../../../react-native/React -I../../../react-native/React/Base -I../../../react-native/React/CoreModules -I../../../react-native/React/CxxBridge -I../../../react-native/React/CxxModule -I../../../react-native/React/CxxUtils -I../../../react-native/React/DevSupport -I../../../react-native/React/Fabric -I../../../react-native/React/Inspector -I../../../react-native/React/Modules -I../../../react-native/React/Profiler -I../../../react-native/React/UIUtils -I../../../react-native/React/Views -I../../../react-native/React/Base/Surface -I../../../react-native/React/Fabric/Mounting -I../../../react-native/React/Fabric/Surface -I../../../react-native/React/Fabric/Utils -I../../../react-native/React/Views/RefreshControl -I../../../react-native/React/Views/SafeAreaView -I../../../react-native/React/Views/ScrollView -I../../../react-native/React/Base/Surface/SurfaceHostingView -I../../../react-native/React/Fabric/Mounting/ComponentViews -I../../../react-native/React/Fabric/Mounting/ComponentViews/ART -I../../../react-native/React/Fabric/Mounting/ComponentViews/ActivityIndicator -I../../../react-native/React/Fabric/Mounting/ComponentViews/Image -I../../../react-native/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop -I../../../react-native/React/Fabric/Mounting/ComponentViews/Modal -I../../../react-native/React/Fabric/Mounting/ComponentViews/Root -I../../../react-native/React/Fabric/Mounting/ComponentViews/SafeAreaView -I../../../react-native/React/Fabric/Mounting/ComponentViews/ScrollView -I../../../react-native/React/Fabric/Mounting/ComponentViews/Slider -I../../../react-native/React/Fabric/Mounting/ComponentViews/Switch -I../../../react-native/React/Fabric/Mounting/ComponentViews/Text -I../../../react-native/React/Fabric/Mounting/ComponentViews/UnimplementedComponent -I../../../react-native/React/Fabric/Mounting/ComponentViews/UnimplementedView -I../../../react-native/React/Fabric/Mounting/ComponentViews/View -I../../../../ios/Pods/Headers/Public -I../../../../ios/Pods/Headers/Public/CocoaAsyncSocket -I../../../../ios/Pods/Headers/Public/CocoaLibEvent -I../../../../ios/Pods/Headers/Public/DoubleConversion -I../../../../ios/Pods/Headers/Public/FBLazyVector -I../../../../ios/Pods/Headers/Public/FBReactNativeSpec -I../../../../ios/Pods/Headers/Public/Firebase -I../../../../ios/Pods/Headers/Public/FirebaseAuth -I../../../../ios/Pods/Headers/Public/FirebaseAuthInterop -I../../../../ios/Pods/Headers/Public/FirebaseCore -I../../../../ios/Pods/Headers/Public/FirebaseCoreDiagnostics -I../../../../ios/Pods/Headers/Public/FirebaseCoreDiagnosticsInterop -I../../../../ios/Pods/Headers/Public/FirebaseInstanceID -I../../../../ios/Pods/Headers/Public/Flipper -I../../../../ios/Pods/Headers/Public/Flipper-DoubleConversion -I../../../../ios/Pods/Headers/Public/Flipper-Folly -I../../../../ios/Pods/Headers/Public/Flipper-Glog -I../../../../ios/Pods/Headers/Public/Flipper-PeerTalk -I../../../../ios/Pods/Headers/Public/Flipper-RSocket -I../../../../ios/Pods/Headers/Public/FlipperKit -I../../../../ios/Pods/Headers/Public/GTMSessionFetcher -I../../../../ios/Pods/Headers/Public/GoogleDataTransport -I../../../../ios/Pods/Headers/Public/GoogleDataTransportCCTSupport -I../../../../ios/Pods/Headers/Public/GoogleUtilities -I../../../../ios/Pods/Headers/Public/OpenSSL-Universal -I../../../../ios/Pods/Headers/Public/Permission-Camera -I../../../../ios/Pods/Headers/Public/Permission-MediaLibrary -I../../../../ios/Pods/Headers/Public/Permission-Microphone -I../../../../ios/Pods/Headers/Public/Permission-PhotoLibrary -I../../../../ios/Pods/Headers/Public/RCTRequired -I../../../../ios/Pods/Headers/Public/RCTTypeSafety -I../../../../ios/Pods/Headers/Public/RNBackgroundFetch -I../../../../ios/Pods/Headers/Public/RNCAsyncStorage -I../../../../ios/Pods/Headers/Public/RNColorMatrixImageFilters -I../../../../ios/Pods/Headers/Public/RNDateTimePicker -I../../../../ios/Pods/Headers/Public/RNDeviceInfo -I../../../../ios/Pods/Headers/Public/RNEmbrace -I../../../../ios/Pods/Headers/Public/RNFBApp -I../../../../ios/Pods/Headers/Public/RNFBCrashlytics -I../../../../ios/Pods/Headers/Public/RNFS -I../../../../ios/Pods/Headers/Public/RNFirebase -I../../../../ios/Pods/Headers/Public/RNGestureHandler -I../../../../ios/Pods/Headers/Public/RNPermissions -I../../../../ios/Pods/Headers/Public/RNReanimated -I../../../../ios/Pods/Headers/Public/RNSVG -I../../../../ios/Pods/Headers/Public/RNScreens -I../../../../ios/Pods/Headers/Public/RNSecureKeyStore -I../../../../ios/Pods/Headers/Public/RNVectorIcons -I../../../../ios/Pods/Headers/Public/React-Core -I../../../../ios/Pods/Headers/Public/React-RCTText -I../../../../ios/Pods/Headers/Public/React-cxxreact -I../../../../ios/Pods/Headers/Public/React-jsi -I../../../../ios/Pods/Headers/Public/React-jsiexecutor -I../../../../ios/Pods/Headers/Public/React-jsinspector -I../../../../ios/Pods/Headers/Public/ReactCommon -I../../../../ios/Pods/Headers/Public/ReactNativeART -I../../../../ios/Pods/Headers/Public/ReactNativeAudioToolkit -I../../../../ios/Pods/Headers/Public/TouchID -I../../../../ios/Pods/Headers/Public/Yoga -I../../../../ios/Pods/Headers/Public/YogaKit -I../../../../ios/Pods/Headers/Public/glog -I../../../../ios/Pods/Headers/Public/nanopb -I../../../../ios/Pods/Headers/Public/react-native-bg-thread -I../../../../ios/Pods/Headers/Public/react-native-camera -I../../../../ios/Pods/Headers/Public/react-native-document-picker -I../../../../ios/Pods/Headers/Public/react-native-geocoder -I../../../../ios/Pods/Headers/Public/react-native-geolocation -I../../../../ios/Pods/Headers/Public/react-native-image-picker -I../../../../ios/Pods/Headers/Public/react-native-image-resizer -I../../../../ios/Pods/Headers/Public/react-native-netinfo -I../../../../ios/Pods/Headers/Public/react-native-orientation-locker -I../../../../ios/Pods/Headers/Public/react-native-slider -I../../../../ios/Pods/Headers/Public/react-native-video -I../../../../ios/Pods/Headers/Public/react-native-webview -I../../../../ios/Pods/Headers/Public/CocoaLibEvent/event2 -I../../../../ios/Pods/Headers/Public/DoubleConversion/double-conversion -I../../../../ios/Pods/Headers/Public/FBLazyVector/FBLazyVector -I../../../../ios/Pods/Headers/Public/FBReactNativeSpec/FBReactNativeSpec -I../../../../ios/Pods/Headers/Public/Flipper-DoubleConversion/double-conversion -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly -I../../../../ios/Pods/Headers/Public/Flipper-Glog/glog -I../../../../ios/Pods/Headers/Public/Flipper-PeerTalk/peertalk -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/rsocket -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/yarpl -I../../../../ios/Pods/Headers/Public/FlipperKit/FBDefines -I../../../../ios/Pods/Headers/Public/FlipperKit/FlipperKitHighlightOverlay -I../../../../ios/Pods/Headers/Public/FlipperKit/FlipperKitLayoutPlugin -I../../../../ios/Pods/Headers/Public/FlipperKit/FlipperKitLayoutTextSearchable -I../../../../ios/Pods/Headers/Public/FlipperKit/FlipperKitNetworkPlugin -I../../../../ios/Pods/Headers/Public/FlipperKit/FlipperKitReactPlugin -I../../../../ios/Pods/Headers/Public/FlipperKit/FlipperKitUserDefaultsPlugin -I../../../../ios/Pods/Headers/Public/FlipperKit/SKIOSNetworkPlugin -I../../../../ios/Pods/Headers/Public/OpenSSL-Universal/openssl -I../../../../ios/Pods/Headers/Public/RCTRequired/RCTRequired -I../../../../ios/Pods/Headers/Public/RCTTypeSafety/RCTTypeSafety -I../../../../ios/Pods/Headers/Public/React-Core/React -I../../../../ios/Pods/Headers/Public/React-RCTText/RCTText -I../../../../ios/Pods/Headers/Public/React-cxxreact/cxxreact -I../../../../ios/Pods/Headers/Public/React-jsi/jsi -I../../../../ios/Pods/Headers/Public/React-jsiexecutor/jsireact -I../../../../ios/Pods/Headers/Public/React-jsinspector/jsinspector -I../../../../ios/Pods/Headers/Public/ReactCommon/ReactCommon -I../../../../ios/Pods/Headers/Public/Yoga/yoga -I../../../../ios/Pods/Headers/Public/glog/glog -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/concurrency -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/container -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/detail -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/executors -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/experimental -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/functional -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/futures -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/gen -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/hash -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/init -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/io -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/lang -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/memory -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/net -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/portability -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/ssl -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/synchronization -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/system -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/tracing -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/rsocket/benchmarks -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/rsocket/framing -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/rsocket/internal -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/rsocket/statemachine -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/rsocket/transports -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/yarpl/flowable -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/yarpl/observable -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/container/detail -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/executors/task_queue -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/executors/thread_factory -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/futures/detail -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/hash/detail -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/io/async -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/memory/detail -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/net/detail -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/ssl/detail -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/synchronization/detail -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/rsocket/transports/tcp -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/ssl -I/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/tests/react-test-app/ios/Pods/Headers/Public/React -I/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/examples/ReactExample/node_modules/react-native/React -I/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/DerivedSources-normal/armv7 -I/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/DerivedSources/armv7 -I/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/DerivedSources -F/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Products/Debug-iphoneos -isystem ../../core/include -MMD -MT dependencies -MF /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/Objects-normal/armv7/RealmAnalytics.d --serialize-diagnostics /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/Objects-normal/armv7/RealmAnalytics.dia -c /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm -o /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/Objects-normal/armv7/RealmAnalytics.o

In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm:57:
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.h:57:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/usr/include/assert.h:44:
In file included from ../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/portability/stdlib.h:19:
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:100:9: error: no member named 'div_t' in the global namespace; did you mean 'dev_t'?
using ::div_t;
~~^
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm:57:
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.h:57:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/usr/include/sys/types.h:103:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/usr/include/sys/_types/_dev_t.h:31:31: note: 'dev_t' declared here
typedef __darwin_dev_t dev_t; /* device number /
^
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm:57:
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.h:57:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/usr/include/assert.h:44:
In file included from ../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/portability/stdlib.h:19:
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:101:9: error: no member named 'ldiv_t' in the global namespace; did you mean 'dev_t'?
using ::ldiv_t;
~~^
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm:57:
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.h:57:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/usr/include/sys/types.h:103:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/usr/include/sys/_types/_dev_t.h:31:31: note: 'dev_t' declared here
typedef __darwin_dev_t dev_t; /
device number */
^
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm:57:
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.h:57:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/usr/include/assert.h:44:
In file included from ../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/portability/stdlib.h:19:
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:103:9: error: no member named 'lldiv_t' in the global namespace
using ::lldiv_t;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:105:9: error: no member named 'atof' in the global namespace
using ::atof;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:106:9: error: no member named 'atoi' in the global namespace
using ::atoi;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:107:9: error: no member named 'atol' in the global namespace
using ::atol;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:109:9: error: no member named 'atoll' in the global namespace
using ::atoll;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:111:9: error: no member named 'strtod' in the global namespace
using ::strtod;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:112:9: error: no member named 'strtof' in the global namespace
using ::strtof;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:113:9: error: no member named 'strtold' in the global namespace
using ::strtold;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:114:9: error: no member named 'strtol' in the global namespace
using ::strtol;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:116:9: error: no member named 'strtoll' in the global namespace
using ::strtoll;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:118:9: error: no member named 'strtoul' in the global namespace
using ::strtoul;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:120:9: error: no member named 'strtoull' in the global namespace
using ::strtoull;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:125:9: error: no member named 'rand' in the global namespace
using ::rand;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:126:9: error: no member named 'srand' in the global namespace
using ::srand;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:127:9: error: no member named 'calloc' in the global namespace
using ::calloc;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:128:9: error: no member named 'free' in the global namespace
using ::free;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:129:9: error: no member named 'malloc' in the global namespace
using ::malloc;
~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

My podfile ๐Ÿ‘

platform :ios, '10.0'

use_frameworks!

$dynamic_frameworks = ['RxCocoa', 'RxSwift', 'WhatEverSDKName']

pre_install do |installer|
installer.pod_targets.each do |pod|
if !$dynamic_frameworks.include?(pod.name)
puts "Overriding the static_framework? method for #{pod.name}"
def pod.build_type;
Pod::BuildType.static_library
end
end
end
end

require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

def add_flipper_pods!
version = '~> 0.33.1'
pod 'FlipperKit', version, :configuration => 'Debug'
pod 'FlipperKit/FlipperKitLayoutPlugin', version, :configuration => 'Debug'
pod 'FlipperKit/SKIOSNetworkPlugin', version, :configuration => 'Debug'
pod 'FlipperKit/FlipperKitUserDefaultsPlugin', version, :configuration => 'Debug'
pod 'FlipperKit/FlipperKitReactPlugin', version, :configuration => 'Debug'
end

Post Install processing for Flipper

def flipper_post_install(installer)
installer.pods_project.targets.each do |target|
if target.name == 'YogaKit'
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.1'
end
end
end
end

target 'MedicBleep' do

Pods for MedicBleep

pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"

pod 'React', :path => '../node_modules/react-native/'
pod 'React-Core', :path => '../node_modules/react-native/'
pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'

pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'

pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'

pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true

pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'react-native-bg-thread', :path => '../node_modules/react-native-bg-thread/react-native-bg-thread.podspec'

Required by RNFirebase

pod 'Firebase/Core', '> 6.13.0'
pod 'Firebase/Auth', '
> 6.13.0'

pod 'Fabric'

pod 'Crashlytics'

Point to the installed version

pod 'RNDateTimePicker', :path => '../node_modules/@react-native-community/datetimepicker/RNDateTimePicker.podspec'

pod 'ReactNativeAudioToolkit', :path => '../node_modules/@react-native-community/audio-toolkit'

permissions_path = '../node_modules/react-native-permissions/ios'
pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec"
pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone.podspec"
pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary.podspec"
pod 'Permission-MediaLibrary', :path => "#{permissions_path}/MediaLibrary.podspec"

pod 'RNSVG', :path => '../node_modules/react-native-svg'
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'

pod 'TwilioVoice', '5.1.1'

Add these lines at the end of the target block

pod 'EmbraceIO'
pod 'RNEmbrace', :path => '../node_modules/react-native-embrace'

target 'MedicBleepTests' do
inherit! :complete
# Pods for testing
end

use_native_modules!

Enables Flipper.

Note that if you have use_frameworks! enabled, Flipper will not work and

you should disable these next few lines.

add_flipper_pods!
post_install do |installer|
flipper_post_install(installer)
end
end

target 'MedicBleep-tvOS' do

Pods for MedicBleep-tvOS

target 'MedicBleep-tvOSTests' do
inherit! :search_paths
# Pods for testing
end

end

Please help this is urgent.

react-native run-android fails when using appIdSuffix option

Environment

System:
OS: Windows 10
CPU: (8) x64 Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
Memory: 5.10 GB / 15.78 GB
Binaries:
Node: 10.16.0
Yarn: 1.16.0
npm: 6.9.0
Watchman: 4.9.4
IDEs:
Android Studio: Version 3.6.0.0 AI-192.7142.36.36.6308749

Upgrading version

0.62

Description

We have multiple productFlavors that differs in application id suffix. In react native 0.61.4 we used the option --appIdSuffix to match. In 0.62 when using this option it doesn't work.

Running command: "react-native run-android --variant=clinicDebug --appIdSuffix=clinic"

Error message:

FAILURE: Build failed with an exception.

  • What went wrong:
    Task 'installClinicClinicDebug' not found in project ':app'.

  • Try:
    Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

From build.gradle:

defaultConfig {
        applicationId "com.siv"
    }
productFlavors {
        clinic {
            applicationIdSuffix ".clinic"
        }
    }

I don't understand why it looks for a task called "installClinicClinicDebug". Why is Clinic twice? I might have missed something, and in that case I would really appreciate help in finding where this issue might come from.

Getting errors in cstdlib in XCode 11.4 when compiling react-native project after upgrading from 0.60.5 to 0.62.1

Environment

System:
OS: macOS 10.15.3
CPU: (4) x64 Intel(R) Core(TM) i7-4558U CPU @ 2.80GHz
Memory: 5.90 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.16.3 - /usr/local/bin/node
Yarn: Not Found
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 25, 28, 29
Build Tools: 28.0.3, 29.0.1
System Images: android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 3.4 AI-183.6156.11.34.5692245
Xcode: 11.4/11N132i - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_212 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.1 => 0.62.1
npmGlobalPackages:
react-native: Not Found

Upgrading version

From 0.60.5 to 0.62.1

Description

I had upgraded my react-native project from version 0.60.5 to version 0.62.1 as per instructions given here react-native-community/upgrade-helper#191

After upgrading when i run my project from XCode 11.4 then it throws errors in cstdlib as given in below
screenshot:

Screenshot 2020-04-09 at 9 14 38 AM

Screenshot 2020-04-09 at 9 14 23 AM

Reproducible demo

Podfile

platform :ios, '10.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

def add_flipper_pods!
version = '~> 0.33.1'
pod 'FlipperKit', version, :configuration => 'Debug'
pod 'FlipperKit/FlipperKitLayoutPlugin', version, :configuration => 'Debug'
pod 'FlipperKit/SKIOSNetworkPlugin', version, :configuration => 'Debug'
pod 'FlipperKit/FlipperKitUserDefaultsPlugin', version, :configuration => 'Debug'
pod 'FlipperKit/FlipperKitReactPlugin', version, :configuration => 'Debug'
end

def flipper_post_install(installer)
installer.pods_project.targets.each do |target|
if target.name == 'YogaKit'
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.1'
end
end
end
end

target 'MedicBleep' do
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"

pod 'React', :path => '../node_modules/react-native/'
pod 'React-Core', :path => '../node_modules/react-native/'
pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'

pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'

pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'

pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true

pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'react-native-bg-thread', :path => '../node_modules/react-native-bg-thread/react-native-bg-thread.podspec'

pod 'Firebase/Core', '> 6.13.0'
pod 'Firebase/Auth', '
> 6.13.0'

pod 'RNDateTimePicker', :path => '../node_modules/@react-native-community/datetimepicker/RNDateTimePicker.podspec'

pod 'ReactNativeAudioToolkit', :path => '../node_modules/@react-native-community/audio-toolkit'

permissions_path = '../node_modules/react-native-permissions/ios'
pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec"
pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone.podspec"
pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary.podspec"
pod 'Permission-MediaLibrary', :path => "#{permissions_path}/MediaLibrary.podspec"

pod 'RNSVG', :path => '../node_modules/react-native-svg'
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'

pod 'TwilioVoice', '5.1.1'

pod 'EmbraceIO'
pod 'RNEmbrace', :path => '../node_modules/react-native-embrace'

target 'MedicBleepTests' do
inherit! :complete
end

use_native_modules!

add_flipper_pods!
post_install do |installer|
flipper_post_install(installer)
end
end

target 'MedicBleep-tvOS' do

target 'MedicBleep-tvOSTests' do
inherit! :search_paths
end

end

Solution: Upgrading from 0.61.5 to 0.62.0 "Undefined symbol: _swift_getFunctionReplacement"

Environment

System:
    OS: macOS 10.15.3
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 123.51 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.14.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.13.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 23, 25, 26, 27, 28, 29
      Build Tools: 23.0.1, 25.0.3, 26.0.1, 27.0.3, 28.0.3, 29.0.0
      System Images: android-19 | ARM EABI v7a, android-19 | Google APIs ARM EABI v7a, android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
  IDEs:
    Android Studio: 3.4 AI-183.6156.11.34.5522156
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.11.0 => 16.11.0 
    react-native: 0.62.0 => 0.62.0 
  npmGlobalPackages:
    react-native-clean-project: 3.2.4
    react-native-cli: 2.0.1
    react-native-create-library: 3.1.2
    react-native-template-typescript: 5.2.0
    react-native: 0.60.4

Upgrading version

Upgrading from 0.61.5 to 0.62.0

Problem

Initial upgrade steps

  1. I started by following the 0.61.5 to 0.62.0 RN upgrade helper. I performed all the changes shown in the diffs from the upgrade helper tool.

  2. For the project.pbxproj changes, I proceeded to follow all four steps in the React Native 0.62 upgrade explanation in this repo.

I encountered the following errors when attempting to build iOS

Showing All Errors Only
Undefined symbol: _swift_getFunctionReplacement
Undefined symbol: _swift_getOrigOfReplaceable

More detailed error

Undefined symbols for architecture x86_64:
  "_swift_getFunctionReplacement", referenced from:
      _swift_getFunctionReplacement50 in libswiftCompatibilityDynamicReplacements.a(DynamicReplaceable.cpp.o)
     (maybe you meant: _swift_getFunctionReplacement50)
  "_swift_getOrigOfReplaceable", referenced from:
      _swift_getOrigOfReplaceable50 in libswiftCompatibilityDynamicReplacements.a(DynamicReplaceable.cpp.o)
     (maybe you meant: _swift_getOrigOfReplaceable50)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I found that some folks with the same error details in this issue thread from TelegramMessenger (completely unrelated to my app) but they seemed to find a solution by enabling dead code stripping.

I enabled Dead Code Stripping in Build Settings for DEBUG in EACH target of my project (we have 4). Dead code stripping was already enabled in the release configuration for all the targets and in the project build settings/
image

After enabling dead code stripping, I was able to build but the app would crash immediately with the following error

This copy of libswiftCore.dylib requires an OS version prior to 12.2.0

In order to fix this, I followed the steps in this SO answer, namely:

  • Added a Dummy.swift file to the project (I already had bridging header files from following the steps in issue #13 of this repo.
  • Set Always Embed Swift Standard Libraries to YES in the build settings for my project and all my targets.

Solution

So in summary, my complete upgrade steps were

  1. Follow the 0.61.5 to 0.62.0 RN upgrade helper.

  2. For the project.pbxproj changes, follow all four steps in the React Native 0.62 upgrade explanation in this repo.

  3. Enable Dead Code Stripping in Build Settings for both debug and release in each project target

  4. Set Always Embed Swift Standard Libraries to YES in the build settings for my project and all my targets.

  5. Either add a Dummy.swift file to the project, or don't delete the dummy swift file that you created in step 2 (the issue #13 in this repo).

Upgrade to react-native 0.62 FATAL EXCEPTION: create_react_context (android)

Environment

System:
OS: macOS 10.15.4
CPU: (4) x64 Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz
Memory: 60.77 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.9.1 - /usr/local/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 23, 25, 26, 27, 28
Build Tools: 23.0.1, 26.0.2, 27.0.3, 28.0.2, 28.0.3
System Images: android-28 | Android TV Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64
Android NDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 11.4/11E146 - /usr/bin/xcodebuild
Languages:
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.0 => 0.62.0
npmGlobalPackages:
react-native: Not Found

Upgrading version

RN 0.62.0 from RN 0.61.4

Description

I did all the steps to upgrade the android project, but when I run on android I receive this error:

FATAL EXCEPTION: create_react_context
java.lang.RuntimeException: Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.

Screen Shot 2020-03-29 at 21 50 10

any idea how to resolve it?
FYI the entry file is : entryFile: "index.js",
enableHermes: true
I tried restart packager and removing cache

0.62 โ€“ dyld: Library not loaded: @rpath/libswiftCore.dylib

Environment

System:
    OS: macOS 10.15.4
    CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz
    Memory: 851.91 MB / 8.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node
    Yarn: Not Found
    npm: 6.14.4 - ~/.nvm/versions/node/v10.16.3/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.8.4 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.2
      Android NDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0 
    react-native: 0.62.0 => 0.62.0 
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

0.61.5 -> 0.62.0 using https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.62.0 and #13. I have also set Always Embed Swift Standard Libraries to YES.

Description

The app builds successfully but crashes immediately (only on iOS) when opening. The following error is given:

0 __abort_with_payload
dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /Users/palkerecsenyi/Library/Developer/CoreSimulator/Devices/F8E756A1-8AA5-48DC-A91F-852E8CF898F5/data/Containers/Bundle/Application/29C37A01-AC12-4534-ACA6-3C7480F16992/PalChat.app/PalChat
  Reason: image not found
(lldb) 

Here are some of my project files:

AppDelegate.m

#import "AppDelegate.h"

#import <React/RCTBridge.h>
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>

#if DEBUG
#import <FlipperKit/FlipperClient.h>
#import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
#import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h>
#import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
#import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>
#import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>
static void InitializeFlipper(UIApplication *application) {
  FlipperClient *client = [FlipperClient sharedClient];
  SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults];
  [client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]];
  [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]];
  [client addPlugin:[FlipperKitReactPlugin new]];
  [client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]];
  [client start];
}
#endif

#import <RNCPushNotificationIOS.h>
#import <TwitterKit/TWTRKit.h>
#import <UserNotifications/UserNotifications.h>

#import "RNNotifications.h"

@import Firebase;

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
#if DEBUG
  InitializeFlipper(application);
#endif
  [RNNotifications startMonitorNotifications];
  
  if ([FIRApp defaultApp] == nil) {
    [FIRApp configure];
  }
  
  RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
  RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
                                                   moduleName:@"PalChat"
                                            initialProperties:nil];
  
  UNUserNotificationCenter *center = [UNUserNotificationCenter currentNotificationCenter];
  center.delegate = self;

  rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];

  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
  UIViewController *rootViewController = [UIViewController new];
  rootViewController.view = rootView;
  self.window.rootViewController = rootViewController;
  [self.window makeKeyAndVisible];
  return YES;
}

- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *,id> *)options {
  return [[Twitter sharedInstance] application:app openURL:url options:options];
}

//Called when a notification is delivered to a foreground app.
-(void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions options))completionHandler
{
  completionHandler(UNAuthorizationOptionSound | UNAuthorizationOptionAlert | UNAuthorizationOptionBadge);
}

// Required to register for notifications
- (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings
{
  [RNCPushNotificationIOS didRegisterUserNotificationSettings:notificationSettings];
}
// Required for the notification event. You must call the completion handler after handling the remote notification.
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
{
  [RNCPushNotificationIOS didReceiveRemoteNotification:userInfo fetchCompletionHandler:completionHandler];
}
// Required for the localNotification event.
- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification
{
  [RNCPushNotificationIOS didReceiveLocalNotification:notification];
}

- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
  [RNNotifications didRegisterForRemoteNotificationsWithDeviceToken:deviceToken];
}

- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error {
  [RNNotifications didFailToRegisterForRemoteNotificationsWithError:error];
}

- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
{
#if DEBUG
  return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
#else
  return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#endif
}

@end

AppDelegate.h

#import <React/RCTBridgeDelegate.h>
#import <UIKit/UIKit.h>
#import <UserNotifications/UserNotifications.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate, UNUserNotificationCenterDelegate>

@property (nonatomic, strong) UIWindow *window;

@end

PalChat-Bridging-Header.h

#ifndef PalChat_Bridging_Header_h
#define PalChat_Bridging_Header_h


#endif /* PalChat_Bridging_Header_h */

Dummy.swift

import Foundation

Podfile

platform :ios, '10.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

def add_flipper_pods!
  version = '~> 0.33.1'
  pod 'FlipperKit', version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitLayoutPlugin', version, :configuration => 'Debug'
  pod 'FlipperKit/SKIOSNetworkPlugin', version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitUserDefaultsPlugin', version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitReactPlugin', version, :configuration => 'Debug'
end
# Post Install processing for Flipper
def flipper_post_install(installer)
  installer.pods_project.targets.each do |target|
    if target.name == 'YogaKit'
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '4.1'
      end
    end
  end
  file_name = Dir.glob("*.xcodeproj")[0]
  app_project = Xcodeproj::Project.open(file_name)
  app_project.native_targets.each do |target|
    target.build_configurations.each do |config|
      cflags = config.build_settings['OTHER_CFLAGS'] || '$(inherited) '
      unless cflags.include? '-DFB_SONARKIT_ENABLED=1'
        puts 'Adding -DFB_SONARKIT_ENABLED=1 in OTHER_CFLAGS...'
        cflags << '-DFB_SONARKIT_ENABLED=1'
      end
      config.build_settings['OTHER_CFLAGS'] = cflags
    end
    app_project.save
  end
  installer.pods_project.save
end

target 'PalChat' do
  # Pods for RnDiffApp
  pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
  pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
  pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
  pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
  pod 'React', :path => '../node_modules/react-native/'
  pod 'React-Core', :path => '../node_modules/react-native/'
  pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
  pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
  pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
  pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
  pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
  pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
  pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
  pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
  pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
  pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
  pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
  pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'

  pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
  pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
  pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
  pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
  pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
  pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
  pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true

  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
  
  permissions_path = '../node_modules/react-native-permissions/ios'
  
  pod 'Permission-Contacts', :path => "#{permissions_path}/Contacts.podspec"
  pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse.podspec"
  pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications.podspec"
  pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec"
  
  pod 'Firebase/Messaging', '~> 6.13.0'

  use_native_modules!

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
  add_flipper_pods!
  post_install do |installer|
    flipper_post_install(installer)
  end
end

target 'PalChat-tvOS' do
  # Pods for RnDiffApp-tvOS

  target 'PalChat-tvOSTests' do
    inherit! :search_paths
    # Pods for testing
  end
end

package.json

{
  "name": "PalChat",
  "version": "3.5.3",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "start": "react-native start",
    "test": "jest",
    "postinstall": "patch-package",
    "lint": "eslint ."
  },
  "dependencies": {
    "@invertase/react-native-apple-authentication": "^0.1.1",
    "@react-native-community/async-storage": "^1.6.2",
    "@react-native-community/blur": "https://github.com/react-native-community/react-native-blur.git#e2075520c709caf3bb8cf8890fcbf9f96939c716",
    "@react-native-community/cameraroll": "^1.2.1",
    "@react-native-community/datetimepicker": "^2.1.0",
    "@react-native-community/geolocation": "^1.4.2",
    "@react-native-community/google-signin": "^3.0.0",
    "@react-native-community/masked-view": "^0.1.6",
    "@react-native-community/picker": "^1.3.0",
    "@react-native-community/push-notification-ios": "^1.0.5",
    "@react-native-firebase/analytics": "^6.3.4",
    "@react-native-firebase/app": "^6.3.4",
    "@react-native-firebase/auth": "^6.3.4",
    "@react-native-firebase/crashlytics": "^6.3.4",
    "@react-native-firebase/dynamic-links": "^6.3.4",
    "@react-native-firebase/firestore": "^6.3.4",
    "@react-native-firebase/messaging": "^6.3.4",
    "@react-native-firebase/perf": "^6.3.4",
    "@react-native-firebase/remote-config": "^6.3.4",
    "@react-native-firebase/storage": "^6.3.4",
    "@react-navigation/bottom-tabs": "^5.2.4",
    "@react-navigation/native": "^5.1.3",
    "@react-navigation/stack": "^5.2.8",
    "@rnhooks/keyboard": "0.0.2",
    "algoliasearch": "^3.35.1",
    "fast-sort": "^1.5.6",
    "geofirestore": "^3.3.1",
    "immer": "^4.0.2",
    "jetifier": "^1.6.1",
    "jsc-android": "^241213.1.0",
    "libphonenumber-js": "^1.7.22",
    "lodash": "^4.17.15",
    "moment": "^2.24.0",
    "react": "16.11.0",
    "react-devtools": "^3.6.3",
    "react-firebase-hooks": "^2.1.1",
    "react-instantsearch": "^6.3.0",
    "react-instantsearch-dom": "^6.3.0",
    "react-instantsearch-native": "^6.3.0",
    "react-native": "0.62.0",
    "react-native-animate-number": "^0.1.2",
    "react-native-appstate-hook": "^1.0.1",
    "react-native-autogrow-textinput": "^5.2.0",
    "react-native-console-time-polyfill": "^1.2.1",
    "react-native-contacts": "^5.0.7",
    "react-native-country-picker-modal": "^0.8.0",
    "react-native-dark-mode": "^0.2.0",
    "react-native-device-info": "^2.3.2",
    "react-native-exception-handler": "^2.10.8",
    "react-native-fast-image": "^7.0.2",
    "react-native-flags": "^1.0.0",
    "react-native-fs": "^2.16.2",
    "react-native-geocoder": "^0.5.0",
    "react-native-gesture-handler": "^1.5.3",
    "react-native-image-gallery": "^2.1.5",
    "react-native-image-picker": "^2.3.0",
    "react-native-image-resizer": "^1.0.1",
    "react-native-image-viewing": "^0.1.8",
    "react-native-inappbrowser-reborn": "^2.0.4",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-maps": "^0.26.1",
    "react-native-modal": "^11.5.5",
    "react-native-modal-datetime-picker": "^8.5.1",
    "react-native-navigation-bar-color": "^0.1.0",
    "react-native-notifications": "^3.1.2",
    "react-native-open-maps": "^0.3.5",
    "react-native-paper": "^3.6.0",
    "react-native-permissions": "^2.0.8",
    "react-native-quick-actions": "^0.3.12",
    "react-native-reanimated": "^1.7.0",
    "react-native-safe-area": "^0.5.1",
    "react-native-safe-area-context": "^0.6.2",
    "react-native-screens": "^2.4.0",
    "react-native-select-multiple": "git+https://github.com/MnaveedS/react-native-select-multiple.git",
    "react-native-shimmer": "^0.5.0",
    "react-native-stars": "git+https://github.com/palkerecsenyi/react-native-stars.git",
    "react-native-swiper": "^1.6.0-rc.3",
    "react-native-twitter-signin": "^1.1.1",
    "react-native-vector-icons": "^6.6.0",
    "recyclerlistview": "^3.0.0",
    "rxjs": "^6.5.3",
    "use-dimensions": "^1.0.2",
    "use-immer": "^0.3.4"
  },
  "devDependencies": {
    "@babel/core": "^7.6.2",
    "@babel/runtime": "^7.6.2",
    "@react-native-community/eslint-config": "^0.0.5",
    "@types/lodash": "^4.14.149",
    "@types/react": "^16.9.0",
    "@types/react-native": "^0.62.0",
    "@types/react-native-vector-icons": "^6.4.5",
    "@welldone-software/why-did-you-render": "^4.0.5",
    "babel-jest": "^24.9.0",
    "babel-plugin-transform-remove-console": "^6.9.4",
    "eslint": "^6.5.1",
    "hermes-engine": "^0.2.1",
    "jest": "^24.9.0",
    "metro-react-native-babel-preset": "^0.58.0",
    "patch-package": "^6.2.0",
    "react-test-renderer": "16.11.0"
  },
  "jest": {
    "preset": "react-native"
  }
}

My Swift build settings:
image
image

I have tried:

  • Cleaning build folder
  • Deleting DerivedData
  • Reinstalling Xcode completely

but nothing has worked so far.

Reproducible demo

I was unable to recreate this error in a fresh React Native project, which leads me to believe that I did something wrong during the upgrade. The project worked perfectly on RN 0.61.5.

Thanks in advance, and please let me know if there are any other files/logs I need to provide.

Use of undeclared identifier FlipperClient

Environment

System:
OS: macOS 10.15.3
CPU: (4) x64 Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz
Memory: 454.10 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.12.0 - /usr/local/bin/node
Yarn: 1.19.1 - /usr/local/bin/yarn
npm: 6.11.3 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
Android SDK:
API Levels: 23, 25, 27, 28, 29
Build Tools: 28.0.3, 29.0.2
System Images: android-29 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 10.0/10A255 - /usr/bin/xcodebuild
Languages:
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.0 => 0.62.0
npmGlobalPackages:
react-native: Not Found

Upgrading version

I'm upgrading from 0.59.8 to 0.62 manually. (Android works fine but IOS does not)

Description

I manually upgraded using this
https://react-native-community.github.io/upgrade-helper/?from=0.59.8&to=0.62.0
and changed xcodeproject file using this step by step.
#13
But after finishing every steps and when i try to build i get this error.

Screenshot 2020-03-31 at 6 25 24 PM

And even if i comment this another error appears.
""_YGNodeHasMeasureFunc", referenced from:
-[YGLayout markDirty] in libYogaKit.a(YGLayout.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
"

Error after upgrading from 0.61.5 to 0.62.0: Declaration of 'YGValue must be imported from module 'yoga' before it is required

Environment

System:
OS: macOS 10.15.3
CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
Memory: 379.39 MB / 16.00 GB
Shell: 5.0.11 - /usr/local/bin/bash
Binaries:
Node: 13.8.0 - /usr/local/bin/node
Yarn: 1.22.0 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.7.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 23, 25, 26, 27, 28
Build Tools: 23.0.1, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.2, 27.0.3, 28.0.3
System Images: android-25 | Google APIs Intel x86 Atom, android-25 | Google APIs Intel x86 Atom_64, android-25 | Google Play Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom_64, android-26 | Google Play Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom
Android NDK: 17.1.4828580
IDEs:
Android Studio: 3.6 AI-192.7142.36.36.6241897
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
Languages:
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.0 => 0.62.0
npmGlobalPackages:
react-native: Not Found

Upgrading version

0.62.0

Description

After following all the steps in the React Native Upgrade Helper(https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.62.0) to upgrade my app from version 0.61.5 to version 0.62.5, building the app on iOS fails with the following error message:

Declaration of 'YGValue must be imported from module 'yoga' before it is required

Screen Shot 2020-03-29 at 14 39 02

Reproducible demo

Follow the instructions to update from React Native Upgrade Helper(https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.62.0) from version 0.61.5 to version 0.62.0

React Native 0.60.0 `xcodeproj` upgrade

For an easy upgrade experience of this file, do the following.

After all the other files have been upgraded, run yarn install and

cd ios
pod install
cd ..

This will cause all the Pods to be connected. After that, open the workspace file in the ios directory, called something like MyApp.xcworkspace

Screenshot 2019-07-03 at 16 07 01

This workspace contains your original project, as well as the Pods project. Expand your project and find the Libraries directory.

Screenshot 2019-07-03 at 16 07 16

Inside that, there are a few libraries related to React Native, and possibly other native modules from other libraries you might have connected.

Screenshot 2019-07-03 at 16 07 27

You can go ahead and remove the React Native related libraries from there, by selecting them and hitting the delete button. In the popup you get, you can select Remove references. If you select to Move it to Trash, you might need to run yarn install again.

Screenshot 2019-07-03 at 16 07 40

These libraries are not needed there anymore, since now they are connected using CocoaPods. You can do the same for other libraries that might exist in that directory, if they support CocoaPods. If they don't, keep them there for now.

After all this, your diff of that file should look roughly the same as the one right here. Don't worry too much if it doesn't match exactly, as your project might have more or fewer targets.

Try to see if the rough outline is the same, and of course make sure your project can build and run.

LogBox Error at the beginning of the application

Environment

System:
    OS: macOS Mojave 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
    Memory: 41.38 MB / 8.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node
    Yarn: 1.3.2 - /usr/local/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v10.16.0/bin/npm
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 21, 22, 23, 24, 25, 26, 27, 28
      Build Tools: 19.1.0, 23.0.1, 27.0.2, 27.0.3, 28.0.3, 29.0.0
      Android NDK: 20.0.5594570
  IDEs:
    Android Studio: 3.1 AI-173.4697961
    Xcode: 11.2.1/11B53 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.11.0 => 16.11.0 
    react-native: 0.62.1 => 0.62.1 
  npmGlobalPackages:
    react-native: 0.61.5

Upgrading version

0.62.1

Problem

LogBox must be enabled before AppContainer is required so that it can properly wrap the console methods.

Solution

As usual we separate the code inside the "src" folder.
In the index.js file at the root of the project, we call it as follows:

require('react-native').unstable_enableLogBox()
...
import { App } from './src'

For me this generated the above error.
To resolve, change the "import" to "require"
Example:

require('react-native').unstable_enableLogBox()
...
const { App } = require('./src')

Library not found for -lCocoaAsyncSocket after upgrading from 0.60.5 to 0.62

Environment

System:
OS: macOS 10.15.4
CPU: (4) x64 Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz
Memory: 726.21 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.9.1 - /usr/local/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 23, 25, 26, 27, 28
Build Tools: 23.0.1, 26.0.2, 27.0.3, 28.0.2, 28.0.3
System Images: android-28 | Android TV Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64
Android NDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 11.4/11E146 - /usr/bin/xcodebuild
Languages:
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.0 => 0.62.0
npmGlobalPackages:
react-native: Not Found

Upgrading version

0.62.0 from 0.61.5

Description

Library not found for -lCocoaAsyncSocket

Screen Shot 2020-04-10 at 16 11 05

After upgrading to rn 0.62 and doing the steps from https://react-native-community.github.io/upgrade-helper
I received this error. any idea how to fix ??

When a new version is released the bot should also update the `README.md`

Right now we have a GitHub Action that is triggered whenever rn-diff-purge has a new diff generated and then it adds a new label for that version, it should also update the README.md to point the links of issue filters to that latest version.

Only do this if the version is not a release candidate.

Flipper: gflags.h not found

Environment

System:
    OS: macOS 10.15.3
    CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
    Memory: 7.26 GB / 64.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.14.1 - ~/.nvm/versions/node/v12.14.1/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.13.4 - ~/.nvm/versions/node/v12.14.1/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 23, 24, 25, 26, 27, 28, 29
      Build Tools: 28.0.3, 29.0.2
      System Images: android-29 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0 
    react-native: 0.62.0 => 0.62.0 
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

From 0.61.5 to 0.62.0

Description

After updating manually to 0.62.0 (the update helper flat-out refused to work) I got the problem that upon compiling Xcode complains that it can't find the gflags/gflags.h include in Flipper-Glog.
Is there any manual linking/search path editing that has to be done in order for flipper to find Glog?

ld: library not found for -lAppAuth clang: error: linker command failed with exit code 1 (use -v to see invocation)

Environment

System:
OS: macOS Mojave 10.14.6
CPU: (4) x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Memory: 1.02 GB / 16.00 GB
Shell: 3.0.2 - /usr/local/bin/fish
Binaries:
Node: 12.4.0 - /usr/local/bin/node
npm: 6.9.0 - /usr/local/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 23, 24, 25, 26, 27, 28
Build Tools: 27.0.3, 28.0.3, 29.0.0
System Images: android-28 | Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.4 AI-183.6156.11.34.5522156
Xcode: 11.2.1/11B500 - /usr/bin/xcodebuild
npmPackages:
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-payments-cli: 0.2.0

Upgrading version

0.62.2

Description

Followed all the instructions and got to this point. I should mention that i've upgraded from 0.59.5 -> 0.60 -> 0.61 -> 0.61.5 -> 0.62.2. Now I'm stuck at the last bit.

The error is complaining about not being able to find that specific library. Previously there was also a warning right before this error stating that it's not being able to find the directory. I've fixed that by removing $(inherited) from Library Search Paths.

I've checked and that folder/library does in fact exist in that location

I've been having this issue for two days now and I've ran out of options from github/stackoverflow. (cleaning, deleting derived data, restarting..)

Reproducible demo

Tried to build the project but fails at Mach-O linker with the following error:
ld: library not found for -lAppAuth clang: error: linker command failed with exit code 1 (use -v to see invocation)

Use of undeclared identifier 'FlipperClient' - AppDelegate.m

Environment

System:
    OS: macOS 10.15.4
    CPU: (8) x64 Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz
    Memory: 1.00 GB / 16.00 GB
    Shell: 3.1.0 - /usr/local/bin/fish
  Binaries:
    Node: 13.11.0 - /usr/local/bin/node
    Yarn: Not Found
    npm: 6.14.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.3
      System Images: android-29 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.6010548
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0 
    react-native: 0.62.0 => 0.62.0 
  npmGlobalPackages:
    *react-native*: Not Found
Podfile.lock
PODS:
- boost-for-react-native (1.63.0)
- CocoaAsyncSocket (7.6.4)
- CocoaLibEvent (1.0.0)
- DoubleConversion (1.1.6)
- FBLazyVector (0.62.0)
- FBReactNativeSpec (0.62.0):
  - Folly (= 2018.10.22.00)
  - RCTRequired (= 0.62.0)
  - RCTTypeSafety (= 0.62.0)
  - React-Core (= 0.62.0)
  - React-jsi (= 0.62.0)
  - ReactCommon/turbomodule/core (= 0.62.0)
- Flipper (0.33.1):
  - Flipper-Folly (~> 2.1)
  - Flipper-RSocket (~> 1.0)
- Flipper-DoubleConversion (1.1.7)
- Flipper-Folly (2.1.1):
  - boost-for-react-native
  - CocoaLibEvent (~> 1.0)
  - Flipper-DoubleConversion
  - Flipper-Glog
  - OpenSSL-Universal (= 1.0.2.19)
- Flipper-Glog (0.3.6)
- Flipper-PeerTalk (0.0.4)
- Flipper-RSocket (1.0.0):
  - Flipper-Folly (~> 2.0)
- FlipperKit (0.33.1):
  - FlipperKit/Core (= 0.33.1)
- FlipperKit/Core (0.33.1):
  - Flipper (~> 0.33.1)
  - FlipperKit/CppBridge
  - FlipperKit/FBCxxFollyDynamicConvert
  - FlipperKit/FBDefines
  - FlipperKit/FKPortForwarding
- FlipperKit/CppBridge (0.33.1):
  - Flipper (~> 0.33.1)
- FlipperKit/FBCxxFollyDynamicConvert (0.33.1):
  - Flipper-Folly (~> 2.1)
- FlipperKit/FBDefines (0.33.1)
- FlipperKit/FKPortForwarding (0.33.1):
  - CocoaAsyncSocket (~> 7.6)
  - Flipper-PeerTalk (~> 0.0.4)
- FlipperKit/FlipperKitHighlightOverlay (0.33.1)
- FlipperKit/FlipperKitLayoutPlugin (0.33.1):
  - FlipperKit/Core
  - FlipperKit/FlipperKitHighlightOverlay
  - FlipperKit/FlipperKitLayoutTextSearchable
  - YogaKit (~> 1.18)
- FlipperKit/FlipperKitLayoutTextSearchable (0.33.1)
- FlipperKit/FlipperKitNetworkPlugin (0.33.1):
  - FlipperKit/Core
- FlipperKit/FlipperKitReactPlugin (0.33.1):
  - FlipperKit/Core
- FlipperKit/FlipperKitUserDefaultsPlugin (0.33.1):
  - FlipperKit/Core
- FlipperKit/SKIOSNetworkPlugin (0.33.1):
  - FlipperKit/Core
  - FlipperKit/FlipperKitNetworkPlugin
- Folly (2018.10.22.00):
  - boost-for-react-native
  - DoubleConversion
  - Folly/Default (= 2018.10.22.00)
  - glog
- Folly/Default (2018.10.22.00):
  - boost-for-react-native
  - DoubleConversion
  - glog
- glog (0.3.5)
- OpenSSL-Universal (1.0.2.19):
  - OpenSSL-Universal/Static (= 1.0.2.19)
- OpenSSL-Universal/Static (1.0.2.19)
- RCTRequired (0.62.0)
- RCTTypeSafety (0.62.0):
  - FBLazyVector (= 0.62.0)
  - Folly (= 2018.10.22.00)
  - RCTRequired (= 0.62.0)
  - React-Core (= 0.62.0)
- React (0.62.0):
  - React-Core (= 0.62.0)
  - React-Core/DevSupport (= 0.62.0)
  - React-Core/RCTWebSocket (= 0.62.0)
  - React-RCTActionSheet (= 0.62.0)
  - React-RCTAnimation (= 0.62.0)
  - React-RCTBlob (= 0.62.0)
  - React-RCTImage (= 0.62.0)
  - React-RCTLinking (= 0.62.0)
  - React-RCTNetwork (= 0.62.0)
  - React-RCTSettings (= 0.62.0)
  - React-RCTText (= 0.62.0)
  - React-RCTVibration (= 0.62.0)
- React-Core (0.62.0):
  - Folly (= 2018.10.22.00)
  - glog
  - React-Core/Default (= 0.62.0)
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-jsiexecutor (= 0.62.0)
  - Yoga
- React-Core/CoreModulesHeaders (0.62.0):
  - Folly (= 2018.10.22.00)
  - glog
  - React-Core/Default
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-jsiexecutor (= 0.62.0)
  - Yoga
- React-Core/Default (0.62.0):
  - Folly (= 2018.10.22.00)
  - glog
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-jsiexecutor (= 0.62.0)
  - Yoga
- React-Core/DevSupport (0.62.0):
  - Folly (= 2018.10.22.00)
  - glog
  - React-Core/Default (= 0.62.0)
  - React-Core/RCTWebSocket (= 0.62.0)
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-jsiexecutor (= 0.62.0)
  - React-jsinspector (= 0.62.0)
  - Yoga
- React-Core/RCTActionSheetHeaders (0.62.0):
  - Folly (= 2018.10.22.00)
  - glog
  - React-Core/Default
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-jsiexecutor (= 0.62.0)
  - Yoga
- React-Core/RCTAnimationHeaders (0.62.0):
  - Folly (= 2018.10.22.00)
  - glog
  - React-Core/Default
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-jsiexecutor (= 0.62.0)
  - Yoga
- React-Core/RCTBlobHeaders (0.62.0):
  - Folly (= 2018.10.22.00)
  - glog
  - React-Core/Default
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-jsiexecutor (= 0.62.0)
  - Yoga
- React-Core/RCTImageHeaders (0.62.0):
  - Folly (= 2018.10.22.00)
  - glog
  - React-Core/Default
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-jsiexecutor (= 0.62.0)
  - Yoga
- React-Core/RCTLinkingHeaders (0.62.0):
  - Folly (= 2018.10.22.00)
  - glog
  - React-Core/Default
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-jsiexecutor (= 0.62.0)
  - Yoga
- React-Core/RCTNetworkHeaders (0.62.0):
  - Folly (= 2018.10.22.00)
  - glog
  - React-Core/Default
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-jsiexecutor (= 0.62.0)
  - Yoga
- React-Core/RCTSettingsHeaders (0.62.0):
  - Folly (= 2018.10.22.00)
  - glog
  - React-Core/Default
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-jsiexecutor (= 0.62.0)
  - Yoga
- React-Core/RCTTextHeaders (0.62.0):
  - Folly (= 2018.10.22.00)
  - glog
  - React-Core/Default
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-jsiexecutor (= 0.62.0)
  - Yoga
- React-Core/RCTVibrationHeaders (0.62.0):
  - Folly (= 2018.10.22.00)
  - glog
  - React-Core/Default
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-jsiexecutor (= 0.62.0)
  - Yoga
- React-Core/RCTWebSocket (0.62.0):
  - Folly (= 2018.10.22.00)
  - glog
  - React-Core/Default (= 0.62.0)
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-jsiexecutor (= 0.62.0)
  - Yoga
- React-CoreModules (0.62.0):
  - FBReactNativeSpec (= 0.62.0)
  - Folly (= 2018.10.22.00)
  - RCTTypeSafety (= 0.62.0)
  - React-Core/CoreModulesHeaders (= 0.62.0)
  - React-RCTImage (= 0.62.0)
  - ReactCommon/turbomodule/core (= 0.62.0)
- React-cxxreact (0.62.0):
  - boost-for-react-native (= 1.63.0)
  - DoubleConversion
  - Folly (= 2018.10.22.00)
  - glog
  - React-jsinspector (= 0.62.0)
- React-jsi (0.62.0):
  - boost-for-react-native (= 1.63.0)
  - DoubleConversion
  - Folly (= 2018.10.22.00)
  - glog
  - React-jsi/Default (= 0.62.0)
- React-jsi/Default (0.62.0):
  - boost-for-react-native (= 1.63.0)
  - DoubleConversion
  - Folly (= 2018.10.22.00)
  - glog
- React-jsiexecutor (0.62.0):
  - DoubleConversion
  - Folly (= 2018.10.22.00)
  - glog
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
- React-jsinspector (0.62.0)
- react-native-image-picker (2.3.1):
  - React
- react-native-safe-area-context (0.7.3):
  - React
- React-RCTActionSheet (0.62.0):
  - React-Core/RCTActionSheetHeaders (= 0.62.0)
- React-RCTAnimation (0.62.0):
  - FBReactNativeSpec (= 0.62.0)
  - Folly (= 2018.10.22.00)
  - RCTTypeSafety (= 0.62.0)
  - React-Core/RCTAnimationHeaders (= 0.62.0)
  - ReactCommon/turbomodule/core (= 0.62.0)
- React-RCTBlob (0.62.0):
  - FBReactNativeSpec (= 0.62.0)
  - Folly (= 2018.10.22.00)
  - React-Core/RCTBlobHeaders (= 0.62.0)
  - React-Core/RCTWebSocket (= 0.62.0)
  - React-jsi (= 0.62.0)
  - React-RCTNetwork (= 0.62.0)
  - ReactCommon/turbomodule/core (= 0.62.0)
- React-RCTImage (0.62.0):
  - FBReactNativeSpec (= 0.62.0)
  - Folly (= 2018.10.22.00)
  - RCTTypeSafety (= 0.62.0)
  - React-Core/RCTImageHeaders (= 0.62.0)
  - React-RCTNetwork (= 0.62.0)
  - ReactCommon/turbomodule/core (= 0.62.0)
- React-RCTLinking (0.62.0):
  - FBReactNativeSpec (= 0.62.0)
  - React-Core/RCTLinkingHeaders (= 0.62.0)
  - ReactCommon/turbomodule/core (= 0.62.0)
- React-RCTNetwork (0.62.0):
  - FBReactNativeSpec (= 0.62.0)
  - Folly (= 2018.10.22.00)
  - RCTTypeSafety (= 0.62.0)
  - React-Core/RCTNetworkHeaders (= 0.62.0)
  - ReactCommon/turbomodule/core (= 0.62.0)
- React-RCTSettings (0.62.0):
  - FBReactNativeSpec (= 0.62.0)
  - Folly (= 2018.10.22.00)
  - RCTTypeSafety (= 0.62.0)
  - React-Core/RCTSettingsHeaders (= 0.62.0)
  - ReactCommon/turbomodule/core (= 0.62.0)
- React-RCTText (0.62.0):
  - React-Core/RCTTextHeaders (= 0.62.0)
- React-RCTVibration (0.62.0):
  - FBReactNativeSpec (= 0.62.0)
  - Folly (= 2018.10.22.00)
  - React-Core/RCTVibrationHeaders (= 0.62.0)
  - ReactCommon/turbomodule/core (= 0.62.0)
- ReactCommon/callinvoker (0.62.0):
  - DoubleConversion
  - Folly (= 2018.10.22.00)
  - glog
  - React-cxxreact (= 0.62.0)
- ReactCommon/turbomodule/core (0.62.0):
  - DoubleConversion
  - Folly (= 2018.10.22.00)
  - glog
  - React-Core (= 0.62.0)
  - React-cxxreact (= 0.62.0)
  - React-jsi (= 0.62.0)
  - ReactCommon/callinvoker (= 0.62.0)
- RNCAsyncStorage (1.8.1):
  - React
- RNCMaskedView (0.1.7):
  - React
- RNGestureHandler (1.6.1):
  - React
- RNLocalize (1.3.4):
  - React
- RNReactNativeHapticFeedback (1.9.0):
  - React
- RNReanimated (1.7.1):
  - React
- RNScreens (2.4.0):
  - React
- RNSVG (12.0.3):
  - React
- RNVectorIcons (6.6.0):
  - React
- Yoga (1.14.0)
- YogaKit (1.18.1):
  - Yoga (~> 1.14)

DEPENDENCIES:
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
- FBReactNativeSpec (from `../node_modules/react-native/Libraries/FBReactNativeSpec`)
- FlipperKit (~> 0.33.1)
- FlipperKit/FlipperKitLayoutPlugin (~> 0.33.1)
- FlipperKit/FlipperKitReactPlugin (~> 0.33.1)
- FlipperKit/FlipperKitUserDefaultsPlugin (~> 0.33.1)
- FlipperKit/SKIOSNetworkPlugin (~> 0.33.1)
- Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
- RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
- RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
- React (from `../node_modules/react-native/`)
- React-Core (from `../node_modules/react-native/`)
- React-Core/DevSupport (from `../node_modules/react-native/`)
- React-Core/RCTWebSocket (from `../node_modules/react-native/`)
- React-CoreModules (from `../node_modules/react-native/React/CoreModules`)
- React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)
- React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
- React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
- React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
- React-RCTImage (from `../node_modules/react-native/Libraries/Image`)
- React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`)
- React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`)
- React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`)
- React-RCTText (from `../node_modules/react-native/Libraries/Text`)
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
- ReactCommon/callinvoker (from `../node_modules/react-native/ReactCommon`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
- "RNCAsyncStorage (from `../node_modules/@react-native-community/async-storage`)"
- "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)"
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
- RNLocalize (from `../node_modules/react-native-localize`)
- RNReactNativeHapticFeedback (from `../node_modules/react-native-haptic-feedback`)
- RNReanimated (from `../node_modules/react-native-reanimated`)
- RNScreens (from `../node_modules/react-native-screens`)
- RNSVG (from `../node_modules/react-native-svg`)
- RNVectorIcons (from `../node_modules/react-native-vector-icons`)
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)

SPEC REPOS:
trunk:
  - boost-for-react-native
  - CocoaAsyncSocket
  - CocoaLibEvent
  - Flipper
  - Flipper-DoubleConversion
  - Flipper-Folly
  - Flipper-Glog
  - Flipper-PeerTalk
  - Flipper-RSocket
  - FlipperKit
  - OpenSSL-Universal
  - YogaKit

EXTERNAL SOURCES:
DoubleConversion:
  :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
FBLazyVector:
  :path: "../node_modules/react-native/Libraries/FBLazyVector"
FBReactNativeSpec:
  :path: "../node_modules/react-native/Libraries/FBReactNativeSpec"
Folly:
  :podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec"
glog:
  :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
RCTRequired:
  :path: "../node_modules/react-native/Libraries/RCTRequired"
RCTTypeSafety:
  :path: "../node_modules/react-native/Libraries/TypeSafety"
React:
  :path: "../node_modules/react-native/"
React-Core:
  :path: "../node_modules/react-native/"
React-CoreModules:
  :path: "../node_modules/react-native/React/CoreModules"
React-cxxreact:
  :path: "../node_modules/react-native/ReactCommon/cxxreact"
React-jsi:
  :path: "../node_modules/react-native/ReactCommon/jsi"
React-jsiexecutor:
  :path: "../node_modules/react-native/ReactCommon/jsiexecutor"
React-jsinspector:
  :path: "../node_modules/react-native/ReactCommon/jsinspector"
react-native-image-picker:
  :path: "../node_modules/react-native-image-picker"
react-native-safe-area-context:
  :path: "../node_modules/react-native-safe-area-context"
React-RCTActionSheet:
  :path: "../node_modules/react-native/Libraries/ActionSheetIOS"
React-RCTAnimation:
  :path: "../node_modules/react-native/Libraries/NativeAnimation"
React-RCTBlob:
  :path: "../node_modules/react-native/Libraries/Blob"
React-RCTImage:
  :path: "../node_modules/react-native/Libraries/Image"
React-RCTLinking:
  :path: "../node_modules/react-native/Libraries/LinkingIOS"
React-RCTNetwork:
  :path: "../node_modules/react-native/Libraries/Network"
React-RCTSettings:
  :path: "../node_modules/react-native/Libraries/Settings"
React-RCTText:
  :path: "../node_modules/react-native/Libraries/Text"
React-RCTVibration:
  :path: "../node_modules/react-native/Libraries/Vibration"
ReactCommon:
  :path: "../node_modules/react-native/ReactCommon"
RNCAsyncStorage:
  :path: "../node_modules/@react-native-community/async-storage"
RNCMaskedView:
  :path: "../node_modules/@react-native-community/masked-view"
RNGestureHandler:
  :path: "../node_modules/react-native-gesture-handler"
RNLocalize:
  :path: "../node_modules/react-native-localize"
RNReactNativeHapticFeedback:
  :path: "../node_modules/react-native-haptic-feedback"
RNReanimated:
  :path: "../node_modules/react-native-reanimated"
RNScreens:
  :path: "../node_modules/react-native-screens"
RNSVG:
  :path: "../node_modules/react-native-svg"
RNVectorIcons:
  :path: "../node_modules/react-native-vector-icons"
Yoga:
  :path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
CocoaAsyncSocket: 694058e7c0ed05a9e217d1b3c7ded962f4180845
CocoaLibEvent: 2fab71b8bd46dd33ddb959f7928ec5909f838e3f
DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2
FBLazyVector: 545eccf4f6ef2de8fd450fd8a1edb3f913c7371a
FBReactNativeSpec: 85c7f8347f4a6e911742228e89e245187afa298e
Flipper: 6c1f484f9a88d30ab3e272800d53688439e50f69
Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
Flipper-Folly: 2de3d03e0acc7064d5e4ed9f730e2f217486f162
Flipper-Glog: 1dfd6abf1e922806c52ceb8701a3599a79a200a6
Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
Flipper-RSocket: 1260a31c05c238eabfa9bb8a64e3983049048371
FlipperKit: 6dc9b8f4ef60d9e5ded7f0264db299c91f18832e
Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
glog: 1f3da668190260b06b429bb211bfbee5cd790c28
OpenSSL-Universal: 8b48cc0d10c1b2923617dfe5c178aa9ed2689355
RCTRequired: 0873f5bdb1762d2b9b1ae16a01c4f91d6ee3b6dd
RCTTypeSafety: a605e0cc0e4220f6e65896bd9e675073c2978f35
React: 8abf6bdd2b05538e9445f7bbda800df744068bfe
React-Core: d6daa0d60a4180915e889a5e81f28522cb30359a
React-CoreModules: 9d5343b095a52e830954a1dd7ae1cb9321ceeddc
React-cxxreact: c108ca236585b9c802f1eeab11fed1a023faac3a
React-jsi: bc8166d6833cdcb0848c80710b26ce63fad2c099
React-jsiexecutor: 8bf0b2707f05865113415088c398a7f98c0cf546
React-jsinspector: 8e5913c4c6c54f0d3f9c9fc630c465a89cded65d
react-native-image-picker: 668e72d0277dc8c12ae90e835507c1eddd2e4f85
react-native-safe-area-context: 8260e5157617df4b72865f44006797f895b2ada7
React-RCTActionSheet: 674afbc8b9c76e0a83520e0a51da29a70802c03f
React-RCTAnimation: f5f24330d09ee677fb49e0782f8321868f4df431
React-RCTBlob: b773ce6138ab0d172ebd8a455fd4efd200a92549
React-RCTImage: 8dbaa77916f9d21ff8faa0f3f5f06d4069c28e93
React-RCTLinking: 312a2b3511e2829e68c300c2cdcae4282fefc7ef
React-RCTNetwork: 4b87acf29c38b8819bea67dad3edeca7b9a20718
React-RCTSettings: be798c8b33392a90d9d551644610ffa349a89255
React-RCTText: 91a0d0ae5434aa28fe0c89c03eb9d660ff53bd9b
React-RCTVibration: 0630aeb11e22f87c180ca9c0c3a0a0aba780cc62
ReactCommon: d22162ab8f1358c53dfcd0f9c4d82d38facdbc48
RNCAsyncStorage: 00bdf63f7f1e0f11d3323533dba4f222e58bf092
RNCMaskedView: 90dd32f5b786bd562e876e1421ea77c700cbf71e
RNGestureHandler: 8f09cd560f8d533eb36da5a6c5a843af9f056b38
RNLocalize: d8025bb1ac74c0ad54155ea9862538624ebf74d8
RNReactNativeHapticFeedback: 2566b468cc8d0e7bb2f84b23adc0f4614594d071
RNReanimated: 4e102df74a9674fa943e05f97f3362b6e44d0b48
RNScreens: b5c0e1b2b04512919e78bd3898e144a157ce2363
RNSVG: 7e16ddfc6e00d5aa69c9eb83e699bcce5dcb85d4
RNVectorIcons: 0bb4def82230be1333ddaeee9fcba45f0b288ed4
Yoga: 9db9ff2025ad21d1ac0a8b3c85d5ac4e7c29d525
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: cc4680e6f26407ed49932e73373a935e5f47591f

COCOAPODS: 1.9.1

Upgrading version

0.61.5 -> 0.62

Description

Screen Shot 2020-03-27 at 14 56 41

I've got this issue when I am trying to build iOS, Android is working just fine.
Do we need to import something manually in XCode?

This project was originally created via the Typescript template (RN 0.61.2).
Maybe I missed a step or something was different in this template and not mentioned in the upgrade-helper?

I don't really get it, I literally have the same AppDelegate files as the upgrade-helper.
Do I need to install a specific version for the Flipper pod?

Reproducible demo

Working on it...

0.61.5 -> 0.62 - Xcode error: Undefined symbol: _OBJC_CLASS_$_FlipperKitNetworkPlugin

Environment

System:
    OS: macOS 10.15.4
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 682.91 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 13.12.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK: Not Found
  IDEs:
    Android Studio: 3.6 AI-192.7142.36.36.6308749
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: ^4.5.1 => 4.5.1 
    react: 16.13.1 => 16.13.1 
    react-native: 0.62.0 => 0.62.0 
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

0.61.5 -> 0.62

Description

After following upgrade-helper and #13 , I have this error in xcode.
I also found this very similare issue in flipper repo, and tryied what they said, but it didn't help: facebook/flipper#816

Undefined symbol: _OBJC_CLASS_$_FlipperKitNetworkPlugin
Undefined symbol: _OBJC_CLASS_$_SKIOSNetworkAdapter
Undefined symbol: _OBJC_CLASS_$_FlipperKitReactPlugin
Undefined symbol: _OBJC_CLASS_$_FKUserDefaultsPlugin
Undefined symbol: _OBJC_CLASS_$_FlipperKitLayoutPlugin
Undefined symbol: _OBJC_CLASS_$_SKDescriptorMapper
Undefined symbol: _OBJC_CLASS_$_FlipperClient

Transcript of first one:

Showing Recent Issues

Build target gotobridge of project GotoBridge with configuration Debug-dev

Ld /Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/Goto\ Bridge\ Dev.app/Goto\ Bridge\ Dev normal arm64 (in target 'gotobridge' from project 'GotoBridge')
    cd /Users/arnaud/Sites/gotobridge/ios
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios9.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/BVLinearGradient -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/CocoaAsyncSocket -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/DoubleConversion -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/FBReactNativeSpec -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/Flipper -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/Flipper-DoubleConversion -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/Flipper-Folly -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/Flipper-Glog -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/Flipper-PeerTalk -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/Flipper-RSocket -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/Folly -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/RCTTypeSafety -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/RNCAsyncStorage -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/RNDeviceInfo -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/React-Core -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/React-CoreModules -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/React-RCTAnimation -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/React-RCTBlob -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/React-RCTImage -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/React-RCTLinking -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/React-RCTNetwork -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/React-RCTSettings -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/React-RCTText -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/React-RCTVibration -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/React-cxxreact -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/React-jsi -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/React-jsiexecutor -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/React-jsinspector -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/ReactCommon -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/ReactNativeAudioToolkit -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/Yoga -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/YogaKit -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/glog -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/react-native-argine -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/react-native-blur -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/react-native-slider -L/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/react-native-webview -L/Users/arnaud/Sites/gotobridge/ios/Pods/CocoaLibEvent/lib -L/Users/arnaud/Sites/gotobridge/ios/Pods/OpenSSL-Universal/ios/lib -F/Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos -filelist /Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Intermediates.noindex/GotoBridge.build/Debug-dev-iphoneos/gotobridge.build/Objects-normal/arm64/Goto\ Bridge\ Dev.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Intermediates.noindex/GotoBridge.build/Debug-dev-iphoneos/gotobridge.build/Objects-normal/arm64/Goto\ Bridge\ Dev_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -lBVLinearGradient -lCocoaAsyncSocket -lDoubleConversion -lFBReactNativeSpec -lFlipper -lFlipper-DoubleConversion -lFlipper-Folly -lFlipper-Glog -lFlipper-PeerTalk -lFlipper-RSocket -lFolly -lRCTTypeSafety -lRNCAsyncStorage -lRNDeviceInfo -lReact-Core -lReact-CoreModules -lReact-RCTAnimation -lReact-RCTBlob -lReact-RCTImage -lReact-RCTLinking -lReact-RCTNetwork -lReact-RCTSettings -lReact-RCTText -lReact-RCTVibration -lReact-cxxreact -lReact-jsi -lReact-jsiexecutor -lReact-jsinspector -lReactCommon -lReactNativeAudioToolkit -lYoga -lYogaKit -lcrypto -levent -levent_core -levent_extra -levent_pthreads -lglog -lreact-native-argine -lreact-native-blur -lreact-native-slider -lreact-native-webview -lssl -lstdc++ -framework AudioToolbox -framework CFNetwork -framework Foundation -framework JavaScriptCore -framework MobileCoreServices -framework QuartzCore -framework Security -framework UIKit -ObjC -lc++ -lPods-gotobridge -framework AudioToolbox -Xlinker -dependency_info -Xlinker /Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Intermediates.noindex/GotoBridge.build/Debug-dev-iphoneos/gotobridge.build/Objects-normal/arm64/Goto\ Bridge\ Dev_dependency_info.dat -o /Users/arnaud/Library/Developer/Xcode/DerivedData/gotobridge-fsxpbshuzkjajbfxyztldgpsuqee/Build/Products/Debug-dev-iphoneos/Goto\ Bridge\ Dev.app/Goto\ Bridge\ Dev

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_FlipperKitNetworkPlugin", referenced from:
      objc-class-ref in AppDelegate.o
  "_OBJC_CLASS_$_SKIOSNetworkAdapter", referenced from:
      objc-class-ref in AppDelegate.o
  "_OBJC_CLASS_$_FlipperKitReactPlugin", referenced from:
      objc-class-ref in AppDelegate.o
  "_OBJC_CLASS_$_FKUserDefaultsPlugin", referenced from:
      objc-class-ref in AppDelegate.o
  "_OBJC_CLASS_$_FlipperKitLayoutPlugin", referenced from:
      objc-class-ref in AppDelegate.o
  "_OBJC_CLASS_$_SKDescriptorMapper", referenced from:
      objc-class-ref in AppDelegate.o
  "_OBJC_CLASS_$_FlipperClient", referenced from:
      objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Reproducible demo

n/a

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.