diff --git a/.circleci/config.yml b/.circleci/config.yml index 5058af00..7aedb4e1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,18 +2,20 @@ version: 2.1 orbs: # This uses the iOS Orb located at https://github.com/wordpress-mobile/circleci-orbs - ios: wordpress-mobile/ios@0.0.22 + ios: wordpress-mobile/ios@0.0.25 workflows: test_and_validate: jobs: - ios/test: name: Test + xcode-version: "10.2.0" cocoapods-working-directory: Example workspace: Example/WPMediaPicker.xcworkspace scheme: WPMediaPicker-Example device: iPhone XS - ios-version: "12.1" + ios-version: "12.2" - ios/validate-podspec: name: Validate Podspec + xcode-version: "10.2.0" podspec-path: WPMediaPicker.podspec diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 0dc6be97..a4103a47 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - WPMediaPicker (1.3.2) + - WPMediaPicker (1.3.3) DEPENDENCIES: - WPMediaPicker (from `../`) @@ -9,8 +9,8 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - WPMediaPicker: 6fdd96fcab8fe0c0bf8a2e53e7e8c5bd6313928a + WPMediaPicker: 6d23120b16c0f66987fd98ec2b294864e1df03bf PODFILE CHECKSUM: 7c47e10b39aca62b1f30c3c4260cc99456cf95f8 -COCOAPODS: 1.5.3 +COCOAPODS: 1.6.1 diff --git a/Example/WPMediaPicker.xcodeproj/project.pbxproj b/Example/WPMediaPicker.xcodeproj/project.pbxproj index 13abb9e4..352213ae 100644 --- a/Example/WPMediaPicker.xcodeproj/project.pbxproj +++ b/Example/WPMediaPicker.xcodeproj/project.pbxproj @@ -269,7 +269,7 @@ isa = PBXProject; attributes = { CLASSPREFIX = WP; - LastUpgradeCheck = 1000; + LastUpgradeCheck = 1020; ORGANIZATIONNAME = "Sérgio Estêvão"; TargetAttributes = { 6003F589195388D20070C39A = { @@ -283,7 +283,7 @@ }; buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "WPMediaPicker" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, @@ -346,7 +346,7 @@ files = ( ); inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-WPMediaPicker/Pods-WPMediaPicker-resources.sh", + "${PODS_ROOT}/Target Support Files/Pods-WPMediaPicker/Pods-WPMediaPicker-resources.sh", "${PODS_CONFIGURATION_BUILD_DIR}/WPMediaPicker/WPMediaPicker.bundle", ); name = "[CP] Copy Pods Resources"; @@ -355,7 +355,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-WPMediaPicker/Pods-WPMediaPicker-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-WPMediaPicker/Pods-WPMediaPicker-resources.sh\"\n"; showEnvVarsInLog = 0; }; F502AF126C3439A64B16CCFE /* [CP] Check Pods Manifest.lock */ = { @@ -436,6 +436,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; @@ -489,6 +490,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; diff --git a/Example/WPMediaPicker.xcodeproj/xcshareddata/xcschemes/WPMediaPicker-Example.xcscheme b/Example/WPMediaPicker.xcodeproj/xcshareddata/xcschemes/WPMediaPicker-Example.xcscheme index 2b7a7207..e82bf2d0 100644 --- a/Example/WPMediaPicker.xcodeproj/xcshareddata/xcschemes/WPMediaPicker-Example.xcscheme +++ b/Example/WPMediaPicker.xcodeproj/xcshareddata/xcschemes/WPMediaPicker-Example.xcscheme @@ -1,6 +1,6 @@ 0.7) minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) atomos (0.1.3) claide (1.0.2) - cocoapods (1.5.3) + cocoapods (1.6.1) activesupport (>= 4.0.2, < 5) claide (>= 1.0.2, < 2.0) - cocoapods-core (= 1.5.3) + cocoapods-core (= 1.6.1) cocoapods-deintegrate (>= 1.0.2, < 2.0) - cocoapods-downloader (>= 1.2.0, < 2.0) + cocoapods-downloader (>= 1.2.2, < 2.0) cocoapods-plugins (>= 1.0.0, < 2.0) cocoapods-search (>= 1.0.0, < 2.0) cocoapods-stats (>= 1.0.0, < 2.0) - cocoapods-trunk (>= 1.3.0, < 2.0) + cocoapods-trunk (>= 1.3.1, < 2.0) cocoapods-try (>= 1.1.0, < 2.0) colored2 (~> 3.1) escape (~> 0.0.4) - fourflusher (~> 2.0.1) + fourflusher (>= 2.2.0, < 3.0) gh_inspector (~> 1.0) - molinillo (~> 0.6.5) + molinillo (~> 0.6.6) nap (~> 1.0) - ruby-macho (~> 1.1) - xcodeproj (>= 1.5.7, < 2.0) - cocoapods-core (1.5.3) + ruby-macho (~> 1.4) + xcodeproj (>= 1.8.1, < 2.0) + cocoapods-core (1.6.1) activesupport (>= 4.0.2, < 6) fuzzy_match (~> 2.0.4) nap (~> 1.0) - cocoapods-deintegrate (1.0.2) + cocoapods-deintegrate (1.0.4) cocoapods-downloader (1.2.2) cocoapods-plugins (1.0.0) nap @@ -43,9 +43,9 @@ GEM netrc (~> 0.11) cocoapods-try (1.1.0) colored2 (3.1.2) - concurrent-ruby (1.1.4) + concurrent-ruby (1.1.5) escape (0.0.4) - fourflusher (2.0.1) + fourflusher (2.2.0) fuzzy_match (2.0.4) gh_inspector (1.1.3) i18n (0.9.5) @@ -55,11 +55,11 @@ GEM nanaimo (0.2.6) nap (1.1.0) netrc (0.11.0) - ruby-macho (1.3.1) + ruby-macho (1.4.0) thread_safe (0.3.6) tzinfo (1.2.5) thread_safe (~> 0.1) - xcodeproj (1.8.0) + xcodeproj (1.8.2) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0) @@ -70,7 +70,7 @@ PLATFORMS ruby DEPENDENCIES - cocoapods (= 1.5.3)! + cocoapods (= 1.6.1)! BUNDLED WITH 1.17.2 diff --git a/Pod/Classes/WPMediaPickerViewController.h b/Pod/Classes/WPMediaPickerViewController.h index 2af37572..2898b237 100644 --- a/Pod/Classes/WPMediaPickerViewController.h +++ b/Pod/Classes/WPMediaPickerViewController.h @@ -312,7 +312,7 @@ @return a view controller to present the empty view. */ -- (UIViewController *)defaultEmptyViewController; +- (nonnull UIViewController *)defaultEmptyViewController; /** Calculates the appropriate cell height/width given the desired number of cells per line, desired space diff --git a/WPMediaPicker.podspec b/WPMediaPicker.podspec index e249121a..f59ea9f5 100644 --- a/WPMediaPicker.podspec +++ b/WPMediaPicker.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "WPMediaPicker" - s.version = "1.3.2" + s.version = "1.3.3" s.summary = "WPMediaPicker is an iOS controller that allows capture and picking of media assets." s.description = <<-DESC WPMediaPicker is an iOS controller that allows capture and picking of media assets.