Skip to content

Commit 968a0e5

Browse files
authored
fix: fix path to external libraries in podspec (#600)
1 parent 15a108f commit 968a0e5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

apps/fabric-example/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2961,7 +2961,7 @@ SPEC CHECKSUMS:
29612961
ReactAppDependencyProvider: 3267432b637c9b38e86961b287f784ee1b08dde0
29622962
ReactCodegen: d82f538f70f00484d418803f74b5a0ea09cc8689
29632963
ReactCommon: b028d09a66e60ebd83ca59d8cc9a1216360db147
2964-
RNAudioAPI: 7ba48681da626677a851e7b91d7910b776410976
2964+
RNAudioAPI: a2e1467619b270f2b7c922528e624063b13c77c6
29652965
RNGestureHandler: eeb622199ef1fb3a076243131095df1c797072f0
29662966
RNReanimated: 402e6a3b84071df4da6264630a1b99962a113d2d
29672967
RNScreens: ee2abe7e0c548eed14e92742e81ed991165c56aa

packages/react-native-audio-api/RNAudioAPI.podspec

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ Pod::Spec.new do |s|
3535

3636
s.compiler_flags = "#{folly_flags}"
3737

38-
external_dir = "$(PODS_TARGET_SRCROOT)/common/cpp/audioapi/external"
39-
# lib_dir = "$(PODS_TARGET_SRCROOT)/common/cpp/audioapi/external/$(PLATFORM_NAME)"
40-
lib_dir = "$(SRCROOT)/../../../packages/react-native-audio-api/common/cpp/audioapi/external/$(PLATFORM_NAME)"
38+
external_dir = File.join(__dir__, "common/cpp/audioapi/external")
39+
lib_dir = "#{external_dir}/$(PLATFORM_NAME)"
4140

4241

4342
s.pod_target_xcconfig = {

0 commit comments

Comments
 (0)