facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
118.91k stars 24.3k forks source link

Showing All Issues Library 'BVLinearGradient' not found. Showing All Issues Linker command failed with exit code 1 (use -v to see invocation) #42674

Closed baixjian closed 9 months ago

baixjian commented 9 months ago

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

System:
    OS: macOS 14.2.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 99.02 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.20.2 - ~/.nvm/versions/node/v16.20.2/bin/node
    Yarn: 1.22.21 - ~/.nvm/versions/node/v16.20.2/bin/yarn
    npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.12.1 - /Users/my/.rvm/gems/ruby-2.7.5/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, visionOS 1.0, watchOS 10.2
    Android SDK: Not Found
  IDEs:
    Android Studio: 2022.1 AI-221.6008.13.2211.9619390
    Xcode: 15.2/15C500b - /usr/bin/xcodebuild
  Languages:
    Java: 18.0.2 - /usr/bin/javac
    Python: 3.10.11 - /Users/my/.pyenv/shims/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1 
    react-native: 0.63.2 => 0.63.2 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Stacktrace or Logs

ld: warning: ignoring duplicate libraries: '-lBVLinearGradient', '-lc++'
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/BVLinearGradient' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Base64' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/CodePush' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/DoubleConversion' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/FBReactNativeSpec' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Folly' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/JCore' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/JPush' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/JWT' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-AppTrackingTransparency' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-BluetoothPeripheral' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-Calendars' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-Camera' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-Contacts' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-FaceID' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-LocationAccuracy' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-LocationAlways' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-LocationWhenInUse' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-MediaLibrary' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-Microphone' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-Motion' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-Notifications' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-PhotoLibrary' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-PhotoLibraryAddOnly' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-Reminders' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-Siri' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-SpeechRecognition' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Permission-StoreKit' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RCTHttpCache' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RCTTypeSafety' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RCTWeChat' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNBugly' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNCAsyncStorage' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNCClipboard' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNCMaskedView' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNCPicker' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNDeviceInfo' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNExitApp' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNFS' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNFastImage' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNGestureHandler' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNImageCropPicker' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNLocalize' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNPermissions' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNReanimated' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNSVG' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNScreens' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNShare' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RNSyanImagePicker' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/React-Core' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/React-CoreModules' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/React-RCTAnimation' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/React-RCTBlob' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/React-RCTImage' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/React-RCTLinking' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/React-RCTNetwork' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/React-RCTSettings' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/React-RCTText' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/React-RCTVibration' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/React-cxxreact' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/React-jsi' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/React-jsiexecutor' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/React-jsinspector' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/ReactCommon' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/ReactNativeDarkMode' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/ReactNativeKeyboardManager' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/SDWebImage' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/SDWebImageWebPCoder' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/SSZipArchive' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/TOCropViewController' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/TZImagePickerController' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Yoga' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/glog' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/libwebp' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-amap-geolocation' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-camera' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-cameraroll' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-document-picker' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-fingerprint-scanner' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-image-picker' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-image-resizer' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-orientation-locker' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-pdf' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-progress-view' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-qr-scanner' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-safe-area-context' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-splash-screen' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-viewpager' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/react-native-webview' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/rn-fetch-blob' not found
ld: warning: search path '/Users/aaa/test/mobile_test/ios/GPSSdk/vehicleloan' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Alamofire' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/CryptoSwift' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/IQKeyboardManager' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/JXSegmentedView' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/LBXScan' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/MBProgressHUD' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/MJRefresh' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/Moya' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/RxSwift' not found
ld: warning: search path '/Users/aaa/Library/Developer/Xcode/DerivedData/test-apljoqarovmpsabpgiysfwiinhxi/Build/Products/Debug-iphoneos/SnapKit' not found
ld: warning: search path '/Users/aaa/test/mobile_test/ios/GPSSdk/vehicleLoan' not found
ld: warning: search path '/Users/aaa/test/mobile_test/ios/JMProtection' not found
ld: library 'BVLinearGradient' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Reproducer

-

Screenshots and Videos

No response

github-actions[bot] commented 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.
github-actions[bot] commented 9 months ago
:warning: Missing Reproducible Example
:information_source: We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.
baixjian commented 9 months ago

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

`
mhmdiqbal commented 8 months ago

I encounter the same issue,

  1. Delete the 'ios' folder.
  2. Create a new project with the same name and bundle ID.
  3. Copy the 'ios' folder from the new project.
  4. Paste the copied 'ios' folder into the problematic project.

but you need to set up the library linking to native iOS again.

baixjian commented 8 months ago

I encounter the same issue,

  1. Delete the 'ios' folder.
  2. Create a new project with the same name and bundle ID.
  3. Copy the 'ios' folder from the new project.
  4. 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