-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Description
use_frameworks!
platform :osx, '10.11'
target 'FFmpegTutorial-macOS' do
pod 'FFmpegTutorial',:path => '../../'
end
pre_install do |installer|
puts `../../download-vendor.sh macos 0.10.1-230831144049-ijk`
end
如上,PodFile文件只有一个打印puts,没执行 sh文件。把它改成下面这样,就可以执行pod install了。
pre_install do |installer|
podfile_path = File.dirname(File.realpath(__FILE__))
script_relative_path = "../../download-vendor.sh"
script_full_path = File.expand_path(script_relative_path, podfile_path)
system("sh #{script_full_path} ios 0.10.1-230831144049-ijk")
end
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels