Skip to content

Commit

Permalink
Exclude XR and camera libs from basekit podspec (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
CedricGuillemet authored Oct 6, 2023
1 parent 03ef939 commit ed295e8
Showing 1 changed file with 36 additions and 3 deletions.
39 changes: 36 additions & 3 deletions Package/BaseKit/react-native-babylon.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,43 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m,mm}"
s.requires_arc = true

s.vendored_libraries = 'ios/libs/*.a'
s.vendored_libraries = 'ios/libs/libastc-encoder.a',
'ios/libs/libBabylonNative.a',
'ios/libs/libbgfx.a',
'ios/libs/libbimg.a',
'ios/libs/libbx.a',
'ios/libs/libCanvas.a',
'ios/libs/libedtaa3.a',
'ios/libs/libetc1.a',
'ios/libs/libetc2.a',
'ios/libs/libGenericCodeGen.a',
'ios/libs/libglslang-default-resource-limits.a',
'ios/libs/libglslang.a',
'ios/libs/libGraphics.a',
'ios/libs/libiqa.a',
'ios/libs/libJsRuntime.a',
'ios/libs/libMachineIndependent.a',
'ios/libs/libnapi.a',
'ios/libs/libNativeCapture.a',
'ios/libs/libNativeEngine.a',
'ios/libs/libNativeInput.a',
'ios/libs/libNativeOptimizations.a',
'ios/libs/libNativeTracing.a',
'ios/libs/libnvtt.a',
'ios/libs/libOGLCompiler.a',
'ios/libs/libOSDependent.a',
'ios/libs/libpvrtc.a',
'ios/libs/libspirv-cross-core.a',
'ios/libs/libspirv-cross-glsl.a',
'ios/libs/libspirv-cross-msl.a',
'ios/libs/libSPIRV.a',
'ios/libs/libsquish.a',
'ios/libs/libtinyexr.a',
'ios/libs/libUrlLib.a',
'ios/libs/libWindow.a',
'ios/libs/libXMLHttpRequest.a'

s.frameworks = "MetalKit"

s.dependency "React"
end

end

0 comments on commit ed295e8

Please sign in to comment.