upgrade-support
upgrade-support copied to clipboard
How to fix issue after upgrading from 0.61.5 to 0.63.4?
Environment
System:
OS: macOS 10.15.7
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 167.78 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.13.0 - ~/.nvm/versions/node/v12.13.0/bin/node
Yarn: 1.22.5 - /usr/local/bin/yarn
npm: 6.12.0 - ~/.nvm/versions/node/v12.13.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.3, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK: Not Found
IDEs:
Android Studio: 3.6.2 3.6.2
Xcode: 12.3/12C33 - /usr/bin/xcodebuild
Languages:
Java: 14.0.1 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.4 => 0.63.4
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
Things I’ve done to figure out my issue
- [x] I used upgrade-helper to do my upgrade.
Upgrading version
- from 0.61.5 to 0.63.4
Description
At the end when tryring to build for ios, i have 'React/RCTBridgeDelegate.h' file not found , I have run pod install
podfile
equire_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '10.0'
use_frameworks!
# Convert all permission pods into static libraries
pre_install do |installer|
installer.pod_targets.each do |pod|
if pod.name.eql?('RNPermissions') || pod.name.start_with?('Permission-')
def pod.build_type;
# Uncomment one line depending on your CocoaPods version
Pod::BuildType.static_library # >= 1.9
# Pod::Target::BuildType.static_library # < 1.9
end
end
end
end
$FirebaseSDKVersion = '6.29.0'
$RNFirebaseAsStaticFramework = true
target 'dsp' do
config = use_native_modules!
use_react_native!(:path => config["reactNativePath"])
permissions_path = '../node_modules/react-native-permissions/ios'
# Pods for dsp
pod 'react-native-camera', :path => '../node_modules/react-native-camera'
pod 'instabug-reactnative', :path => '../node_modules/instabug-reactnative'
pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec"
pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications.podspec"
pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary.podspec"
pod 'RNCPushNotificationIOS', :path => '../node_modules/@react-native-community/push-notification-ios'
pod 'react-native-heic-converter', :path => '../node_modules/react-native-heic-converter'
target 'dspTests' do
inherit! :complete
# Pods for testing
end
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable these next few lines.
use_flipper!
post_install do |installer|
flipper_post_install(installer)
end
end
#target 'dsp-tvOS' do
# # Pods for dsp-tvOS
#
# target 'dsp-tvOSTests' do
# inherit! :search_paths
# # Pods for testing
# end
#
#end
[!] The 'Pods-dsp' target has transitive dependencies that include statically linked binaries: (/Users/axel/Work/DSP-Mobile/tag1.0/dsp/ios/Pods/CocoaLibEvent/lib/libevent.a, /Users/axel/Work/DSP-Mobile/tag1.0/dsp/ios/Pods/CocoaLibEvent/lib/libevent_core.a, /Users/axel/Work/DSP-Mobile/tag1.0/dsp/ios/Pods/CocoaLibEvent/lib/libevent_extra.a, /Users/axel/Work/DSP-Mobile/tag1.0/dsp/ios/Pods/CocoaLibEvent/lib/libevent_pthreads.a, /Users/axel/Work/DSP-Mobile/tag1.0/dsp/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a, and /Users/axel/Work/DSP-Mobile/tag1.0/dsp/ios/Pods/OpenSSL-Universal/ios/lib/libssl.a)
Hi bro. I also upgraded my project from 0.61.5 to 0.63.0 . It is working fine but app crashes when debugger is on. Did u also face something of that sort?