Skip to content

Commit

Permalink
Merge pull request #3148 from asafkorem/feature/wrap-workaround-method
Browse files Browse the repository at this point in the history
fix(iOS, Podfile): check RN version before calling workaround.
  • Loading branch information
asafkorem authored Dec 27, 2021
2 parents a19ba6d + b3e0b74 commit a27fedb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion detox/test/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ end

post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
# See https://github.com/wix/Detox/pull/3035#discussion_r774747705
if ENV["REACT_NATIVE_VERSION"] && ENV["REACT_NATIVE_VERSION"].match(/0.6[6,7].*/)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
end

0 comments on commit a27fedb

Please sign in to comment.