Skip to content

Commit 69e7a4d

Browse files
fix: preserve paths
1 parent e0fc671 commit 69e7a4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hermes-engine.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Pod::Spec.new do |spec|
2626
spec.source = ENV['hermes-artifact-url'] ? { http: ENV['hermes-artifact-url'] } : { git: "https://github.com/facebook/hermes.git", tag: "v#{spec.version}" }
2727
spec.platforms = { :osx => "10.13", :ios => "12.0", :visionos => "1.0", :tvos => "12.0" }
2828

29-
spec.preserve_paths = ["destroot/bin/*"].concat(HermesHelper::BUILD_TYPE == :debug ? ["**/*.{h,c,cpp}"] : [])
29+
spec.preserve_paths = ["destroot/bin/*"].concat(["**/*.{h,c,cpp}"])
3030
spec.source_files = "destroot/include/**/*.h"
3131
spec.header_mappings_dir = "destroot/include"
3232

0 commit comments

Comments
 (0)