-
Notifications
You must be signed in to change notification settings - Fork 953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiples erros in archive iOS in new version react native 0.71.2 #4494
Comments
is there any solution for this? This is how my podfile looks like.
|
We are experiencing similar issues but with Apple Silicon |
+1 |
I have multiple schemes with debug and release build configurations.
Then added the following line with those schemes build configuration names to Podfile resolved issues.
And connecting to a debugger also started working by disabling Hermes in Podfile as follows.
React-Native: 0.71.3 |
I am also facing the same issue |
We were having the same issue. Ultimately, it came down to excluding flipper et al from release builds. RN 0.71.1
// react-native.config.js
module.exports = {
dependencies: {
...(process.env.NO_FLIPPER // When set, skip flipper includes for iOS archive builds (release buidls)
? { 'react-native-flipper': { platforms: { ios: null } } }
: {}),
},
// ...
}; then to build for debug locally, in in your build CI, add the NO_FLIPPER=1 env var. before running pod install. this will remove all flipper nonsense from your build decreasing your build time by 10+ minutes and preventing the nasty errors you're seeing above. |
any solution now? |
+1 |
🐛 Bug Report
https://imgur.com/eDP7k2i
To Reproduce
npx react-native init AwesomeProject
react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios
cd ios
pod install
open xcode and build after archive
Environment
errors:
Undefined symbol: _OBJC_CLASS_$_FKUserDefaultsPlugin Undefined symbol: _OBJC_CLASS_$_FlipperClient Undefined symbol: _OBJC_CLASS_$_FlipperKitLayoutPlugin Undefined symbol: _OBJC_CLASS_$_FlipperKitNetworkPlugin Undefined symbol: _OBJC_CLASS_$_FlipperKitReactPlugin Undefined symbol: _OBJC_CLASS_$_SKDescriptorMapper Undefined symbol: _OBJC_CLASS_$_SKIOSNetworkAdapter
System:
OS: macOS 13.0.1
CPU: (4) x64 Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
Memory: 1.70 GB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.17.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 9.2.0 - /usr/local/bin/npm
Watchman: 2022.10.03.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_221 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: ^0.71.2 => 0.71.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
The text was updated successfully, but these errors were encountered: