Files
PerspectiveTransform/Example/Podfile
Paul Zabelin 49dce4e3c8 add first workflow (#45)
* add first workflow
* prepare cocoapods
add pod install step before running tests
* Install bundle dependencies
* fix test action failure
* improve test action
* cache cocoapods
* use latest cache action
* fix xcode warning
2020-09-08 21:39:32 -07:00

46 lines
1022 B
Ruby

source 'https://cdn.cocoapods.org/'
use_frameworks!
platform :ios, '13.2'
def DevelopmentPodAndDependencies
pod 'PerspectiveTransform', :path => '../'
pod 'ImageCoordinateSpace'
end
target 'Example' do
DevelopmentPodAndDependencies()
def SwiftTestingPods
pod 'Quick'
pod 'Nimble'
end
target 'Application Specs' do
inherit! :search_paths
SwiftTestingPods()
pod 'Nimble-Snapshots'
end
target 'OpenCV OSX Tests' do
platform :osx, '10.14'
SwiftTestingPods()
end
end
target 'Framework Unit Specs' do
DevelopmentPodAndDependencies()
SwiftTestingPods()
end
post_install do |installer|
# Fix Xcode warning update to recommended settings caused by overriding architecture settings
# https://github.com/CocoaPods/CocoaPods/issues/8242#issuecomment-572046678
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings.delete('ARCHS')
end
end
end