├── .github └── FUNDING.yml ├── .gitignore ├── .swift-version ├── .travis.yml ├── AssetChecker.podspec ├── CODE_OF_CONDUCT.md ├── Classes └── main.swift ├── Example ├── AssetChecker.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── AssetChecker-Example.xcscheme ├── AssetChecker.xcworkspace │ └── contents.xcworkspacedata ├── AssetChecker │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock ├── Pods │ ├── AssetChecker │ │ ├── Classes │ │ └── run │ ├── Local Podspecs │ │ └── AssetChecker.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── AssetChecker │ │ ├── AssetChecker-dummy.m │ │ ├── AssetChecker-prefix.pch │ │ ├── AssetChecker-umbrella.h │ │ ├── AssetChecker.modulemap │ │ ├── AssetChecker.xcconfig │ │ └── Info.plist │ │ ├── Pods-AssetChecker_Example │ │ ├── Info.plist │ │ ├── Pods-AssetChecker_Example-acknowledgements.markdown │ │ ├── Pods-AssetChecker_Example-acknowledgements.plist │ │ ├── Pods-AssetChecker_Example-dummy.m │ │ ├── Pods-AssetChecker_Example-frameworks.sh │ │ ├── Pods-AssetChecker_Example-resources.sh │ │ ├── Pods-AssetChecker_Example-umbrella.h │ │ ├── Pods-AssetChecker_Example.debug.xcconfig │ │ ├── Pods-AssetChecker_Example.modulemap │ │ └── Pods-AssetChecker_Example.release.xcconfig │ │ └── Pods-AssetChecker_Tests │ │ ├── Info.plist │ │ ├── Pods-AssetChecker_Tests-acknowledgements.markdown │ │ ├── Pods-AssetChecker_Tests-acknowledgements.plist │ │ ├── Pods-AssetChecker_Tests-dummy.m │ │ ├── Pods-AssetChecker_Tests-frameworks.sh │ │ ├── Pods-AssetChecker_Tests-resources.sh │ │ ├── Pods-AssetChecker_Tests-umbrella.h │ │ ├── Pods-AssetChecker_Tests.debug.xcconfig │ │ ├── Pods-AssetChecker_Tests.modulemap │ │ └── Pods-AssetChecker_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── README.md ├── _Pods.xcodeproj ├── banner.png ├── run └── xcodeScreenshot.png /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | open_collective: freshos 2 | github: s4cha 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xcuserstate 23 | 24 | ## Obj-C/Swift specific 25 | *.hmap 26 | *.ipa 27 | *.dSYM.zip 28 | *.dSYM 29 | 30 | ## Playgrounds 31 | timeline.xctimeline 32 | playground.xcworkspace 33 | 34 | # Swift Package Manager 35 | # 36 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 37 | # Packages/ 38 | .build/ 39 | 40 | # CocoaPods 41 | # 42 | # We recommend against adding the Pods directory to your .gitignore. However 43 | # you should judge for yourself, the pros and cons are mentioned at: 44 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 45 | # 46 | # Pods/ 47 | 48 | # Carthage 49 | # 50 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 51 | # Carthage/Checkouts 52 | 53 | Carthage/Build 54 | 55 | # fastlane 56 | # 57 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 58 | # screenshots whenever they are needed. 59 | # For more information about the recommended setup visit: 60 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 61 | 62 | fastlane/report.xml 63 | fastlane/Preview.html 64 | fastlane/screenshots 65 | fastlane/test_output 66 | *. 67 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 4.0 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/AssetChecker.xcworkspace -scheme AssetChecker-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /AssetChecker.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'AssetChecker' 3 | s.version = '0.2.1' 4 | s.summary = 'Sanitizes your Assets.xcassets files' 5 | s.description = "AssetChecker is a tiny run script that keeps your Assets.xcassets files clean and emits warnings when something is suspicious." 6 | s.homepage = 'https://github.com/freshos/AssetChecker' 7 | s.screenshots = 'https://raw.githubusercontent.com/freshos/AssetChecker/master/xcodeScreenshot.png' 8 | s.license = { :type => 'MIT', :file => 'LICENSE' } 9 | s.author = { 'Sacha Durand Saint Omer' => 'sachadso@gmail.com' } 10 | s.source = { :git => 'https://github.com/freshos/AssetChecker.git', :tag => s.version.to_s } 11 | s.social_media_url = 'https://twitter.com/sachadso' 12 | s.ios.deployment_target = '8.0' 13 | s.source_files = "Classes/*.swift" 14 | s.preserve_paths = [ 'run' ] 15 | end 16 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. 6 | 7 | ## Our Standards 8 | 9 | Examples of behavior that contributes to creating a positive environment include: 10 | 11 | * Using welcoming and inclusive language 12 | * Being respectful of differing viewpoints and experiences 13 | * Gracefully accepting constructive criticism 14 | * Focusing on what is best for the community 15 | * Showing empathy towards other community members 16 | 17 | Examples of unacceptable behavior by participants include: 18 | 19 | * The use of sexualized language or imagery and unwelcome sexual attention or advances 20 | * Trolling, insulting/derogatory comments, and personal or political attacks 21 | * Public or private harassment 22 | * Publishing others' private information, such as a physical or electronic address, without explicit permission 23 | * Other conduct which could reasonably be considered inappropriate in a professional setting 24 | 25 | ## Our Responsibilities 26 | 27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. 28 | 29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. 30 | 31 | ## Scope 32 | 33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. 34 | 35 | ## Enforcement 36 | 37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at sachadso@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. 38 | 39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. 40 | 41 | ## Attribution 42 | 43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] 44 | 45 | [homepage]: http://contributor-covenant.org 46 | [version]: http://contributor-covenant.org/version/1/4/ 47 | -------------------------------------------------------------------------------- /Classes/main.swift: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env xcrun --sdk macosx swift 2 | 3 | import Foundation 4 | 5 | // Configure me \o/ 6 | var sourcePathOption:String? = nil 7 | var assetCatalogPathOption:String? = nil 8 | let ignoredUnusedNames = [String]() 9 | 10 | for (index, arg) in CommandLine.arguments.enumerated() { 11 | switch index { 12 | case 1: 13 | sourcePathOption = arg 14 | case 2: 15 | assetCatalogPathOption = arg 16 | default: 17 | break 18 | } 19 | } 20 | 21 | guard let sourcePath = sourcePathOption else { 22 | print("AssetChecker:: error: Source path was missing!") 23 | exit(0) 24 | } 25 | 26 | guard let assetCatalogAbsolutePath = assetCatalogPathOption else { 27 | print("AssetChecker:: error: Asset Catalog path was missing!") 28 | exit(0) 29 | } 30 | 31 | print("Searching sources in \(sourcePath) for assets in \(assetCatalogAbsolutePath)") 32 | 33 | /* Put here the asset generating false positives, 34 | For instance whne you build asset names at runtime 35 | let ignoredUnusedNames = [ 36 | "IconArticle", 37 | "IconMedia", 38 | "voteEN", 39 | "voteES", 40 | "voteFR" 41 | ] 42 | */ 43 | 44 | 45 | // MARK : - End Of Configurable Section 46 | 47 | func elementsInEnumerator(_ enumerator: FileManager.DirectoryEnumerator?) -> [String] { 48 | var elements = [String]() 49 | while let e = enumerator?.nextObject() as? String { 50 | elements.append(e) 51 | } 52 | return elements 53 | } 54 | 55 | 56 | // MARK: - List Assets 57 | 58 | func listAssets() -> [String] { 59 | let extensionName = "imageset" 60 | let enumerator = FileManager.default.enumerator(atPath: assetCatalogAbsolutePath) 61 | return elementsInEnumerator(enumerator) 62 | .filter { $0.hasSuffix(extensionName) } // Is Asset 63 | .map { $0.replacingOccurrences(of: ".\(extensionName)", with: "") } // Remove extension 64 | .map { $0.components(separatedBy: "/").last ?? $0 } // Remove folder path 65 | } 66 | 67 | 68 | // MARK: - List Used Assets in the codebase 69 | 70 | func localizedStrings(inStringFile: String) -> [String] { 71 | var localizedStrings = [String]() 72 | let namePattern = "([\\w-]+)" 73 | let patterns = [ 74 | "#imageLiteral\\(resourceName: \"\(namePattern)\"\\)", // Image Literal 75 | "UIImage\\(named:\\s*\"\(namePattern)\"\\)", // Default UIImage call (Swift) 76 | "UIImage imageNamed:\\s*\\@\"\(namePattern)\"", // Default UIImage call 77 | "\\ [String] { 94 | let enumerator = FileManager.default.enumerator(atPath:sourcePath) 95 | print(sourcePath) 96 | 97 | #if swift(>=4.1) 98 | return elementsInEnumerator(enumerator) 99 | .filter { $0.hasSuffix(".m") || $0.hasSuffix(".swift") || $0.hasSuffix(".xib") || $0.hasSuffix(".storyboard") } // Only Swift and Obj-C files 100 | .map { "\(sourcePath)/\($0)" } // Build file paths 101 | .map { try? String(contentsOfFile: $0, encoding: .utf8)} // Get file contents 102 | .compactMap{$0} 103 | .compactMap{$0} // Remove nil entries 104 | .map(localizedStrings) // Find localizedStrings ocurrences 105 | .flatMap{$0} // Flatten 106 | #else 107 | return elementsInEnumerator(enumerator) 108 | .filter { $0.hasSuffix(".m") || $0.hasSuffix(".swift") || $0.hasSuffix(".xib") || $0.hasSuffix(".storyboard") } // Only Swift and Obj-C files 109 | .map { "\(sourcePath)/\($0)" } // Build file paths 110 | .map { try? String(contentsOfFile: $0, encoding: .utf8)} // Get file contents 111 | .flatMap{$0} 112 | .flatMap{$0} // Remove nil entries 113 | .map(localizedStrings) // Find localizedStrings ocurrences 114 | .flatMap{$0} // Flatten 115 | #endif 116 | } 117 | 118 | 119 | // MARK: - Begining of script 120 | let assets = Set(listAssets()) 121 | let used = Set(listUsedAssetLiterals() + ignoredUnusedNames) 122 | 123 | 124 | // Generate Warnings for Unused Assets 125 | let unused = assets.subtracting(used) 126 | unused.forEach { print("\(assetCatalogAbsolutePath):: warning: [Asset Unused] \($0)") } 127 | 128 | 129 | // Generate Error for broken Assets 130 | let broken = used.subtracting(assets) 131 | broken.forEach { print("\(assetCatalogAbsolutePath):: error: [Asset Missing] \($0)") } 132 | 133 | if broken.count > 0 { 134 | exit(1) 135 | } 136 | -------------------------------------------------------------------------------- /Example/AssetChecker.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 3333CADC9CDF4D6C0279EAF6 /* Pods_AssetChecker_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0BF5C510348421D31756E79F /* Pods_AssetChecker_Tests.framework */; }; 11 | 5D8C437E1FC6CB2100DDF7D0 /* run in Resources */ = {isa = PBXBuildFile; fileRef = 5D8C437D1FC6CB2100DDF7D0 /* run */; }; 12 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 13 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 14 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 15 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 16 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 17 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 18 | BA341A14EF45F09231AACBFE /* Pods_AssetChecker_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B2F82D1638FD77B9042FE9A6 /* Pods_AssetChecker_Example.framework */; }; 19 | /* End PBXBuildFile section */ 20 | 21 | /* Begin PBXContainerItemProxy section */ 22 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 23 | isa = PBXContainerItemProxy; 24 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 25 | proxyType = 1; 26 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 27 | remoteInfo = AssetChecker; 28 | }; 29 | /* End PBXContainerItemProxy section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 0AA8D9DCF32BDBF252EC31A2 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 33 | 0BF5C510348421D31756E79F /* Pods_AssetChecker_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AssetChecker_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 32DFDA86ADB86D26C9AB97B4 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 35 | 4E3F248C6D57FAF6F94A24BC /* Pods-AssetChecker_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AssetChecker_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests.debug.xcconfig"; sourceTree = ""; }; 36 | 5512D041F5A3EF8493D7505C /* Pods-AssetChecker_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AssetChecker_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example.debug.xcconfig"; sourceTree = ""; }; 37 | 58816321B24F6A6272E52BB1 /* Pods-AssetChecker_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AssetChecker_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests.release.xcconfig"; sourceTree = ""; }; 38 | 5D8C437D1FC6CB2100DDF7D0 /* run */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; name = run; path = ../run; sourceTree = ""; }; 39 | 607FACD01AFB9204008FA782 /* AssetChecker_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AssetChecker_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 40 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 41 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 42 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 43 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 44 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 45 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 46 | 607FACE51AFB9204008FA782 /* AssetChecker_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AssetChecker_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 48 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 49 | 63C1D8F311B1C327036F7550 /* AssetChecker.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = AssetChecker.podspec; path = ../AssetChecker.podspec; sourceTree = ""; }; 50 | B2F82D1638FD77B9042FE9A6 /* Pods_AssetChecker_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AssetChecker_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | C2AB56DA4BC27DE54F97B2E5 /* Pods-AssetChecker_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AssetChecker_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example.release.xcconfig"; sourceTree = ""; }; 52 | /* End PBXFileReference section */ 53 | 54 | /* Begin PBXFrameworksBuildPhase section */ 55 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 56 | isa = PBXFrameworksBuildPhase; 57 | buildActionMask = 2147483647; 58 | files = ( 59 | BA341A14EF45F09231AACBFE /* Pods_AssetChecker_Example.framework in Frameworks */, 60 | ); 61 | runOnlyForDeploymentPostprocessing = 0; 62 | }; 63 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 64 | isa = PBXFrameworksBuildPhase; 65 | buildActionMask = 2147483647; 66 | files = ( 67 | 3333CADC9CDF4D6C0279EAF6 /* Pods_AssetChecker_Tests.framework in Frameworks */, 68 | ); 69 | runOnlyForDeploymentPostprocessing = 0; 70 | }; 71 | /* End PBXFrameworksBuildPhase section */ 72 | 73 | /* Begin PBXGroup section */ 74 | 607FACC71AFB9204008FA782 = { 75 | isa = PBXGroup; 76 | children = ( 77 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 78 | 607FACD21AFB9204008FA782 /* Example for AssetChecker */, 79 | 607FACE81AFB9204008FA782 /* Tests */, 80 | 607FACD11AFB9204008FA782 /* Products */, 81 | DFB3D00F371A2A74B0391FD5 /* Pods */, 82 | D341C51AD021821B48CE184D /* Frameworks */, 83 | ); 84 | sourceTree = ""; 85 | }; 86 | 607FACD11AFB9204008FA782 /* Products */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 607FACD01AFB9204008FA782 /* AssetChecker_Example.app */, 90 | 607FACE51AFB9204008FA782 /* AssetChecker_Tests.xctest */, 91 | ); 92 | name = Products; 93 | sourceTree = ""; 94 | }; 95 | 607FACD21AFB9204008FA782 /* Example for AssetChecker */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 99 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 100 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 101 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 102 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 103 | 607FACD31AFB9204008FA782 /* Supporting Files */, 104 | ); 105 | name = "Example for AssetChecker"; 106 | path = AssetChecker; 107 | sourceTree = ""; 108 | }; 109 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 110 | isa = PBXGroup; 111 | children = ( 112 | 607FACD41AFB9204008FA782 /* Info.plist */, 113 | ); 114 | name = "Supporting Files"; 115 | sourceTree = ""; 116 | }; 117 | 607FACE81AFB9204008FA782 /* Tests */ = { 118 | isa = PBXGroup; 119 | children = ( 120 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 121 | 607FACE91AFB9204008FA782 /* Supporting Files */, 122 | ); 123 | path = Tests; 124 | sourceTree = ""; 125 | }; 126 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 607FACEA1AFB9204008FA782 /* Info.plist */, 130 | ); 131 | name = "Supporting Files"; 132 | sourceTree = ""; 133 | }; 134 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 135 | isa = PBXGroup; 136 | children = ( 137 | 5D8C437D1FC6CB2100DDF7D0 /* run */, 138 | 63C1D8F311B1C327036F7550 /* AssetChecker.podspec */, 139 | 32DFDA86ADB86D26C9AB97B4 /* README.md */, 140 | 0AA8D9DCF32BDBF252EC31A2 /* LICENSE */, 141 | ); 142 | name = "Podspec Metadata"; 143 | sourceTree = ""; 144 | }; 145 | D341C51AD021821B48CE184D /* Frameworks */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | B2F82D1638FD77B9042FE9A6 /* Pods_AssetChecker_Example.framework */, 149 | 0BF5C510348421D31756E79F /* Pods_AssetChecker_Tests.framework */, 150 | ); 151 | name = Frameworks; 152 | sourceTree = ""; 153 | }; 154 | DFB3D00F371A2A74B0391FD5 /* Pods */ = { 155 | isa = PBXGroup; 156 | children = ( 157 | 5512D041F5A3EF8493D7505C /* Pods-AssetChecker_Example.debug.xcconfig */, 158 | C2AB56DA4BC27DE54F97B2E5 /* Pods-AssetChecker_Example.release.xcconfig */, 159 | 4E3F248C6D57FAF6F94A24BC /* Pods-AssetChecker_Tests.debug.xcconfig */, 160 | 58816321B24F6A6272E52BB1 /* Pods-AssetChecker_Tests.release.xcconfig */, 161 | ); 162 | name = Pods; 163 | sourceTree = ""; 164 | }; 165 | /* End PBXGroup section */ 166 | 167 | /* Begin PBXNativeTarget section */ 168 | 607FACCF1AFB9204008FA782 /* AssetChecker_Example */ = { 169 | isa = PBXNativeTarget; 170 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AssetChecker_Example" */; 171 | buildPhases = ( 172 | CD3F94CDB64297E52FBE5D36 /* [CP] Check Pods Manifest.lock */, 173 | AFB748771FC625AF004F6E5A /* Run AssetChecker */, 174 | 607FACCC1AFB9204008FA782 /* Sources */, 175 | 607FACCD1AFB9204008FA782 /* Frameworks */, 176 | 607FACCE1AFB9204008FA782 /* Resources */, 177 | 04D22A6080DEC28F7F5015D6 /* [CP] Embed Pods Frameworks */, 178 | 9850B01F88F98464903A2867 /* [CP] Copy Pods Resources */, 179 | ); 180 | buildRules = ( 181 | ); 182 | dependencies = ( 183 | ); 184 | name = AssetChecker_Example; 185 | productName = AssetChecker; 186 | productReference = 607FACD01AFB9204008FA782 /* AssetChecker_Example.app */; 187 | productType = "com.apple.product-type.application"; 188 | }; 189 | 607FACE41AFB9204008FA782 /* AssetChecker_Tests */ = { 190 | isa = PBXNativeTarget; 191 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AssetChecker_Tests" */; 192 | buildPhases = ( 193 | 893D6A7AA29D2C39F03DF34C /* [CP] Check Pods Manifest.lock */, 194 | 607FACE11AFB9204008FA782 /* Sources */, 195 | 607FACE21AFB9204008FA782 /* Frameworks */, 196 | 607FACE31AFB9204008FA782 /* Resources */, 197 | 05597A013C01B9A79CDC51D0 /* [CP] Embed Pods Frameworks */, 198 | 2E7F19EE9ED11F71839C6DF9 /* [CP] Copy Pods Resources */, 199 | ); 200 | buildRules = ( 201 | ); 202 | dependencies = ( 203 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 204 | ); 205 | name = AssetChecker_Tests; 206 | productName = Tests; 207 | productReference = 607FACE51AFB9204008FA782 /* AssetChecker_Tests.xctest */; 208 | productType = "com.apple.product-type.bundle.unit-test"; 209 | }; 210 | /* End PBXNativeTarget section */ 211 | 212 | /* Begin PBXProject section */ 213 | 607FACC81AFB9204008FA782 /* Project object */ = { 214 | isa = PBXProject; 215 | attributes = { 216 | LastSwiftUpdateCheck = 0830; 217 | LastUpgradeCheck = 0830; 218 | ORGANIZATIONNAME = CocoaPods; 219 | TargetAttributes = { 220 | 607FACCF1AFB9204008FA782 = { 221 | CreatedOnToolsVersion = 6.3.1; 222 | LastSwiftMigration = 0900; 223 | }; 224 | 607FACE41AFB9204008FA782 = { 225 | CreatedOnToolsVersion = 6.3.1; 226 | LastSwiftMigration = 0900; 227 | TestTargetID = 607FACCF1AFB9204008FA782; 228 | }; 229 | }; 230 | }; 231 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AssetChecker" */; 232 | compatibilityVersion = "Xcode 3.2"; 233 | developmentRegion = English; 234 | hasScannedForEncodings = 0; 235 | knownRegions = ( 236 | en, 237 | Base, 238 | ); 239 | mainGroup = 607FACC71AFB9204008FA782; 240 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 241 | projectDirPath = ""; 242 | projectRoot = ""; 243 | targets = ( 244 | 607FACCF1AFB9204008FA782 /* AssetChecker_Example */, 245 | 607FACE41AFB9204008FA782 /* AssetChecker_Tests */, 246 | ); 247 | }; 248 | /* End PBXProject section */ 249 | 250 | /* Begin PBXResourcesBuildPhase section */ 251 | 607FACCE1AFB9204008FA782 /* Resources */ = { 252 | isa = PBXResourcesBuildPhase; 253 | buildActionMask = 2147483647; 254 | files = ( 255 | 5D8C437E1FC6CB2100DDF7D0 /* run in Resources */, 256 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 257 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 258 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 259 | ); 260 | runOnlyForDeploymentPostprocessing = 0; 261 | }; 262 | 607FACE31AFB9204008FA782 /* Resources */ = { 263 | isa = PBXResourcesBuildPhase; 264 | buildActionMask = 2147483647; 265 | files = ( 266 | ); 267 | runOnlyForDeploymentPostprocessing = 0; 268 | }; 269 | /* End PBXResourcesBuildPhase section */ 270 | 271 | /* Begin PBXShellScriptBuildPhase section */ 272 | 04D22A6080DEC28F7F5015D6 /* [CP] Embed Pods Frameworks */ = { 273 | isa = PBXShellScriptBuildPhase; 274 | buildActionMask = 2147483647; 275 | files = ( 276 | ); 277 | inputPaths = ( 278 | "${SRCROOT}/Pods/Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example-frameworks.sh", 279 | "${BUILT_PRODUCTS_DIR}/AssetChecker/AssetChecker.framework", 280 | ); 281 | name = "[CP] Embed Pods Frameworks"; 282 | outputPaths = ( 283 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AssetChecker.framework", 284 | ); 285 | runOnlyForDeploymentPostprocessing = 0; 286 | shellPath = /bin/sh; 287 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example-frameworks.sh\"\n"; 288 | showEnvVarsInLog = 0; 289 | }; 290 | 05597A013C01B9A79CDC51D0 /* [CP] Embed Pods Frameworks */ = { 291 | isa = PBXShellScriptBuildPhase; 292 | buildActionMask = 2147483647; 293 | files = ( 294 | ); 295 | inputPaths = ( 296 | ); 297 | name = "[CP] Embed Pods Frameworks"; 298 | outputPaths = ( 299 | ); 300 | runOnlyForDeploymentPostprocessing = 0; 301 | shellPath = /bin/sh; 302 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests-frameworks.sh\"\n"; 303 | showEnvVarsInLog = 0; 304 | }; 305 | 2E7F19EE9ED11F71839C6DF9 /* [CP] Copy Pods Resources */ = { 306 | isa = PBXShellScriptBuildPhase; 307 | buildActionMask = 2147483647; 308 | files = ( 309 | ); 310 | inputPaths = ( 311 | ); 312 | name = "[CP] Copy Pods Resources"; 313 | outputPaths = ( 314 | ); 315 | runOnlyForDeploymentPostprocessing = 0; 316 | shellPath = /bin/sh; 317 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests-resources.sh\"\n"; 318 | showEnvVarsInLog = 0; 319 | }; 320 | 893D6A7AA29D2C39F03DF34C /* [CP] Check Pods Manifest.lock */ = { 321 | isa = PBXShellScriptBuildPhase; 322 | buildActionMask = 2147483647; 323 | files = ( 324 | ); 325 | inputPaths = ( 326 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 327 | "${PODS_ROOT}/Manifest.lock", 328 | ); 329 | name = "[CP] Check Pods Manifest.lock"; 330 | outputPaths = ( 331 | "$(DERIVED_FILE_DIR)/Pods-AssetChecker_Tests-checkManifestLockResult.txt", 332 | ); 333 | runOnlyForDeploymentPostprocessing = 0; 334 | shellPath = /bin/sh; 335 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 336 | showEnvVarsInLog = 0; 337 | }; 338 | 9850B01F88F98464903A2867 /* [CP] Copy Pods Resources */ = { 339 | isa = PBXShellScriptBuildPhase; 340 | buildActionMask = 2147483647; 341 | files = ( 342 | ); 343 | inputPaths = ( 344 | ); 345 | name = "[CP] Copy Pods Resources"; 346 | outputPaths = ( 347 | ); 348 | runOnlyForDeploymentPostprocessing = 0; 349 | shellPath = /bin/sh; 350 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example-resources.sh\"\n"; 351 | showEnvVarsInLog = 0; 352 | }; 353 | AFB748771FC625AF004F6E5A /* Run AssetChecker */ = { 354 | isa = PBXShellScriptBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | ); 358 | inputPaths = ( 359 | ); 360 | name = "Run AssetChecker"; 361 | outputPaths = ( 362 | ); 363 | runOnlyForDeploymentPostprocessing = 0; 364 | shellPath = /bin/sh; 365 | shellScript = "${PODS_ROOT}/AssetChecker/run --catalog ${SRCROOT}/Resource/Images.xcassets"; 366 | }; 367 | CD3F94CDB64297E52FBE5D36 /* [CP] Check Pods Manifest.lock */ = { 368 | isa = PBXShellScriptBuildPhase; 369 | buildActionMask = 2147483647; 370 | files = ( 371 | ); 372 | inputPaths = ( 373 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 374 | "${PODS_ROOT}/Manifest.lock", 375 | ); 376 | name = "[CP] Check Pods Manifest.lock"; 377 | outputPaths = ( 378 | "$(DERIVED_FILE_DIR)/Pods-AssetChecker_Example-checkManifestLockResult.txt", 379 | ); 380 | runOnlyForDeploymentPostprocessing = 0; 381 | shellPath = /bin/sh; 382 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 383 | showEnvVarsInLog = 0; 384 | }; 385 | /* End PBXShellScriptBuildPhase section */ 386 | 387 | /* Begin PBXSourcesBuildPhase section */ 388 | 607FACCC1AFB9204008FA782 /* Sources */ = { 389 | isa = PBXSourcesBuildPhase; 390 | buildActionMask = 2147483647; 391 | files = ( 392 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 393 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 394 | ); 395 | runOnlyForDeploymentPostprocessing = 0; 396 | }; 397 | 607FACE11AFB9204008FA782 /* Sources */ = { 398 | isa = PBXSourcesBuildPhase; 399 | buildActionMask = 2147483647; 400 | files = ( 401 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 402 | ); 403 | runOnlyForDeploymentPostprocessing = 0; 404 | }; 405 | /* End PBXSourcesBuildPhase section */ 406 | 407 | /* Begin PBXTargetDependency section */ 408 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 409 | isa = PBXTargetDependency; 410 | target = 607FACCF1AFB9204008FA782 /* AssetChecker_Example */; 411 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 412 | }; 413 | /* End PBXTargetDependency section */ 414 | 415 | /* Begin PBXVariantGroup section */ 416 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 417 | isa = PBXVariantGroup; 418 | children = ( 419 | 607FACDA1AFB9204008FA782 /* Base */, 420 | ); 421 | name = Main.storyboard; 422 | sourceTree = ""; 423 | }; 424 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 425 | isa = PBXVariantGroup; 426 | children = ( 427 | 607FACDF1AFB9204008FA782 /* Base */, 428 | ); 429 | name = LaunchScreen.xib; 430 | sourceTree = ""; 431 | }; 432 | /* End PBXVariantGroup section */ 433 | 434 | /* Begin XCBuildConfiguration section */ 435 | 607FACED1AFB9204008FA782 /* Debug */ = { 436 | isa = XCBuildConfiguration; 437 | buildSettings = { 438 | ALWAYS_SEARCH_USER_PATHS = NO; 439 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 440 | CLANG_CXX_LIBRARY = "libc++"; 441 | CLANG_ENABLE_MODULES = YES; 442 | CLANG_ENABLE_OBJC_ARC = YES; 443 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 444 | CLANG_WARN_BOOL_CONVERSION = YES; 445 | CLANG_WARN_COMMA = YES; 446 | CLANG_WARN_CONSTANT_CONVERSION = YES; 447 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 448 | CLANG_WARN_EMPTY_BODY = YES; 449 | CLANG_WARN_ENUM_CONVERSION = YES; 450 | CLANG_WARN_INFINITE_RECURSION = YES; 451 | CLANG_WARN_INT_CONVERSION = YES; 452 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 453 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 454 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 455 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 456 | CLANG_WARN_STRICT_PROTOTYPES = YES; 457 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 458 | CLANG_WARN_UNREACHABLE_CODE = YES; 459 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 460 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 461 | COPY_PHASE_STRIP = NO; 462 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 463 | ENABLE_STRICT_OBJC_MSGSEND = YES; 464 | ENABLE_TESTABILITY = YES; 465 | GCC_C_LANGUAGE_STANDARD = gnu99; 466 | GCC_DYNAMIC_NO_PIC = NO; 467 | GCC_NO_COMMON_BLOCKS = YES; 468 | GCC_OPTIMIZATION_LEVEL = 0; 469 | GCC_PREPROCESSOR_DEFINITIONS = ( 470 | "DEBUG=1", 471 | "$(inherited)", 472 | ); 473 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 474 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 475 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 476 | GCC_WARN_UNDECLARED_SELECTOR = YES; 477 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 478 | GCC_WARN_UNUSED_FUNCTION = YES; 479 | GCC_WARN_UNUSED_VARIABLE = YES; 480 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 481 | MTL_ENABLE_DEBUG_INFO = YES; 482 | ONLY_ACTIVE_ARCH = YES; 483 | SDKROOT = iphoneos; 484 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 485 | }; 486 | name = Debug; 487 | }; 488 | 607FACEE1AFB9204008FA782 /* Release */ = { 489 | isa = XCBuildConfiguration; 490 | buildSettings = { 491 | ALWAYS_SEARCH_USER_PATHS = NO; 492 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 493 | CLANG_CXX_LIBRARY = "libc++"; 494 | CLANG_ENABLE_MODULES = YES; 495 | CLANG_ENABLE_OBJC_ARC = YES; 496 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 497 | CLANG_WARN_BOOL_CONVERSION = YES; 498 | CLANG_WARN_COMMA = YES; 499 | CLANG_WARN_CONSTANT_CONVERSION = YES; 500 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 501 | CLANG_WARN_EMPTY_BODY = YES; 502 | CLANG_WARN_ENUM_CONVERSION = YES; 503 | CLANG_WARN_INFINITE_RECURSION = YES; 504 | CLANG_WARN_INT_CONVERSION = YES; 505 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 506 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 507 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 508 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 509 | CLANG_WARN_STRICT_PROTOTYPES = YES; 510 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 511 | CLANG_WARN_UNREACHABLE_CODE = YES; 512 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 513 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 514 | COPY_PHASE_STRIP = NO; 515 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 516 | ENABLE_NS_ASSERTIONS = NO; 517 | ENABLE_STRICT_OBJC_MSGSEND = YES; 518 | GCC_C_LANGUAGE_STANDARD = gnu99; 519 | GCC_NO_COMMON_BLOCKS = YES; 520 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 521 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 522 | GCC_WARN_UNDECLARED_SELECTOR = YES; 523 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 524 | GCC_WARN_UNUSED_FUNCTION = YES; 525 | GCC_WARN_UNUSED_VARIABLE = YES; 526 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 527 | MTL_ENABLE_DEBUG_INFO = NO; 528 | SDKROOT = iphoneos; 529 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 530 | VALIDATE_PRODUCT = YES; 531 | }; 532 | name = Release; 533 | }; 534 | 607FACF01AFB9204008FA782 /* Debug */ = { 535 | isa = XCBuildConfiguration; 536 | baseConfigurationReference = 5512D041F5A3EF8493D7505C /* Pods-AssetChecker_Example.debug.xcconfig */; 537 | buildSettings = { 538 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 539 | INFOPLIST_FILE = AssetChecker/Info.plist; 540 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 541 | MODULE_NAME = ExampleApp; 542 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 543 | PRODUCT_NAME = "$(TARGET_NAME)"; 544 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 545 | SWIFT_VERSION = 4.0; 546 | }; 547 | name = Debug; 548 | }; 549 | 607FACF11AFB9204008FA782 /* Release */ = { 550 | isa = XCBuildConfiguration; 551 | baseConfigurationReference = C2AB56DA4BC27DE54F97B2E5 /* Pods-AssetChecker_Example.release.xcconfig */; 552 | buildSettings = { 553 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 554 | INFOPLIST_FILE = AssetChecker/Info.plist; 555 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 556 | MODULE_NAME = ExampleApp; 557 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 558 | PRODUCT_NAME = "$(TARGET_NAME)"; 559 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 560 | SWIFT_VERSION = 4.0; 561 | }; 562 | name = Release; 563 | }; 564 | 607FACF31AFB9204008FA782 /* Debug */ = { 565 | isa = XCBuildConfiguration; 566 | baseConfigurationReference = 4E3F248C6D57FAF6F94A24BC /* Pods-AssetChecker_Tests.debug.xcconfig */; 567 | buildSettings = { 568 | FRAMEWORK_SEARCH_PATHS = ( 569 | "$(SDKROOT)/Developer/Library/Frameworks", 570 | "$(inherited)", 571 | ); 572 | GCC_PREPROCESSOR_DEFINITIONS = ( 573 | "DEBUG=1", 574 | "$(inherited)", 575 | ); 576 | INFOPLIST_FILE = Tests/Info.plist; 577 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 578 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 579 | PRODUCT_NAME = "$(TARGET_NAME)"; 580 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 581 | SWIFT_VERSION = 4.0; 582 | }; 583 | name = Debug; 584 | }; 585 | 607FACF41AFB9204008FA782 /* Release */ = { 586 | isa = XCBuildConfiguration; 587 | baseConfigurationReference = 58816321B24F6A6272E52BB1 /* Pods-AssetChecker_Tests.release.xcconfig */; 588 | buildSettings = { 589 | FRAMEWORK_SEARCH_PATHS = ( 590 | "$(SDKROOT)/Developer/Library/Frameworks", 591 | "$(inherited)", 592 | ); 593 | INFOPLIST_FILE = Tests/Info.plist; 594 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 595 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 596 | PRODUCT_NAME = "$(TARGET_NAME)"; 597 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 598 | SWIFT_VERSION = 4.0; 599 | }; 600 | name = Release; 601 | }; 602 | /* End XCBuildConfiguration section */ 603 | 604 | /* Begin XCConfigurationList section */ 605 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AssetChecker" */ = { 606 | isa = XCConfigurationList; 607 | buildConfigurations = ( 608 | 607FACED1AFB9204008FA782 /* Debug */, 609 | 607FACEE1AFB9204008FA782 /* Release */, 610 | ); 611 | defaultConfigurationIsVisible = 0; 612 | defaultConfigurationName = Release; 613 | }; 614 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AssetChecker_Example" */ = { 615 | isa = XCConfigurationList; 616 | buildConfigurations = ( 617 | 607FACF01AFB9204008FA782 /* Debug */, 618 | 607FACF11AFB9204008FA782 /* Release */, 619 | ); 620 | defaultConfigurationIsVisible = 0; 621 | defaultConfigurationName = Release; 622 | }; 623 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AssetChecker_Tests" */ = { 624 | isa = XCConfigurationList; 625 | buildConfigurations = ( 626 | 607FACF31AFB9204008FA782 /* Debug */, 627 | 607FACF41AFB9204008FA782 /* Release */, 628 | ); 629 | defaultConfigurationIsVisible = 0; 630 | defaultConfigurationName = Release; 631 | }; 632 | /* End XCConfigurationList section */ 633 | }; 634 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 635 | } 636 | -------------------------------------------------------------------------------- /Example/AssetChecker.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/AssetChecker.xcodeproj/xcshareddata/xcschemes/AssetChecker-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Example/AssetChecker.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/AssetChecker/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // AssetChecker 4 | // 5 | // Created by joeboyscout04 on 11/22/2017. 6 | // Copyright (c) 2017 joeboyscout04. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/AssetChecker/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/AssetChecker/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/AssetChecker/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } -------------------------------------------------------------------------------- /Example/AssetChecker/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 0.2.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/AssetChecker/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // AssetChecker 4 | // 5 | // Created by joeboyscout04 on 11/22/2017. 6 | // Copyright (c) 2017 joeboyscout04. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | // Do any additional setup after loading the view, typically from a nib. 16 | } 17 | 18 | override func didReceiveMemoryWarning() { 19 | super.didReceiveMemoryWarning() 20 | // Dispose of any resources that can be recreated. 21 | } 22 | 23 | } 24 | 25 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '9.0' 2 | use_frameworks! 3 | 4 | target 'AssetChecker_Example' do 5 | pod 'AssetChecker', :path => '../' 6 | 7 | target 'AssetChecker_Tests' do 8 | inherit! :search_paths 9 | 10 | 11 | end 12 | end 13 | 14 | #Post installation hook to symlink the directory into PODS_ROOT to simulate how it will work when downloaded. 15 | post_install do |installer| 16 | require 'fileutils' 17 | 18 | FileUtils.rm_rf('Pods/AssetChecker') 19 | FileUtils.mkdir('Pods/AssetChecker') 20 | FileUtils.ln_s('../../../Classes', 'Pods/AssetChecker/Classes') 21 | FileUtils.ln_s('../../../run', 'Pods/AssetChecker/run') 22 | end 23 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AssetChecker (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - AssetChecker (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AssetChecker: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | AssetChecker: a62ab6cb403cdb72b88593bc210c8d77f320a768 13 | 14 | PODFILE CHECKSUM: debfa0ba5af45b711385df9b78bd2cbbfc659a33 15 | 16 | COCOAPODS: 1.4.0.beta.2 17 | -------------------------------------------------------------------------------- /Example/Pods/AssetChecker/Classes: -------------------------------------------------------------------------------- 1 | ../../../Classes -------------------------------------------------------------------------------- /Example/Pods/AssetChecker/run: -------------------------------------------------------------------------------- 1 | ../../../run -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/AssetChecker.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AssetChecker", 3 | "version": "0.1.0", 4 | "summary": "A short description of AssetChecker.", 5 | "description": "Because Image Assets files are not safe, if an asset is ever deleted, nothing will warn you that an image is broken in your code. AssetChecker lints your asset catalog.", 6 | "homepage": "https://github.com/joeboyscout04/AssetChecker", 7 | "screenshots": "https://raw.githubusercontent.com/s4cha/AssetChecker/master/xcodeScreenshot.png", 8 | "license": { 9 | "type": "MIT", 10 | "file": "LICENSE" 11 | }, 12 | "authors": { 13 | "Sacha Durand Saint Omer": "sachadso@gmail.com" 14 | }, 15 | "source": { 16 | "git": "https://github.com/joeboyscout04/AssetChecker.git", 17 | "tag": "0.1.0" 18 | }, 19 | "platforms": { 20 | "ios": "8.0" 21 | }, 22 | "source_files": "Classes/**/*", 23 | "preserve_paths": [ 24 | "run" 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AssetChecker (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - AssetChecker (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AssetChecker: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | AssetChecker: a62ab6cb403cdb72b88593bc210c8d77f320a768 13 | 14 | PODFILE CHECKSUM: debfa0ba5af45b711385df9b78bd2cbbfc659a33 15 | 16 | COCOAPODS: 1.4.0.beta.2 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0E71B711980081F24CCD45057008F07F /* AssetChecker-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 856D146CD3C7C53D4D818E2C415DD920 /* AssetChecker-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 1F43870BC53FB7B5B3793A675FD49793 /* Pods-AssetChecker_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 8C81DDBC7F9F6476649BFC0D58943091 /* Pods-AssetChecker_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 37AC57BADE3DA85247A0F3BC4E58E705 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 13 | 3EEF286A0FA17485754AD2852148C456 /* Pods-AssetChecker_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 79B375D321686B036A665D1C1C6738E2 /* Pods-AssetChecker_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | 6B723C8E7D4612FAD021313290AE58BC /* Pods-AssetChecker_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BA3656FBF5055BAA9D256AAFA639CD95 /* Pods-AssetChecker_Example-dummy.m */; }; 15 | 8270EE3751B998756A901BE7079BEA64 /* Pods-AssetChecker_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2136E6DE7D81A217F2C37BD639CC3DF6 /* Pods-AssetChecker_Tests-dummy.m */; }; 16 | 9D19EBF10BD4B86BC09DC487A754FF8B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 17 | A7CBC6F613367C9B9397456B3067B0AD /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 18 | A8765EC676C6735598DF7C687C1907FD /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = 339925EE3A1F08EDC8E7FFA1E2B58111 /* main.swift */; }; 19 | ED15170FFB8737FE3B5173781B98F8AE /* AssetChecker-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A0912C29053CF85A6C57E4AA0A4335E6 /* AssetChecker-dummy.m */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | F9B39C285AD5388BE1D1B26409B1DA2B /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = B0D73AF33ADC2D2A2C2F1B55CDE18627; 28 | remoteInfo = AssetChecker; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 0DDFBC8B9D72074D7A333072597C9400 /* Pods_AssetChecker_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_AssetChecker_Example.framework; path = "Pods-AssetChecker_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 211B116BFECBF1A830F18B60EE296498 /* Pods-AssetChecker_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AssetChecker_Tests.debug.xcconfig"; sourceTree = ""; }; 35 | 2136E6DE7D81A217F2C37BD639CC3DF6 /* Pods-AssetChecker_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AssetChecker_Tests-dummy.m"; sourceTree = ""; }; 36 | 2425FAE475014E7D244E860CE25C863B /* Pods-AssetChecker_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AssetChecker_Example-resources.sh"; sourceTree = ""; }; 37 | 2A7F13328DA54F130C503B0E041BB451 /* Pods-AssetChecker_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AssetChecker_Tests-acknowledgements.plist"; sourceTree = ""; }; 38 | 339925EE3A1F08EDC8E7FFA1E2B58111 /* main.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = main.swift; path = Classes/main.swift; sourceTree = ""; }; 39 | 339B59277F087DA022F832EF3C4C02E4 /* AssetChecker-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AssetChecker-prefix.pch"; sourceTree = ""; }; 40 | 3BE2179D315C65DF97EA4D15BCCC4051 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 41 | 4DE9AE7ADC20703512B1BA2A8807ECD3 /* Pods-AssetChecker_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AssetChecker_Tests-resources.sh"; sourceTree = ""; }; 42 | 52DB8FDE04AD40F78ACC0FE7F13F1C33 /* Pods-AssetChecker_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-AssetChecker_Tests.modulemap"; sourceTree = ""; }; 43 | 59EAF77C378948BD3CE00C470C54355E /* AssetChecker.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = AssetChecker.framework; path = AssetChecker.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 5B4EA281B1B41E0D000C083FBC6FE041 /* AssetChecker.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AssetChecker.xcconfig; sourceTree = ""; }; 45 | 628F813F390DCE25CE13E0D52D2E0F7D /* Pods-AssetChecker_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AssetChecker_Tests-frameworks.sh"; sourceTree = ""; }; 46 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 47 | 6A411EF7262A5B133EC63B499D5161E5 /* AssetChecker.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = AssetChecker.modulemap; sourceTree = ""; }; 48 | 71CDF650D83AE5B093B1DD58AEFCD9C1 /* Pods-AssetChecker_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AssetChecker_Example-acknowledgements.markdown"; sourceTree = ""; }; 49 | 79B375D321686B036A665D1C1C6738E2 /* Pods-AssetChecker_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AssetChecker_Tests-umbrella.h"; sourceTree = ""; }; 50 | 856D146CD3C7C53D4D818E2C415DD920 /* AssetChecker-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AssetChecker-umbrella.h"; sourceTree = ""; }; 51 | 884C0842DC9B0FA065D6CE5E96E5C561 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 52 | 8C81DDBC7F9F6476649BFC0D58943091 /* Pods-AssetChecker_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AssetChecker_Example-umbrella.h"; sourceTree = ""; }; 53 | 91906A9DAE79A7D6353C65CF13504AEF /* Pods-AssetChecker_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AssetChecker_Tests-acknowledgements.markdown"; sourceTree = ""; }; 54 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 55 | A0912C29053CF85A6C57E4AA0A4335E6 /* AssetChecker-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AssetChecker-dummy.m"; sourceTree = ""; }; 56 | AB0A1ACA753FBE5A09D0AEB8E50BD414 /* Pods-AssetChecker_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-AssetChecker_Example.modulemap"; sourceTree = ""; }; 57 | B05EED52C7D308120A29FDD203E1538D /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 58 | BA3656FBF5055BAA9D256AAFA639CD95 /* Pods-AssetChecker_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AssetChecker_Example-dummy.m"; sourceTree = ""; }; 59 | BBC9A7C21E9A398B78891C6D528B4E71 /* Pods-AssetChecker_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AssetChecker_Example.debug.xcconfig"; sourceTree = ""; }; 60 | E519AC48259DB4597E7AC66497845592 /* Pods-AssetChecker_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AssetChecker_Example.release.xcconfig"; sourceTree = ""; }; 61 | F1B222CA123D12572DC251AF82BA8B94 /* Pods-AssetChecker_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AssetChecker_Tests.release.xcconfig"; sourceTree = ""; }; 62 | F226C81126F6AA143C70E33B6E1D34AB /* Pods-AssetChecker_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AssetChecker_Example-acknowledgements.plist"; sourceTree = ""; }; 63 | FA15E978D5972189013E1854806D2AE3 /* Pods_AssetChecker_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_AssetChecker_Tests.framework; path = "Pods-AssetChecker_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 64 | FE1BCB32B210CB87B4FA5CC0476AAC55 /* Pods-AssetChecker_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AssetChecker_Example-frameworks.sh"; sourceTree = ""; }; 65 | /* End PBXFileReference section */ 66 | 67 | /* Begin PBXFrameworksBuildPhase section */ 68 | 4EBF39F74878E8E38C26DA04DA4C9063 /* Frameworks */ = { 69 | isa = PBXFrameworksBuildPhase; 70 | buildActionMask = 2147483647; 71 | files = ( 72 | 9D19EBF10BD4B86BC09DC487A754FF8B /* Foundation.framework in Frameworks */, 73 | ); 74 | runOnlyForDeploymentPostprocessing = 0; 75 | }; 76 | 517967EB1359BF6CC936B1A1AED7EC76 /* Frameworks */ = { 77 | isa = PBXFrameworksBuildPhase; 78 | buildActionMask = 2147483647; 79 | files = ( 80 | A7CBC6F613367C9B9397456B3067B0AD /* Foundation.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | F29490C3EF58E35099E6E5563D4D9DE5 /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | 37AC57BADE3DA85247A0F3BC4E58E705 /* Foundation.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | /* End PBXFrameworksBuildPhase section */ 93 | 94 | /* Begin PBXGroup section */ 95 | 11907B45E3770165EFB58B59BA90AA2F /* Targets Support Files */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 965465F1D09A6D4EBA53114AA518250A /* Pods-AssetChecker_Example */, 99 | AFB8D3CAF9A150B7A7630908A97758E6 /* Pods-AssetChecker_Tests */, 100 | ); 101 | name = "Targets Support Files"; 102 | sourceTree = ""; 103 | }; 104 | 1ECCAAE572CBAE623D639C37F8C7E83D /* Development Pods */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 75F3DC4085DA8D091C147C253980206D /* AssetChecker */, 108 | ); 109 | name = "Development Pods"; 110 | sourceTree = ""; 111 | }; 112 | 75F3DC4085DA8D091C147C253980206D /* AssetChecker */ = { 113 | isa = PBXGroup; 114 | children = ( 115 | 339925EE3A1F08EDC8E7FFA1E2B58111 /* main.swift */, 116 | EF36A22FD7226FCB1AD6C1683F098E73 /* Support Files */, 117 | ); 118 | name = AssetChecker; 119 | path = ../..; 120 | sourceTree = ""; 121 | }; 122 | 7DB346D0F39D3F0E887471402A8071AB = { 123 | isa = PBXGroup; 124 | children = ( 125 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 126 | 1ECCAAE572CBAE623D639C37F8C7E83D /* Development Pods */, 127 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 128 | 9ED9E45AF6BC89934C3C92EBE702FC69 /* Products */, 129 | 11907B45E3770165EFB58B59BA90AA2F /* Targets Support Files */, 130 | ); 131 | sourceTree = ""; 132 | }; 133 | 965465F1D09A6D4EBA53114AA518250A /* Pods-AssetChecker_Example */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 3BE2179D315C65DF97EA4D15BCCC4051 /* Info.plist */, 137 | AB0A1ACA753FBE5A09D0AEB8E50BD414 /* Pods-AssetChecker_Example.modulemap */, 138 | 71CDF650D83AE5B093B1DD58AEFCD9C1 /* Pods-AssetChecker_Example-acknowledgements.markdown */, 139 | F226C81126F6AA143C70E33B6E1D34AB /* Pods-AssetChecker_Example-acknowledgements.plist */, 140 | BA3656FBF5055BAA9D256AAFA639CD95 /* Pods-AssetChecker_Example-dummy.m */, 141 | FE1BCB32B210CB87B4FA5CC0476AAC55 /* Pods-AssetChecker_Example-frameworks.sh */, 142 | 2425FAE475014E7D244E860CE25C863B /* Pods-AssetChecker_Example-resources.sh */, 143 | 8C81DDBC7F9F6476649BFC0D58943091 /* Pods-AssetChecker_Example-umbrella.h */, 144 | BBC9A7C21E9A398B78891C6D528B4E71 /* Pods-AssetChecker_Example.debug.xcconfig */, 145 | E519AC48259DB4597E7AC66497845592 /* Pods-AssetChecker_Example.release.xcconfig */, 146 | ); 147 | name = "Pods-AssetChecker_Example"; 148 | path = "Target Support Files/Pods-AssetChecker_Example"; 149 | sourceTree = ""; 150 | }; 151 | 9ED9E45AF6BC89934C3C92EBE702FC69 /* Products */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 59EAF77C378948BD3CE00C470C54355E /* AssetChecker.framework */, 155 | 0DDFBC8B9D72074D7A333072597C9400 /* Pods_AssetChecker_Example.framework */, 156 | FA15E978D5972189013E1854806D2AE3 /* Pods_AssetChecker_Tests.framework */, 157 | ); 158 | name = Products; 159 | sourceTree = ""; 160 | }; 161 | AFB8D3CAF9A150B7A7630908A97758E6 /* Pods-AssetChecker_Tests */ = { 162 | isa = PBXGroup; 163 | children = ( 164 | B05EED52C7D308120A29FDD203E1538D /* Info.plist */, 165 | 52DB8FDE04AD40F78ACC0FE7F13F1C33 /* Pods-AssetChecker_Tests.modulemap */, 166 | 91906A9DAE79A7D6353C65CF13504AEF /* Pods-AssetChecker_Tests-acknowledgements.markdown */, 167 | 2A7F13328DA54F130C503B0E041BB451 /* Pods-AssetChecker_Tests-acknowledgements.plist */, 168 | 2136E6DE7D81A217F2C37BD639CC3DF6 /* Pods-AssetChecker_Tests-dummy.m */, 169 | 628F813F390DCE25CE13E0D52D2E0F7D /* Pods-AssetChecker_Tests-frameworks.sh */, 170 | 4DE9AE7ADC20703512B1BA2A8807ECD3 /* Pods-AssetChecker_Tests-resources.sh */, 171 | 79B375D321686B036A665D1C1C6738E2 /* Pods-AssetChecker_Tests-umbrella.h */, 172 | 211B116BFECBF1A830F18B60EE296498 /* Pods-AssetChecker_Tests.debug.xcconfig */, 173 | F1B222CA123D12572DC251AF82BA8B94 /* Pods-AssetChecker_Tests.release.xcconfig */, 174 | ); 175 | name = "Pods-AssetChecker_Tests"; 176 | path = "Target Support Files/Pods-AssetChecker_Tests"; 177 | sourceTree = ""; 178 | }; 179 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 183 | ); 184 | name = Frameworks; 185 | sourceTree = ""; 186 | }; 187 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 188 | isa = PBXGroup; 189 | children = ( 190 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 191 | ); 192 | name = iOS; 193 | sourceTree = ""; 194 | }; 195 | EF36A22FD7226FCB1AD6C1683F098E73 /* Support Files */ = { 196 | isa = PBXGroup; 197 | children = ( 198 | 6A411EF7262A5B133EC63B499D5161E5 /* AssetChecker.modulemap */, 199 | 5B4EA281B1B41E0D000C083FBC6FE041 /* AssetChecker.xcconfig */, 200 | A0912C29053CF85A6C57E4AA0A4335E6 /* AssetChecker-dummy.m */, 201 | 339B59277F087DA022F832EF3C4C02E4 /* AssetChecker-prefix.pch */, 202 | 856D146CD3C7C53D4D818E2C415DD920 /* AssetChecker-umbrella.h */, 203 | 884C0842DC9B0FA065D6CE5E96E5C561 /* Info.plist */, 204 | ); 205 | name = "Support Files"; 206 | path = "Example/Pods/Target Support Files/AssetChecker"; 207 | sourceTree = ""; 208 | }; 209 | /* End PBXGroup section */ 210 | 211 | /* Begin PBXHeadersBuildPhase section */ 212 | 2E34F42971DDA1079288EA88D0D98566 /* Headers */ = { 213 | isa = PBXHeadersBuildPhase; 214 | buildActionMask = 2147483647; 215 | files = ( 216 | 3EEF286A0FA17485754AD2852148C456 /* Pods-AssetChecker_Tests-umbrella.h in Headers */, 217 | ); 218 | runOnlyForDeploymentPostprocessing = 0; 219 | }; 220 | 3603C586D5D4B3CB8143E779312194D2 /* Headers */ = { 221 | isa = PBXHeadersBuildPhase; 222 | buildActionMask = 2147483647; 223 | files = ( 224 | 1F43870BC53FB7B5B3793A675FD49793 /* Pods-AssetChecker_Example-umbrella.h in Headers */, 225 | ); 226 | runOnlyForDeploymentPostprocessing = 0; 227 | }; 228 | 625CAAB69FABDF77FC08AFF9A5EC327B /* Headers */ = { 229 | isa = PBXHeadersBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | 0E71B711980081F24CCD45057008F07F /* AssetChecker-umbrella.h in Headers */, 233 | ); 234 | runOnlyForDeploymentPostprocessing = 0; 235 | }; 236 | /* End PBXHeadersBuildPhase section */ 237 | 238 | /* Begin PBXNativeTarget section */ 239 | 545A3E6C07A228F74E1DBDE567EDFBEE /* Pods-AssetChecker_Example */ = { 240 | isa = PBXNativeTarget; 241 | buildConfigurationList = 8AECF85049BF93F537B600BED3D410E1 /* Build configuration list for PBXNativeTarget "Pods-AssetChecker_Example" */; 242 | buildPhases = ( 243 | 481899C1EA7F7817C98CD2468F16C8AB /* Sources */, 244 | 517967EB1359BF6CC936B1A1AED7EC76 /* Frameworks */, 245 | 3603C586D5D4B3CB8143E779312194D2 /* Headers */, 246 | ); 247 | buildRules = ( 248 | ); 249 | dependencies = ( 250 | 88C5B09E87984C2BFBEDEA4B0D44E434 /* PBXTargetDependency */, 251 | ); 252 | name = "Pods-AssetChecker_Example"; 253 | productName = "Pods-AssetChecker_Example"; 254 | productReference = 0DDFBC8B9D72074D7A333072597C9400 /* Pods_AssetChecker_Example.framework */; 255 | productType = "com.apple.product-type.framework"; 256 | }; 257 | 7F81DC1A9F8537711B3E9B27990AC093 /* Pods-AssetChecker_Tests */ = { 258 | isa = PBXNativeTarget; 259 | buildConfigurationList = 5EC3F763F2E1820E14FB6AAB8F0517EA /* Build configuration list for PBXNativeTarget "Pods-AssetChecker_Tests" */; 260 | buildPhases = ( 261 | 4306695321B13140961990C529B6977A /* Sources */, 262 | F29490C3EF58E35099E6E5563D4D9DE5 /* Frameworks */, 263 | 2E34F42971DDA1079288EA88D0D98566 /* Headers */, 264 | ); 265 | buildRules = ( 266 | ); 267 | dependencies = ( 268 | ); 269 | name = "Pods-AssetChecker_Tests"; 270 | productName = "Pods-AssetChecker_Tests"; 271 | productReference = FA15E978D5972189013E1854806D2AE3 /* Pods_AssetChecker_Tests.framework */; 272 | productType = "com.apple.product-type.framework"; 273 | }; 274 | B0D73AF33ADC2D2A2C2F1B55CDE18627 /* AssetChecker */ = { 275 | isa = PBXNativeTarget; 276 | buildConfigurationList = 80822F0A733DF3AA278757EF0BB79BB3 /* Build configuration list for PBXNativeTarget "AssetChecker" */; 277 | buildPhases = ( 278 | 0B449E0594458481D805B10D17451EC8 /* Sources */, 279 | 4EBF39F74878E8E38C26DA04DA4C9063 /* Frameworks */, 280 | 625CAAB69FABDF77FC08AFF9A5EC327B /* Headers */, 281 | ); 282 | buildRules = ( 283 | ); 284 | dependencies = ( 285 | ); 286 | name = AssetChecker; 287 | productName = AssetChecker; 288 | productReference = 59EAF77C378948BD3CE00C470C54355E /* AssetChecker.framework */; 289 | productType = "com.apple.product-type.framework"; 290 | }; 291 | /* End PBXNativeTarget section */ 292 | 293 | /* Begin PBXProject section */ 294 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 295 | isa = PBXProject; 296 | attributes = { 297 | LastSwiftUpdateCheck = 0830; 298 | LastUpgradeCheck = 0700; 299 | }; 300 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 301 | compatibilityVersion = "Xcode 3.2"; 302 | developmentRegion = English; 303 | hasScannedForEncodings = 0; 304 | knownRegions = ( 305 | en, 306 | ); 307 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 308 | productRefGroup = 9ED9E45AF6BC89934C3C92EBE702FC69 /* Products */; 309 | projectDirPath = ""; 310 | projectRoot = ""; 311 | targets = ( 312 | B0D73AF33ADC2D2A2C2F1B55CDE18627 /* AssetChecker */, 313 | 545A3E6C07A228F74E1DBDE567EDFBEE /* Pods-AssetChecker_Example */, 314 | 7F81DC1A9F8537711B3E9B27990AC093 /* Pods-AssetChecker_Tests */, 315 | ); 316 | }; 317 | /* End PBXProject section */ 318 | 319 | /* Begin PBXSourcesBuildPhase section */ 320 | 0B449E0594458481D805B10D17451EC8 /* Sources */ = { 321 | isa = PBXSourcesBuildPhase; 322 | buildActionMask = 2147483647; 323 | files = ( 324 | ED15170FFB8737FE3B5173781B98F8AE /* AssetChecker-dummy.m in Sources */, 325 | A8765EC676C6735598DF7C687C1907FD /* main.swift in Sources */, 326 | ); 327 | runOnlyForDeploymentPostprocessing = 0; 328 | }; 329 | 4306695321B13140961990C529B6977A /* Sources */ = { 330 | isa = PBXSourcesBuildPhase; 331 | buildActionMask = 2147483647; 332 | files = ( 333 | 8270EE3751B998756A901BE7079BEA64 /* Pods-AssetChecker_Tests-dummy.m in Sources */, 334 | ); 335 | runOnlyForDeploymentPostprocessing = 0; 336 | }; 337 | 481899C1EA7F7817C98CD2468F16C8AB /* Sources */ = { 338 | isa = PBXSourcesBuildPhase; 339 | buildActionMask = 2147483647; 340 | files = ( 341 | 6B723C8E7D4612FAD021313290AE58BC /* Pods-AssetChecker_Example-dummy.m in Sources */, 342 | ); 343 | runOnlyForDeploymentPostprocessing = 0; 344 | }; 345 | /* End PBXSourcesBuildPhase section */ 346 | 347 | /* Begin PBXTargetDependency section */ 348 | 88C5B09E87984C2BFBEDEA4B0D44E434 /* PBXTargetDependency */ = { 349 | isa = PBXTargetDependency; 350 | name = AssetChecker; 351 | target = B0D73AF33ADC2D2A2C2F1B55CDE18627 /* AssetChecker */; 352 | targetProxy = F9B39C285AD5388BE1D1B26409B1DA2B /* PBXContainerItemProxy */; 353 | }; 354 | /* End PBXTargetDependency section */ 355 | 356 | /* Begin XCBuildConfiguration section */ 357 | 1F4828BD9E0CCE7B2A9511A3A5775462 /* Release */ = { 358 | isa = XCBuildConfiguration; 359 | baseConfigurationReference = F1B222CA123D12572DC251AF82BA8B94 /* Pods-AssetChecker_Tests.release.xcconfig */; 360 | buildSettings = { 361 | CODE_SIGN_IDENTITY = ""; 362 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 363 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 364 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 365 | CURRENT_PROJECT_VERSION = 1; 366 | DEFINES_MODULE = YES; 367 | DYLIB_COMPATIBILITY_VERSION = 1; 368 | DYLIB_CURRENT_VERSION = 1; 369 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 370 | INFOPLIST_FILE = "Target Support Files/Pods-AssetChecker_Tests/Info.plist"; 371 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 372 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 373 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 374 | MACH_O_TYPE = staticlib; 375 | MODULEMAP_FILE = "Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests.modulemap"; 376 | OTHER_LDFLAGS = ""; 377 | OTHER_LIBTOOLFLAGS = ""; 378 | PODS_ROOT = "$(SRCROOT)"; 379 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 380 | PRODUCT_NAME = Pods_AssetChecker_Tests; 381 | SDKROOT = iphoneos; 382 | SKIP_INSTALL = YES; 383 | TARGETED_DEVICE_FAMILY = "1,2"; 384 | VALIDATE_PRODUCT = YES; 385 | VERSIONING_SYSTEM = "apple-generic"; 386 | VERSION_INFO_PREFIX = ""; 387 | }; 388 | name = Release; 389 | }; 390 | 344A9DC367D94A0F57E7828231D6EDBD /* Debug */ = { 391 | isa = XCBuildConfiguration; 392 | baseConfigurationReference = 5B4EA281B1B41E0D000C083FBC6FE041 /* AssetChecker.xcconfig */; 393 | buildSettings = { 394 | CODE_SIGN_IDENTITY = ""; 395 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 396 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 397 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 398 | CURRENT_PROJECT_VERSION = 1; 399 | DEFINES_MODULE = YES; 400 | DYLIB_COMPATIBILITY_VERSION = 1; 401 | DYLIB_CURRENT_VERSION = 1; 402 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 403 | GCC_PREFIX_HEADER = "Target Support Files/AssetChecker/AssetChecker-prefix.pch"; 404 | INFOPLIST_FILE = "Target Support Files/AssetChecker/Info.plist"; 405 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 406 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 407 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 408 | MODULEMAP_FILE = "Target Support Files/AssetChecker/AssetChecker.modulemap"; 409 | PRODUCT_NAME = AssetChecker; 410 | SDKROOT = iphoneos; 411 | SKIP_INSTALL = YES; 412 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 413 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 414 | SWIFT_VERSION = 4.0; 415 | TARGETED_DEVICE_FAMILY = "1,2"; 416 | VERSIONING_SYSTEM = "apple-generic"; 417 | VERSION_INFO_PREFIX = ""; 418 | }; 419 | name = Debug; 420 | }; 421 | 4EC10EFF42C1AA5C2FAC67600BBA8542 /* Release */ = { 422 | isa = XCBuildConfiguration; 423 | baseConfigurationReference = 5B4EA281B1B41E0D000C083FBC6FE041 /* AssetChecker.xcconfig */; 424 | buildSettings = { 425 | CODE_SIGN_IDENTITY = ""; 426 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 427 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 428 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 429 | CURRENT_PROJECT_VERSION = 1; 430 | DEFINES_MODULE = YES; 431 | DYLIB_COMPATIBILITY_VERSION = 1; 432 | DYLIB_CURRENT_VERSION = 1; 433 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 434 | GCC_PREFIX_HEADER = "Target Support Files/AssetChecker/AssetChecker-prefix.pch"; 435 | INFOPLIST_FILE = "Target Support Files/AssetChecker/Info.plist"; 436 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 437 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 438 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 439 | MODULEMAP_FILE = "Target Support Files/AssetChecker/AssetChecker.modulemap"; 440 | PRODUCT_NAME = AssetChecker; 441 | SDKROOT = iphoneos; 442 | SKIP_INSTALL = YES; 443 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 444 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 445 | SWIFT_VERSION = 4.0; 446 | TARGETED_DEVICE_FAMILY = "1,2"; 447 | VALIDATE_PRODUCT = YES; 448 | VERSIONING_SYSTEM = "apple-generic"; 449 | VERSION_INFO_PREFIX = ""; 450 | }; 451 | name = Release; 452 | }; 453 | 6B67E1473BDB5DCF0E4490B86A8CF40D /* Debug */ = { 454 | isa = XCBuildConfiguration; 455 | baseConfigurationReference = BBC9A7C21E9A398B78891C6D528B4E71 /* Pods-AssetChecker_Example.debug.xcconfig */; 456 | buildSettings = { 457 | CODE_SIGN_IDENTITY = ""; 458 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 459 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 460 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 461 | CURRENT_PROJECT_VERSION = 1; 462 | DEFINES_MODULE = YES; 463 | DYLIB_COMPATIBILITY_VERSION = 1; 464 | DYLIB_CURRENT_VERSION = 1; 465 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 466 | INFOPLIST_FILE = "Target Support Files/Pods-AssetChecker_Example/Info.plist"; 467 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 468 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 469 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 470 | MACH_O_TYPE = staticlib; 471 | MODULEMAP_FILE = "Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example.modulemap"; 472 | OTHER_LDFLAGS = ""; 473 | OTHER_LIBTOOLFLAGS = ""; 474 | PODS_ROOT = "$(SRCROOT)"; 475 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 476 | PRODUCT_NAME = Pods_AssetChecker_Example; 477 | SDKROOT = iphoneos; 478 | SKIP_INSTALL = YES; 479 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 480 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 481 | TARGETED_DEVICE_FAMILY = "1,2"; 482 | VERSIONING_SYSTEM = "apple-generic"; 483 | VERSION_INFO_PREFIX = ""; 484 | }; 485 | name = Debug; 486 | }; 487 | 6F9224530522DD3C735EC96CF142642E /* Release */ = { 488 | isa = XCBuildConfiguration; 489 | buildSettings = { 490 | ALWAYS_SEARCH_USER_PATHS = NO; 491 | CLANG_ANALYZER_NONNULL = YES; 492 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 493 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 494 | CLANG_CXX_LIBRARY = "libc++"; 495 | CLANG_ENABLE_MODULES = YES; 496 | CLANG_ENABLE_OBJC_ARC = YES; 497 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 498 | CLANG_WARN_BOOL_CONVERSION = YES; 499 | CLANG_WARN_COMMA = YES; 500 | CLANG_WARN_CONSTANT_CONVERSION = YES; 501 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 502 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 503 | CLANG_WARN_EMPTY_BODY = YES; 504 | CLANG_WARN_ENUM_CONVERSION = YES; 505 | CLANG_WARN_INFINITE_RECURSION = YES; 506 | CLANG_WARN_INT_CONVERSION = YES; 507 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 508 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 509 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 510 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 511 | CLANG_WARN_STRICT_PROTOTYPES = YES; 512 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 513 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 514 | CLANG_WARN_UNREACHABLE_CODE = YES; 515 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 516 | CODE_SIGNING_REQUIRED = NO; 517 | COPY_PHASE_STRIP = NO; 518 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 519 | ENABLE_NS_ASSERTIONS = NO; 520 | ENABLE_STRICT_OBJC_MSGSEND = YES; 521 | GCC_C_LANGUAGE_STANDARD = gnu11; 522 | GCC_NO_COMMON_BLOCKS = YES; 523 | GCC_PREPROCESSOR_DEFINITIONS = ( 524 | "POD_CONFIGURATION_RELEASE=1", 525 | "$(inherited)", 526 | ); 527 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 528 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 529 | GCC_WARN_UNDECLARED_SELECTOR = YES; 530 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 531 | GCC_WARN_UNUSED_FUNCTION = YES; 532 | GCC_WARN_UNUSED_VARIABLE = YES; 533 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 534 | MTL_ENABLE_DEBUG_INFO = NO; 535 | PRODUCT_NAME = "$(TARGET_NAME)"; 536 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 537 | STRIP_INSTALLED_PRODUCT = NO; 538 | SYMROOT = "${SRCROOT}/../build"; 539 | }; 540 | name = Release; 541 | }; 542 | B57951D085A1B98A97F8A1062A5E5C5B /* Debug */ = { 543 | isa = XCBuildConfiguration; 544 | buildSettings = { 545 | ALWAYS_SEARCH_USER_PATHS = NO; 546 | CLANG_ANALYZER_NONNULL = YES; 547 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 548 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 549 | CLANG_CXX_LIBRARY = "libc++"; 550 | CLANG_ENABLE_MODULES = YES; 551 | CLANG_ENABLE_OBJC_ARC = YES; 552 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 553 | CLANG_WARN_BOOL_CONVERSION = YES; 554 | CLANG_WARN_COMMA = YES; 555 | CLANG_WARN_CONSTANT_CONVERSION = YES; 556 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 557 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 558 | CLANG_WARN_EMPTY_BODY = YES; 559 | CLANG_WARN_ENUM_CONVERSION = YES; 560 | CLANG_WARN_INFINITE_RECURSION = YES; 561 | CLANG_WARN_INT_CONVERSION = YES; 562 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 563 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 564 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 565 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 566 | CLANG_WARN_STRICT_PROTOTYPES = YES; 567 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 568 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 569 | CLANG_WARN_UNREACHABLE_CODE = YES; 570 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 571 | CODE_SIGNING_REQUIRED = NO; 572 | COPY_PHASE_STRIP = NO; 573 | DEBUG_INFORMATION_FORMAT = dwarf; 574 | ENABLE_STRICT_OBJC_MSGSEND = YES; 575 | ENABLE_TESTABILITY = YES; 576 | GCC_C_LANGUAGE_STANDARD = gnu11; 577 | GCC_DYNAMIC_NO_PIC = NO; 578 | GCC_NO_COMMON_BLOCKS = YES; 579 | GCC_OPTIMIZATION_LEVEL = 0; 580 | GCC_PREPROCESSOR_DEFINITIONS = ( 581 | "POD_CONFIGURATION_DEBUG=1", 582 | "DEBUG=1", 583 | "$(inherited)", 584 | ); 585 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 586 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 587 | GCC_WARN_UNDECLARED_SELECTOR = YES; 588 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 589 | GCC_WARN_UNUSED_FUNCTION = YES; 590 | GCC_WARN_UNUSED_VARIABLE = YES; 591 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 592 | MTL_ENABLE_DEBUG_INFO = YES; 593 | ONLY_ACTIVE_ARCH = YES; 594 | PRODUCT_NAME = "$(TARGET_NAME)"; 595 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 596 | STRIP_INSTALLED_PRODUCT = NO; 597 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 598 | SYMROOT = "${SRCROOT}/../build"; 599 | }; 600 | name = Debug; 601 | }; 602 | E3753485C3B1F48E8DFDD7C9CA2940E4 /* Release */ = { 603 | isa = XCBuildConfiguration; 604 | baseConfigurationReference = E519AC48259DB4597E7AC66497845592 /* Pods-AssetChecker_Example.release.xcconfig */; 605 | buildSettings = { 606 | CODE_SIGN_IDENTITY = ""; 607 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 608 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 609 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 610 | CURRENT_PROJECT_VERSION = 1; 611 | DEFINES_MODULE = YES; 612 | DYLIB_COMPATIBILITY_VERSION = 1; 613 | DYLIB_CURRENT_VERSION = 1; 614 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 615 | INFOPLIST_FILE = "Target Support Files/Pods-AssetChecker_Example/Info.plist"; 616 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 617 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 618 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 619 | MACH_O_TYPE = staticlib; 620 | MODULEMAP_FILE = "Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example.modulemap"; 621 | OTHER_LDFLAGS = ""; 622 | OTHER_LIBTOOLFLAGS = ""; 623 | PODS_ROOT = "$(SRCROOT)"; 624 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 625 | PRODUCT_NAME = Pods_AssetChecker_Example; 626 | SDKROOT = iphoneos; 627 | SKIP_INSTALL = YES; 628 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 629 | TARGETED_DEVICE_FAMILY = "1,2"; 630 | VALIDATE_PRODUCT = YES; 631 | VERSIONING_SYSTEM = "apple-generic"; 632 | VERSION_INFO_PREFIX = ""; 633 | }; 634 | name = Release; 635 | }; 636 | F8FF9A5757DBBA3B98E390ABC92736C1 /* Debug */ = { 637 | isa = XCBuildConfiguration; 638 | baseConfigurationReference = 211B116BFECBF1A830F18B60EE296498 /* Pods-AssetChecker_Tests.debug.xcconfig */; 639 | buildSettings = { 640 | CODE_SIGN_IDENTITY = ""; 641 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 642 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 643 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 644 | CURRENT_PROJECT_VERSION = 1; 645 | DEFINES_MODULE = YES; 646 | DYLIB_COMPATIBILITY_VERSION = 1; 647 | DYLIB_CURRENT_VERSION = 1; 648 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 649 | INFOPLIST_FILE = "Target Support Files/Pods-AssetChecker_Tests/Info.plist"; 650 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 651 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 652 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 653 | MACH_O_TYPE = staticlib; 654 | MODULEMAP_FILE = "Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests.modulemap"; 655 | OTHER_LDFLAGS = ""; 656 | OTHER_LIBTOOLFLAGS = ""; 657 | PODS_ROOT = "$(SRCROOT)"; 658 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 659 | PRODUCT_NAME = Pods_AssetChecker_Tests; 660 | SDKROOT = iphoneos; 661 | SKIP_INSTALL = YES; 662 | TARGETED_DEVICE_FAMILY = "1,2"; 663 | VERSIONING_SYSTEM = "apple-generic"; 664 | VERSION_INFO_PREFIX = ""; 665 | }; 666 | name = Debug; 667 | }; 668 | /* End XCBuildConfiguration section */ 669 | 670 | /* Begin XCConfigurationList section */ 671 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 672 | isa = XCConfigurationList; 673 | buildConfigurations = ( 674 | B57951D085A1B98A97F8A1062A5E5C5B /* Debug */, 675 | 6F9224530522DD3C735EC96CF142642E /* Release */, 676 | ); 677 | defaultConfigurationIsVisible = 0; 678 | defaultConfigurationName = Release; 679 | }; 680 | 5EC3F763F2E1820E14FB6AAB8F0517EA /* Build configuration list for PBXNativeTarget "Pods-AssetChecker_Tests" */ = { 681 | isa = XCConfigurationList; 682 | buildConfigurations = ( 683 | F8FF9A5757DBBA3B98E390ABC92736C1 /* Debug */, 684 | 1F4828BD9E0CCE7B2A9511A3A5775462 /* Release */, 685 | ); 686 | defaultConfigurationIsVisible = 0; 687 | defaultConfigurationName = Release; 688 | }; 689 | 80822F0A733DF3AA278757EF0BB79BB3 /* Build configuration list for PBXNativeTarget "AssetChecker" */ = { 690 | isa = XCConfigurationList; 691 | buildConfigurations = ( 692 | 344A9DC367D94A0F57E7828231D6EDBD /* Debug */, 693 | 4EC10EFF42C1AA5C2FAC67600BBA8542 /* Release */, 694 | ); 695 | defaultConfigurationIsVisible = 0; 696 | defaultConfigurationName = Release; 697 | }; 698 | 8AECF85049BF93F537B600BED3D410E1 /* Build configuration list for PBXNativeTarget "Pods-AssetChecker_Example" */ = { 699 | isa = XCConfigurationList; 700 | buildConfigurations = ( 701 | 6B67E1473BDB5DCF0E4490B86A8CF40D /* Debug */, 702 | E3753485C3B1F48E8DFDD7C9CA2940E4 /* Release */, 703 | ); 704 | defaultConfigurationIsVisible = 0; 705 | defaultConfigurationName = Release; 706 | }; 707 | /* End XCConfigurationList section */ 708 | }; 709 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 710 | } 711 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AssetChecker/AssetChecker-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AssetChecker : NSObject 3 | @end 4 | @implementation PodsDummy_AssetChecker 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AssetChecker/AssetChecker-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AssetChecker/AssetChecker-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double AssetCheckerVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char AssetCheckerVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AssetChecker/AssetChecker.modulemap: -------------------------------------------------------------------------------- 1 | framework module AssetChecker { 2 | umbrella header "AssetChecker-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AssetChecker/AssetChecker.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AssetChecker 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AssetChecker/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## AssetChecker 5 | 6 | MIT License 7 | 8 | Copyright (c) 2016 S4cha 9 | 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | 17 | The above copyright notice and this permission notice shall be included in all 18 | copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 26 | SOFTWARE. 27 | 28 | Generated by CocoaPods - https://cocoapods.org 29 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | MIT License 18 | 19 | Copyright (c) 2016 S4cha 20 | 21 | Permission is hereby granted, free of charge, to any person obtaining a copy 22 | of this software and associated documentation files (the "Software"), to deal 23 | in the Software without restriction, including without limitation the rights 24 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 25 | copies of the Software, and to permit persons to whom the Software is 26 | furnished to do so, subject to the following conditions: 27 | 28 | The above copyright notice and this permission notice shall be included in all 29 | copies or substantial portions of the Software. 30 | 31 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 32 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 33 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 34 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 35 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 36 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 37 | SOFTWARE. 38 | 39 | License 40 | MIT 41 | Title 42 | AssetChecker 43 | Type 44 | PSGroupSpecifier 45 | 46 | 47 | FooterText 48 | Generated by CocoaPods - https://cocoapods.org 49 | Title 50 | 51 | Type 52 | PSGroupSpecifier 53 | 54 | 55 | StringsTable 56 | Acknowledgements 57 | Title 58 | Acknowledgements 59 | 60 | 61 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AssetChecker_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AssetChecker_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 10 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 11 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 12 | 13 | install_framework() 14 | { 15 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 16 | local source="${BUILT_PRODUCTS_DIR}/$1" 17 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 18 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 19 | elif [ -r "$1" ]; then 20 | local source="$1" 21 | fi 22 | 23 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 24 | 25 | if [ -L "${source}" ]; then 26 | echo "Symlinked..." 27 | source="$(readlink "${source}")" 28 | fi 29 | 30 | # Use filter instead of exclude so missing patterns don't throw errors. 31 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 32 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 33 | 34 | local basename 35 | basename="$(basename -s .framework "$1")" 36 | binary="${destination}/${basename}.framework/${basename}" 37 | if ! [ -r "$binary" ]; then 38 | binary="${destination}/${basename}" 39 | fi 40 | 41 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 42 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 43 | strip_invalid_archs "$binary" 44 | fi 45 | 46 | # Resign the code if required by the build settings to avoid unstable apps 47 | code_sign_if_enabled "${destination}/$(basename "$1")" 48 | 49 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 50 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 51 | local swift_runtime_libs 52 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 53 | for lib in $swift_runtime_libs; do 54 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 55 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 56 | code_sign_if_enabled "${destination}/${lib}" 57 | done 58 | fi 59 | } 60 | 61 | # Copies the dSYM of a vendored framework 62 | install_dsym() { 63 | local source="$1" 64 | if [ -r "$source" ]; then 65 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" 66 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" 67 | fi 68 | 69 | local basename 70 | basename="$(basename -s .framework.dSYM "$source")" 71 | binary="${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 72 | 73 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 74 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 75 | strip_invalid_archs "$binary" 76 | fi 77 | } 78 | 79 | # Signs a framework with the provided identity 80 | code_sign_if_enabled() { 81 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 82 | # Use the current code_sign_identitiy 83 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 84 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 85 | 86 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 87 | code_sign_cmd="$code_sign_cmd &" 88 | fi 89 | echo "$code_sign_cmd" 90 | eval "$code_sign_cmd" 91 | fi 92 | } 93 | 94 | # Strip invalid architectures 95 | strip_invalid_archs() { 96 | binary="$1" 97 | # Get architectures for current file 98 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 99 | stripped="" 100 | for arch in $archs; do 101 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 102 | # Strip non-valid architectures in-place 103 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 104 | stripped="$stripped $arch" 105 | fi 106 | done 107 | if [[ "$stripped" ]]; then 108 | echo "Stripped $binary of architectures:$stripped" 109 | fi 110 | } 111 | 112 | 113 | if [[ "$CONFIGURATION" == "Debug" ]]; then 114 | install_framework "${BUILT_PRODUCTS_DIR}/AssetChecker/AssetChecker.framework" 115 | fi 116 | if [[ "$CONFIGURATION" == "Release" ]]; then 117 | install_framework "${BUILT_PRODUCTS_DIR}/AssetChecker/AssetChecker.framework" 118 | fi 119 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 120 | wait 121 | fi 122 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_AssetChecker_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_AssetChecker_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AssetChecker" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/AssetChecker/AssetChecker.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "AssetChecker" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_AssetChecker_Example { 2 | umbrella header "Pods-AssetChecker_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Example/Pods-AssetChecker_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AssetChecker" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/AssetChecker/AssetChecker.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "AssetChecker" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AssetChecker_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AssetChecker_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 10 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 11 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 12 | 13 | install_framework() 14 | { 15 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 16 | local source="${BUILT_PRODUCTS_DIR}/$1" 17 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 18 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 19 | elif [ -r "$1" ]; then 20 | local source="$1" 21 | fi 22 | 23 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 24 | 25 | if [ -L "${source}" ]; then 26 | echo "Symlinked..." 27 | source="$(readlink "${source}")" 28 | fi 29 | 30 | # Use filter instead of exclude so missing patterns don't throw errors. 31 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 32 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 33 | 34 | local basename 35 | basename="$(basename -s .framework "$1")" 36 | binary="${destination}/${basename}.framework/${basename}" 37 | if ! [ -r "$binary" ]; then 38 | binary="${destination}/${basename}" 39 | fi 40 | 41 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 42 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 43 | strip_invalid_archs "$binary" 44 | fi 45 | 46 | # Resign the code if required by the build settings to avoid unstable apps 47 | code_sign_if_enabled "${destination}/$(basename "$1")" 48 | 49 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 50 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 51 | local swift_runtime_libs 52 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 53 | for lib in $swift_runtime_libs; do 54 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 55 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 56 | code_sign_if_enabled "${destination}/${lib}" 57 | done 58 | fi 59 | } 60 | 61 | # Copies the dSYM of a vendored framework 62 | install_dsym() { 63 | local source="$1" 64 | if [ -r "$source" ]; then 65 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" 66 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" 67 | fi 68 | 69 | local basename 70 | basename="$(basename -s .framework.dSYM "$source")" 71 | binary="${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 72 | 73 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 74 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 75 | strip_invalid_archs "$binary" 76 | fi 77 | } 78 | 79 | # Signs a framework with the provided identity 80 | code_sign_if_enabled() { 81 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 82 | # Use the current code_sign_identitiy 83 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 84 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 85 | 86 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 87 | code_sign_cmd="$code_sign_cmd &" 88 | fi 89 | echo "$code_sign_cmd" 90 | eval "$code_sign_cmd" 91 | fi 92 | } 93 | 94 | # Strip invalid architectures 95 | strip_invalid_archs() { 96 | binary="$1" 97 | # Get architectures for current file 98 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 99 | stripped="" 100 | for arch in $archs; do 101 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 102 | # Strip non-valid architectures in-place 103 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 104 | stripped="$stripped $arch" 105 | fi 106 | done 107 | if [[ "$stripped" ]]; then 108 | echo "Stripped $binary of architectures:$stripped" 109 | fi 110 | } 111 | 112 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 113 | wait 114 | fi 115 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_AssetChecker_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_AssetChecker_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AssetChecker" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/AssetChecker/AssetChecker.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_AssetChecker_Tests { 2 | umbrella header "Pods-AssetChecker_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AssetChecker_Tests/Pods-AssetChecker_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AssetChecker" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/AssetChecker/AssetChecker.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import AssetChecker 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 S4cha 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![Localize](https://raw.githubusercontent.com/s4cha/AssetChecker/master/banner.png) 2 | 3 | # AssetChecker 4 | [![Language: Swift](https://img.shields.io/badge/language-swift-f48041.svg?style=flat)](https://developer.apple.com/swift) 5 | ![Platform: iOS](https://img.shields.io/badge/platform-iOS-blue.svg?style=flat) 6 | [![codebeat badge](https://codebeat.co/badges/7c6098dd-e48e-4283-a04e-2b74aeb80a2e)](https://codebeat.co/projects/github-com-s4cha-assetchecker) 7 | [![License: MIT](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat)](https://github.com/s4cha/Localize/blob/master/LICENSE) 8 | [![GitHub tag](https://img.shields.io/github/release/freshos/AssetChecker.svg)](https://github.com/freshOS/AssetChecker/releases) 9 | 10 | *AssetChecker* is a tiny run script that keeps your `Assets.xcassets` files clean and emits warnings when something is suspicious. 11 | 12 | 13 | ![AssetChecker](https://raw.githubusercontent.com/s4cha/AssetChecker/master/xcodeScreenshot.png) 14 | 15 | Because **Image Assets** files are not safe, if an asset is ever deleted, nothing will warn you that an image is broken in your code. 16 | 17 | ## Try it! 18 | 19 | AssetChecker is part of [freshOS](https://freshos.github.io/) iOS toolset. Try it in an example App! Download Starter Project 20 | 21 | ## How 22 | By using a **script** running automatically, you have a **safety net** that makes using Asset Catalog a breeze. 23 | 24 | ## What 25 | 26 | Automatically (On build) 27 | - Raises Errors for **Missing Assets** 28 | - Raises warnings for **Unused Assets** 29 | 30 | ## Installation 31 | 32 | Installation available via Cocoapods. Add the following to your Podfile: 33 | ```shell 34 | pod 'AssetChecker', :git => 'https://github.com/freshOS/AssetChecker.git' 35 | ``` 36 | Or copy the script into your project. 37 | 38 | Add the following `Run Script` in XCode, this will run the script at every build. 39 | If you installed via Cocoapods, you can use the following script: 40 | 41 | ```shell 42 | ${PODS_ROOT}/AssetChecker/run --catalog ${SRCROOT}/Resource/Images.xcassets 43 | ``` 44 | 45 | with arguments: 46 | ``` 47 | --catalog Absolute path to your Asset catalog (required) 48 | --source Absolute path to your source directory. Defaults to $SRCROOT 49 | ``` 50 | 51 | If you didn't use Cocoapods, use the path of where you copied AssetChecker script: 52 | 53 | ```shell 54 | ${SRCROOT}/{PATH_TO_THE_SCRIPT}/AssetChecker.swift ${SRCROOT}/Sources ${SRCROOT}/Resources/Images.xcassets 55 | ``` 56 | In this example your source files are located in `/Sources` and your Asset catalog is in `/Resources/Images.xcassets`. 57 | 58 | And configure top section of the script : 59 | ```swift 60 | // Configure me \o/ 61 | let sourcePath = "/Sources" 62 | let assetCatalogPath = "/Resources/Assets.xcassets" 63 | let ignoredUnusedNames = [String]() 64 | ``` 65 | Run and Enjoy \o/ 66 | 67 | ## False positives 68 | Sometimes you're building the asset names dynamically so there is no way for AssetChecker to find out statically by looking at the codebase. 69 | 70 | In this case the script will emit a **false positive**. 71 | 72 | You can manually declare these false positives so that they get ignored ! 73 | 74 | Set the `ignoredUnusedNames` variable in the script file like so: 75 | 76 | ```swift 77 | let ignoredUnusedNames = [ 78 | "voteEN", 79 | "voteES", 80 | "voteFR" 81 | ] 82 | ``` 83 | 84 | ## Author 85 | 86 | Sacha Durand Saint Omer, sachadso@gmail.com 87 | 88 | ## Contributing 89 | 90 | Contributions to AssetChecker are very welcomed and encouraged! 91 | 92 | ## License 93 | 94 | AssetChecker is available under the MIT license. See [LICENSE](https://github.com/s4cha/AssetChecker/blob/master/LICENSE) for more information. 95 | 96 | 97 | 98 | ### Backers 99 | Like the project? Offer coffee or support us with a monthly donation and help us continue our activities :) 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | ### Sponsors 133 | Become a sponsor and get your logo on our README on Github with a link to your site :) 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshOS/AssetChecker/e71a8ff57ec17e26adb59189d21395036476b420/banner.png -------------------------------------------------------------------------------- /run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Figure out where we're being called from 4 | DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) 5 | 6 | # Path to Swift script file 7 | swiftFile="${DIR}/Classes/main.swift" 8 | 9 | SOURCE=$SRCROOT 10 | CATALOG="" 11 | 12 | while [[ $# > 0 ]] 13 | do 14 | key="$1" 15 | 16 | case $key in 17 | -s|--source) 18 | SOURCE="$2" 19 | shift # past argument 20 | ;; 21 | -c|--catalog) 22 | CATALOG="$2" 23 | shift # past argument 24 | ;; 25 | *) 26 | 27 | # unknown option 28 | ;; 29 | esac 30 | shift # past argument or value 31 | done 32 | 33 | cmd="$swiftFile $SOURCE $CATALOG" 34 | echo $cmd 35 | $cmd 36 | -------------------------------------------------------------------------------- /xcodeScreenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshOS/AssetChecker/e71a8ff57ec17e26adb59189d21395036476b420/xcodeScreenshot.png --------------------------------------------------------------------------------