tiero / react-native-360

A React Native wrapper for Google VR Cardboard SDK
MIT License
141 stars 38 forks source link

Invalid Bundle - Invalid Asset Catalog. One of the files named Assets.car is not a valid Asset Catalog file (IOS) #19

Open nabeelpkl opened 6 years ago

nabeelpkl commented 6 years ago

Hi,

I am using react-native-360 for iOS app and I am able to build and play the app on an iPhone but while uploading to the store I am getting this error:

Invalid Bundle - Invalid Asset Catalog. One of the files named Assets.car is not a valid Asset Catalog file

I tried disabling GVR SDK and was able to upload to the store but without GVR SDK I cannot play 360 videos.

Below is the Podfile:

target 'vrdevotee' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!
  pod 'Fabric'
  pod 'Crashlytics'
  pod 'GVRSDK/GVRView'
  pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
  pod 'React', :path => ‘../node_modules/react-native', :subspecs => [
  'Core',
  'RCTImage',
  'RCTNetwork',
  'RCTText',
  'BatchedBridge',
  'RCTWebSocket',
  'RCTAnimation',
  'RCTGeolocation',
  'RCTLinkingIOS',
  'RCTSettings',
  'RCTVibration',
  'DevSupport'
  ]
  pod 'ReactNativeNavigation', :path => '../node_modules/react-native-navigation'
  pod 'ReactNativeFabric', :path => '../node_modules/react-native-fabric'
end
RichardLindhout commented 6 years ago

I can confirm this issue. I removed this library to overcome the warning.

nabeelpkl commented 6 years ago

thanks @RichardLindhout for your response. In my app, I need to play 360 videos with VR mode. so I can't go without a player like this. Is there any other alternative to this player or I can overcome this issue.