expo-community / expo-server-sdk-ruby

A Ruby library for sending push notifications with Expo's notification service
MIT License
95 stars 53 forks source link

objc __NSCFConstantString initialize error #47

Open noctivityinc opened 7 months ago

noctivityinc commented 7 months ago

Just installed this gem and getting the following error when trying to use:

objc[2642]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
rails  | objc[2642]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.

Running

ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-darwin21]
rails 5.2.6

Thanks

josephineweidner commented 1 month ago

@noctivityinc this might be related: https://github.com/rails/rails/issues/38560