Optimize travis build (#3)

* 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
This commit is contained in:
Paul Zabelin
2019-01-20 03:51:55 -08:00
committed by Paul Zabelin
parent fe3e73d4ee
commit 64adf79f49
13 changed files with 63 additions and 157 deletions

View File

@@ -1,5 +0,0 @@
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#import "OpenCVWrapper.h"

View File

@@ -1,22 +0,0 @@
<?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>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>

View File

@@ -81,4 +81,4 @@
return transform;
}
@end
@end