thebergamo / react-native-fbsdk-next

MIT License
633 stars 165 forks source link

ITMS-90863: Apple silicon Macs support issue - The app links with libraries that are not present on Мас #471

Closed chhornponleu closed 5 months ago

chhornponleu commented 5 months ago

Unable to submit app with below complain from App Store.

🐛 Bug Report

image

To Reproduce

NA (see ## Environment section)

Expected Behavior

NA

Code Example

NA

Environment

System:
  OS: macOS 13.6
  CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  Memory: 2.54 GB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 16.14.2
    path: /usr/local/bin/node
  Yarn:
    version: 1.22.10
    path: /usr/local/bin/yarn
  npm:
    version: 8.5.0
    path: /usr/local/bin/npm
  Watchman:
    version: 2023.10.30.00
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.11.2
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 22.4
      - iOS 16.4
      - macOS 13.3
      - tvOS 16.4
      - watchOS 9.4
  Android SDK:
    API Levels:
      - "21"
      - "23"
      - "25"
      - "26"
      - "27"
      - "28"
      - "29"
      - "30"
      - "31"
      - "32"
      - "33"
    Build Tools:
      - 25.0.0
      - 25.0.2
      - 26.0.1
      - 26.0.2
      - 27.0.3
      - 28.0.3
      - 29.0.2
      - 29.0.3
      - 30.0.0
      - 30.0.2
      - 30.0.3
      - 31.0.0
      - 33.0.0
    System Images:
      - android-27 | Google APIs Intel x86 Atom
      - android-33 | Google Play Intel x86 Atom_64
    Android NDK: Not Found
IDEs:
  Android Studio: 2022.3 AI-223.8836.35.2231.10406996
  Xcode:
    version: 14.3.1/14E300c
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 11.0.8
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.4
    wanted: 0.72.4
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false
chhornponleu commented 5 months ago

Just noticed I'm not using latest version. updating soon

chhornponleu commented 5 months ago

Manually adding the framework solved the issue

image
mikehardy commented 5 months ago

Very interesting but that shouldn't be necessary - the point of cocoapods is to handle all the path-ing and linking etc 🤔

chhornponleu commented 5 months ago

Very interesting but that shouldn't be necessary - the point of cocoapods is to handle all the path-ing and linking etc 🤔

you are right. it works again after cleaning xcode cache, without having to manually add the frameworks