React Native IOS:无法读取数据,因为它在xcode9上的格式不正确

时间:2017-11-20 10:17:03

标签: ios react-native export xcode9 ipa

当我用xcode9导出ipa文件时。 (反应原生项目) 我收到了这个错误

  

无法读取数据,因为格式不正确

和日志文件:

2017-11-20 10:09:41 +0000  /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
2017-11-20 10:09:41 +0000  : incompatible library version - /Users/xxx/.rvm/gems/ruby-2.3.1/gems/json-2.1.0/lib/json/ext/parser.bundle (fatal)
    from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /Users/gulliver/.rvm/gems/ruby-2.3.1/gems/json-2.1.0/lib/json/ext.rb:7:in `<module:Ext>'
    from /Users/gulliver/.rvm/gems/ruby-2.3.1/gems/json-2.1.0/lib/json/ext.rb:6:in `<module:JSON>'
    from /Users/gulliver/.rvm/gems/ruby-2.3.1/gems/json-2.1.0/lib/json/ext.rb:3:in `<top (required)>'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /Users/gulliver/.rvm/gems/ruby-2.3.1/gems/json-2.1.0/lib/json.rb:59:in `<module:JSON>'
    from /Users/gulliver/.rvm/gems/ruby-2.3.1/gems/json-2.1.0/lib/json.rb:55:in `<top (required)>'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:18:in `<main>'

请帮助!!!!!!

0 个答案:

没有答案