Open manishCapG opened 1 month ago
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available - 0.75.3. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
This PR should resolve the issue [#46495] and it is merged. If you want to build urgently, you can just copy the same in your local react-native.
Hopefully, this fix will be present in the next release.
namespace facebook { namespace jsi { namespace detail {
inline Value toValue(Runtime&, std::nullptr_t) {
return Value::null();
}
inline Value toValue(Runtime&, bool b) {
return Value(b);
}
inline Value toValue(Runtime&, double d) {
return Value(d);
}
inline Value toValue(Runtime&, float f) {
return Value(static_cast
inline PropNameID toPropNameID(Runtime& runtime, const char* name) { return PropNameID::forAscii(runtime, name); } inline PropNameID toPropNameID(Runtime& runtime, const std::string& name) { return PropNameID::forUtf8(runtime, name); } inline PropNameID&& toPropNameID(Runtime&, PropNameID&& name) { return std::move(name); }
/// Helper to throw while still compiling with exceptions turned off.
template <typename E, typename... Args>
[[noreturn]] inline void throwOrDie(Args&&... args) {
std::rethrow_exception(
std::make_exception_ptr(E{std::forward
} // namespace detail
template
inline Runtime::PointerValue* Runtime::getPointerValue(jsi::Pointer& pointer) { return pointer.ptr_; }
inline const Runtime::PointerValue* Runtime::getPointerValue( const jsi::Pointer& pointer) { return pointer.ptr_; }
inline const Runtime::PointerValue* Runtime::getPointerValue( const jsi::Value& value) { return value.data.pointer.ptr; }
inline Value Object::getProperty(Runtime& runtime, const char* name) const { return getProperty(runtime, String::createFromAscii(runtime, name)); }
inline Value Object::getProperty(Runtime& runtime, const String& name) const { return runtime.getProperty(*this, name); }
inline Value Object::getProperty(Runtime& runtime, const PropNameID& name) const { return runtime.getProperty(*this, name); }
inline bool Object::hasProperty(Runtime& runtime, const char* name) const { return hasProperty(runtime, String::createFromAscii(runtime, name)); }
inline bool Object::hasProperty(Runtime& runtime, const String& name) const { return runtime.hasProperty(*this, name); }
inline bool Object::hasProperty(Runtime& runtime, const PropNameID& name) const { return runtime.hasProperty(*this, name); }
template
This memory leak is coming in jsi-inl file
Is this related to the unknown option error?
Memory leak is not related to this, also this solution is not there in 0.75.3, it will be there in the next release
i has same problem --config-cmd
solved https://github.com/facebook/react-native/issues/46552#issuecomment-2357631163
I'm also still having this issue even after manually applying the fix. Anyone else still having XCode archive builds fail because of this?
https://github.com/facebook/react-native/issues/46552#issuecomment-2357631163 did not solve it for me
Description
While I have upgraded to react-native 0.75.2 version i am facing issue regariding react-native-xcode.sh file
when i am running the application i get this error
error unknown option `--config-cmd'
my react-native-xcode.sh file below
Steps to reproduce
React Native Version
0.75.2
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/react-native-community/reproducer-react-native
Screenshots and Videos