mirror of
https://github.com/zhigang1992/PerspectiveTransform.git
synced 2026-01-12 22:49:33 +08:00
* use whole module compilation mode to workaround intermittent code sign failures, see https://travis-ci.org/paulz/PerspectiveTransform/jobs/481952493#L985 that could be caused by known Xcode 10 issue: https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes/build_system_release_notes_for_xcode_10 * reuse test images from the app in app specs * exclude svg from app specs as it is not used * exclude metadata files from Example app build * Revert "reuse test images from the app in app specs" This reverts commit 9b18b81a036adc547771efed10cfe13e56f9c207. * disallow warnings in pod lib lint, make SnapshotSpec work with or without app resources * disable localization * remove unused xcconfig files * enable batch mode experiment to workaround code sign issues: https://github.com/Yummypets/YPImagePicker/issues/236 * delete all code signing build settings * fix framework specs dependency on the example app * move scheme to workspace, disable auto create, ignore playground compiled files * reuse test bundle info, remove unused build settings * reset bundle indentifiers to the same value * remove module name * clean mac target build settings * remove unused FRAMEWORK_SEARCH_PATHS * reuse wrapper header as bridging * reuse before install, cache bundler
36 lines
697 B
Ruby
36 lines
697 B
Ruby
source 'https://github.com/CocoaPods/Specs.git'
|
|
use_frameworks!
|
|
platform :ios, '11.0'
|
|
|
|
def DevelopmentPodAndDependencies
|
|
pod 'PerspectiveTransform', :path => '../'
|
|
pod 'ImageCoordinateSpace'
|
|
end
|
|
|
|
|
|
target 'Example' do
|
|
|
|
DevelopmentPodAndDependencies()
|
|
|
|
def SwiftTestingPods
|
|
pod 'Quick', :inhibit_warnings => true
|
|
pod 'Nimble'
|
|
end
|
|
|
|
target 'Application Specs' do
|
|
inherit! :search_paths
|
|
SwiftTestingPods()
|
|
pod 'Nimble-Snapshots'
|
|
end
|
|
|
|
target 'OpenCV OSX Tests' do
|
|
platform :osx, '10.13'
|
|
SwiftTestingPods()
|
|
end
|
|
end
|
|
|
|
target 'Framework Unit Specs' do
|
|
DevelopmentPodAndDependencies()
|
|
SwiftTestingPods()
|
|
end
|