Closed baixjian closed 9 months ago
:warning: | Too Old Version of React Native |
---|---|
:information_source: | It looks like your issue or the example you provided uses a Too Old Version of React Native. Due to the number of issues we receive, we're currently only accepting new issues against one of the supported versions. Please upgrade to latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If you cannot upgrade, please open your issue on StackOverflow to get further community support. |
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
plugin 'cocoapods-user-defined-build-types', {
verbose: true
}
enable_user_defined_build_types!
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
install!'cocoapods',:deterministic_uuids=>false
platform :ios, '11.0'
target 'myapp' do
config = use_native_modules!
use_react_native!(:path => config["reactNativePath"])
permissions_path = '../node_modules/react-native-permissions/ios'
pod 'Permission-AppTrackingTransparency', :path => "#{permissions_path}/AppTrackingTransparency"
pod 'Permission-BluetoothPeripheral', :path => "#{permissions_path}/BluetoothPeripheral"
pod 'Permission-Calendars', :path => "#{permissions_path}/Calendars"
pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
pod 'Permission-Contacts', :path => "#{permissions_path}/Contacts"
pod 'Permission-FaceID', :path => "#{permissions_path}/FaceID"
pod 'Permission-LocationAccuracy', :path => "#{permissions_path}/LocationAccuracy"
pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways"
pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse"
pod 'Permission-MediaLibrary', :path => "#{permissions_path}/MediaLibrary"
pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone"
pod 'Permission-Motion', :path => "#{permissions_path}/Motion"
pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications"
pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary"
pod 'Permission-PhotoLibraryAddOnly', :path => "#{permissions_path}/PhotoLibraryAddOnly"
pod 'Permission-Reminders', :path => "#{permissions_path}/Reminders"
pod 'Permission-Siri', :path => "#{permissions_path}/Siri"
pod 'Permission-SpeechRecognition', :path => "#{permissions_path}/SpeechRecognition"
pod 'Permission-StoreKit', :path => "#{permissions_path}/StoreKit"
pod 'JPush', :path => '../node_modules/jpush-react-native'
pod 'JCore', :path => '../node_modules/jcore-react-native'
target 'myappTests' do
inherit! :complete
# Pods for testing
end
# 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'
# pre_install do |installer|
# installer.pod_targets.each do |pod|
# if pod.name.eql?('RNScreens')
# def pod.build_type
# Pod::BuildType.static_library
# end
# end
# end
# 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!('Flipper' => '0.75.1', 'Flipper-Folly' => '2.5.3', 'Flipper-RSocket' => '1.3.1')
# post_install do |installer|
# flipper_post_install(installer)
# end
pod 'RxSwift', '~> 5.0.0', :build_type => :dynamic_framework
pod 'Moya', '~> 15.0.0', :build_type => :dynamic_framework
pod 'CryptoSwift','~> 1.0.0', :build_type => :dynamic_framework
pod 'SnapKit','~> 5.6.0', :build_type => :dynamic_framework
pod 'JXSegmentedView','~> 1.2.7', :build_type => :dynamic_framework
pod 'MBProgressHUD', :build_type => :dynamic_framework
pod 'MJRefresh', :build_type => :dynamic_framework
pod 'IQKeyboardManager', :build_type => :dynamic_framework
pod 'LBXScan/LBXNative', :build_type => :dynamic_framework
# pre_install do |installer|
# Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
# end
end
target 'myapp-tvOS' do
# Pods for myapp-tvOS
target 'myapp-tvOSTests' do
inherit! :search_paths
# Pods for testing
end
end
`
I encounter the same issue,
but you need to set up the library linking to native iOS again.
I encounter the same issue,
- Delete the 'ios' folder.
- Create a new project with the same name and bundle ID.
- Copy the 'ios' folder from the new project.
- Paste the copied 'ios' folder into the problematic project.
but you need to set up the library linking to native iOS again.
Thank you for your reply. I didn't understand what you meant. Can you point out the corresponding steps clearly? Thank you
Description
I built a successful APP using Xcode14. But I upgraded to Xcode15. An error has occurred
Steps to reproduce
-
React Native Version
0.63.2
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
-
Screenshots and Videos
No response