A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
| # Add these in your Podfile (available for CocoaPods v1.7.x+) | |
| # Replace with any Pods that you want to keep dynamically linked | |
| keep_dynamically_linked = ['RxCocoa', 'RxSwift'] | |
| target 'YourApp' do | |
| # all you pods here... | |
| end |
| /* | |
| * Note: You need to build this script before use | |
| * Usage: | |
| * 1. Build by `swfitc scan_unused_selectors.swift` | |
| * 2. Run by `./scan_unused_selectors /path/to/yourMachO` | |
| * | |
| * How to locate MachO of your APP (`/path/to/yourMachO` in above example)? In your Xcod project navigator, you can find a folder `Products` | |
| * In that folder you can see your app (after any build) and right click on it -> "Show In Finder" | |
| * You can get your APP's location by drag it into your terminal. Say it's "/path/to/MyApp.app", your MachO path would be "/path/to/MyApp.app/MyApp" | |
| */ |
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
| require 'xcodeproj' | |
| project_path = "your_project_path"; | |
| # Create project object | |
| project = Xcodeproj::Project.new(project_path); | |
| lib_path = "your_lib_path"; | |
| # Add the lib file as a reference | |
| libRef = project['Frameworks'].new_file(lib_path); |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>UserName</key> | |
| <string>jenkins</string> | |
| <key>Label</key> | |
| <string>org.jenkins-ci.jenkins</string> | |
| <key>EnvironmentVariables</key> | |
| <dict> |