require': dlopen(/Library/Ruby/Gems/2.6.0/gems/json-2.6.2/lib/json/ext/parser.bundle, 0x0009): tried: '/Library/Ruby/Gems/2.6.0/gems/json-2.6.2/lib/json/ext/parser.bundle' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64))) - /Library/Ruby/Gems/2.6.0/gems/json-2.6.2/lib/json/ext/parser.bundle (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
require'
from /Library/Ruby/Gems/2.6.0/gems/json-2.6.2/lib/json/ext.rb:7:in <module:Ext>' from /Library/Ruby/Gems/2.6.0/gems/json-2.6.2/lib/json/ext.rb:6:in
<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
require'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' from /Library/Ruby/Gems/2.6.0/gems/json-2.6.2/lib/json.rb:579:in
<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
require'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' from -e:1:in
What happened?
Hello, I'm currently having this issue with react-native-google-mobile-ads. I'm unable to build the project because the same error always pops up. I've checked the
app.json
and theios_app_id
is there. Has anyone had this issue before? I'm also using the latest version8.2.1
of the package. Please let me know if I need to add more info into this issue. Thanks in advance!Platforms
Only on iOS
React Native Info
Are your using Typescript?
package.json
app.json
ios/Podfile
android/build.gradle
No response
android/app/build.gradle
No response
android/settings.gradle
No response
AndroidManifest.xml
No response