diff --git a/.gitignore b/.gitignore deleted file mode 100644 index e0c4189..0000000 --- a/.gitignore +++ /dev/null @@ -1,128 +0,0 @@ - -# Created by https://www.gitignore.io/api/macos,linux,swift,vagrant,xcode - -### macOS ### -*.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon -# Thumbnails -._* -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - - -### Linux ### -*~ - -# temporary files which can be created if a process still has a handle open of a deleted file -.fuse_hidden* - -# KDE directory preferences -.directory - -# Linux trash folder which might appear on any partition or disk -.Trash-* - -# .nfs files are created when an open file is removed but is still being accessed -.nfs* - - -### Swift ### -# Xcode -# -# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore - -## Build generated -build/ -DerivedData/ - -## Various settings -*.pbxuser -!default.pbxuser -*.mode1v3 -!default.mode1v3 -*.mode2v3 -!default.mode2v3 -*.perspectivev3 -!default.perspectivev3 -xcuserdata/ - -## Other -*.moved-aside -*.xcuserstate - -## Obj-C/Swift specific -*.hmap -*.ipa -*.dSYM.zip -*.dSYM - -## Playgrounds -timeline.xctimeline -playground.xcworkspace - -# Swift Package Manager -# -# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. -Packages/ -.build/ - -# CocoaPods -# -# We recommend against adding the Pods directory to your .gitignore. However -# you should judge for yourself, the pros and cons are mentioned at: -# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control -# -# Pods/ - -# Carthage -# -# Add this line if you want to avoid checking in source code from Carthage dependencies. -# Carthage/Checkouts - -Carthage/Build - -# fastlane -# -# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the -# screenshots whenever they are needed. -# For more information about the recommended setup visit: -# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md - -fastlane/report.xml -fastlane/Preview.html -fastlane/screenshots -fastlane/test_output - - -### Vagrant ### -.vagrant/ - - -### Xcode ### -# Xcode -# -# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore - -## Build generated - -## Various settings - -## Other -*.xccheckout -*.xcscmblueprint diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c7a5fc8..0000000 --- a/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -matrix: - include: - - os: osx - osx_image: xcode8.3 - language: objective-c - env: - - SWIFT_VERSION="3.1.1" - - os: linux - language: generic - sudo: required - dist: trusty - env: - - SWIFT_VERSIONS="3.0 3.0.1 3.0.2 3.1 3.1.1 4.0-DEVELOPMENT-SNAPSHOT-2017-06-23-a" - - SWIFTENV_ROOT="$HOME/.swiftenv" - - PATH="$SWIFTENV_ROOT/bin:$SWIFTENV_ROOT/shims:$PATH" -env: - global: - - LC_CTYPE=en_US.UTF-8 - - LANG=en_US.UTF-8 - - FRAMEWORK_NAME="Unreachable" -install: ./ci/install.sh -script: ./ci/travis.sh diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index ac2c5e1..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,32 +0,0 @@ -# Change Log - -All releases of [Unreachable][repo] adhere to [Semantic Versioning][semver]. - -## [v1.2.0](https://github.com/nvzqz/Unreachable/tree/v1.2.0) (2017-07-03) - -- [Full Changelog](https://github.com/nvzqz/Unreachable/compare/v1.1.0...v1.2.0) - -- [Release](https://github.com/nvzqz/Unreachable/releases/tag/v1.2.0) - -### New Features - -- Added `message` parameter to `assertUnreachable()` - -## [v1.1.0](https://github.com/nvzqz/Unreachable/tree/v1.1.0) (2017-07-02) - -- [Full Changelog](https://github.com/nvzqz/Unreachable/compare/v1.0.0...v1.1.0) - -- [Release](https://github.com/nvzqz/Unreachable/releases/tag/v1.1.0) - -### New Features - -- Added `assertUnreachable()`, a safer counterpart to `unreachable()` - -## [v1.0.0](https://github.com/nvzqz/Unreachable/tree/v1.0.0) (2017-07-02) - -- [Release](https://github.com/nvzqz/Unreachable/releases/tag/v1.0.0) - -Initial release - -[repo]: https://github.com/nvzqz/Unreachable -[semver]: http://semver.org/ diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index 5fe9085..0000000 --- a/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -# The MIT License (MIT) - -**Copyright (c) 2017 Nikolai Vazquez** - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..fd662a7 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,428 @@ +Attribution-ShareAlike 4.0 International + +======================================================================= + +Creative Commons Corporation ("Creative Commons") is not a law firm and +does not provide legal services or legal advice. Distribution of +Creative Commons public licenses does not create a lawyer-client or +other relationship. Creative Commons makes its licenses and related +information available on an "as-is" basis. Creative Commons gives no +warranties regarding its licenses, any material licensed under their +terms and conditions, or any related information. Creative Commons +disclaims all liability for damages resulting from their use to the +fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and +conditions that creators and other rights holders may use to share +original works of authorship and other material subject to copyright +and certain other rights specified in the public license below. The +following considerations are for informational purposes only, are not +exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + +======================================================================= + +Creative Commons Attribution-ShareAlike 4.0 International Public +License + +By exercising the Licensed Rights (defined below), You accept and agree +to be bound by the terms and conditions of this Creative Commons +Attribution-ShareAlike 4.0 International Public License ("Public +License"). To the extent this Public License may be interpreted as a +contract, You are granted the Licensed Rights in consideration of Your +acceptance of these terms and conditions, and the Licensor grants You +such rights in consideration of benefits the Licensor receives from +making the Licensed Material available under these terms and +conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. BY-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative + Commons as essentially the equivalent of this Public License. + + d. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + e. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + f. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + g. License Elements means the license attributes listed in the name + of a Creative Commons Public License. The License Elements of this + Public License are Attribution and ShareAlike. + + h. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + i. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + k. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + l. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + m. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. Additional offer from the Licensor -- Adapted Material. + Every recipient of Adapted Material from You + automatically receives an offer from the Licensor to + exercise the Licensed Rights in the Adapted Material + under the conditions of the Adapter's License You apply. + + c. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + b. ShareAlike. + + In addition to the conditions in Section 3(a), if You Share + Adapted Material You produce, the following conditions also apply. + + 1. The Adapter's License You apply must be a Creative Commons + license with the same License Elements, this version or + later, or a BY-SA Compatible License. + + 2. You must include the text of, or the URI or hyperlink to, the + Adapter's License You apply. You may satisfy this condition + in any reasonable manner based on the medium, means, and + context in which You Share Adapted Material. + + 3. You may not offer or impose any additional or different terms + or conditions on, or apply any Effective Technological + Measures to, Adapted Material that restrict exercise of the + rights granted under the Adapter's License You apply. + + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material, + + including for purposes of Section 3(b); and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not +replace Your obligations under this Public License where the Licensed +Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + +======================================================================= + +Creative Commons is not a party to its public +licenses. Notwithstanding, Creative Commons may elect to apply one of +its public licenses to material it publishes and in those instances +will be considered the “Licensor.” The text of the Creative Commons +public licenses is dedicated to the public domain under the CC0 Public +Domain Dedication. Except for the limited purpose of indicating that +material is shared under a Creative Commons public license or as +otherwise permitted by the Creative Commons policies published at +creativecommons.org/policies, Creative Commons does not authorize the +use of the trademark "Creative Commons" or any other trademark or logo +of Creative Commons without its prior written consent including, +without limitation, in connection with any unauthorized modifications +to any of its public licenses or any other arrangements, +understandings, or agreements concerning use of licensed material. For +the avoidance of doubt, this paragraph does not form part of the +public licenses. + +Creative Commons may be contacted at creativecommons.org. + diff --git a/Package.swift b/Package.swift deleted file mode 100644 index 46aa272..0000000 --- a/Package.swift +++ /dev/null @@ -1,36 +0,0 @@ -// -// Package.swift -// Unreachable -// -// The MIT License (MIT) -// -// Copyright (c) 2017 Nikolai Vazquez -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import PackageDescription - -let package = Package( - name: "Unreachable" -) - -#if swift(>=3.1) - package.swiftLanguageVersions = [3, 4] -#endif diff --git a/README.md b/README.md deleted file mode 100644 index 723c50f..0000000 --- a/README.md +++ /dev/null @@ -1,281 +0,0 @@ -[![Unreachable](https://github.com/nvzqz/Unreachable/raw/assets/banner.png)](https://github.com/nvzqz/Unreachable) - -

-Platform -Language: Swift -CocoaPods - Unreachable -Carthage -codebeat badge -License -

- -Unreachable is a Swift µframework that allows for letting the compiler know when -a code path is unreachable. - -- [Build Status](#build-status) -- [Installation](#installation) - - [Compatibility](#compatibility) - - [Swift Package Manager](#install-using-swift-package-manager) - - [CocoaPods](#install-using-cocoapods) - - [Carthage](#install-using-carthage) -- [Usage](#usage) - - [Dynamic Loop Exit](#dynamic-loop-exit) - - [Switch Conditions](#switch-conditions) - - [Safety](#safety) - - [Unreachable vs fatalError](#unreachable-vs-fatalerror) - - [Unreachable Example](#with-unreachable) - - [fatalError Example](#with-fatalerror) -- [License](#license) - -## Build Status - -| Branch | Status | -| :------: | :----: | -| `master` | [![Build Status](https://travis-ci.org/nvzqz/Unreachable.svg?branch=master)](https://travis-ci.org/nvzqz/Unreachable) - -## Installation - -### Compatibility - -- Platforms: - - macOS 10.9+ - - iOS 8.0+ - - watchOS 2.0+ - - tvOS 9.0+ - - Linux -- Xcode 8.0+ -- Swift 3.0+ & 4.0 - -### Install Using Swift Package Manager -The [Swift Package Manager](https://swift.org/package-manager/) is a -decentralized dependency manager for Swift. - -1. Add the project to your `Package.swift`. - - ```swift - import PackageDescription - - let package = Package( - name: "MyAwesomeProject", - dependencies: [ - .Package(url: "https://github.com/nvzqz/Unreachable.git", - majorVersion: 1) - ] - ) - ``` - -2. Import the Unreachable module. - - ```swift - import Unreachable - ``` - -### Install Using CocoaPods -[CocoaPods](https://cocoapods.org/) is a centralized dependency manager for -Objective-C and Swift. Go [here](https://guides.cocoapods.org/using/index.html) -to learn more. - -1. Add the project to your [Podfile](https://guides.cocoapods.org/using/the-podfile.html). - - ```ruby - use_frameworks! - - pod 'Unreachable', '~> 1.2.0' - ``` - - If you want to be on the bleeding edge, replace the last line with: - - ```ruby - pod 'Unreachable', :git => 'https://github.com/nvzqz/Unreachable.git' - ``` - -2. Run `pod install` and open the `.xcworkspace` file to launch Xcode. - -3. Import the Unreachable framework. - - ```swift - import Unreachable - ``` - -### Install Using Carthage -[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency -manager for Objective-C and Swift. - -1. Add the project to your [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile). - - ``` - github "nvzqz/Unreachable" - ``` - -2. Run `carthage update` and follow [the additional steps](https://github.com/Carthage/Carthage#getting-started) - in order to add Unreachable to your project. - -3. Import the Unreachable framework. - - ```swift - import Unreachable - ``` - -### Install Manually - -Simply add `Unreachable.swift` into your project. - -## Usage - -Try it out for yourself! Download the repo and open 'Unreachable.playground'. - -### Dynamic Loop Exit - -In some cases, the only way a function returns a value is from within a loop, -but the compiler may not have enough information to know that. - -```swift -func getValue() -> Int { - for i in 0... { - if i == 20 { - return i - } - } - assertUnreachable() -} -``` - -### Switch Conditions - -A `switch` statement may have conditions applied to its branches that make it -exhaustive, but that may not obvious to the compiler. - -```swift -func sign(of value: Double?) -> FloatingPointSign? { - switch value { - case let x? where x >= 0: - return .plus - case let x? where x < 0: - return .minus - case .some: - assertUnreachable() - case .none: - return nil - } -} -``` - -### Safety - -It is [undefined behavior][ub] for `unreachable()` to be called. To protect -against this, it is recommended to use `assertUnreachable()` instead. - -With `assertUnreachable()`, debug builds will exit via a fatal error if the -function is called. In optimized builds, it's no different than calling -`unreachable()`. - -### Unreachable vs `fatalError()` - -The `assertUnreachable()` function can be used as somewhat of a drop-in -replacement for `fatalError()`. In debug mode, they emit similar instructions. -However, when compiling with optimizations, `assertUnreachable()` allows its -parent to emit very few instructions. - -Here we're checking whether a `UnicodeScalar` has a value in the lower or upper -range. Because we know that these are the only valid ranges, we can let the -compiler know that the third branch is unreachable. If at some point `x` has a -value that's not within either range, it will emit an assertion failure in -unoptimized builds. - -#### With Unreachable - -```swift -func isLowerRange(_ x: UnicodeScalar) -> Bool { - switch x.value { - case 0...0xD7FF: - return true - case 0xE000...0x10FFFF: - return false - default: - assertUnreachable() - } -} -``` - -Assembly output: - -```assembly - .globl __T011Unreachable12isLowerRangeSbs7UnicodeO6ScalarVF - .p2align 4, 0x90 -__T011Unreachable12isLowerRangeSbs7UnicodeO6ScalarVF: - pushq %rbp - movq %rsp, %rbp - cmpl $55296, %edi - setb %al - popq %rbp - retq -``` - -#### With `fatalError()` - -```swift -func isLowerRange(_ x: UnicodeScalar) -> Bool { - switch x.value { - case 0...0xD7FF: - return true - case 0xE000...0x10FFFF: - return false - default: - fatalError("Unreachable") - } -} -``` - -Assembly output: - -```assembly - .globl __T011Unreachable12isLowerRangeSbs7UnicodeO6ScalarVF - .p2align 4, 0x90 -__T011Unreachable12isLowerRangeSbs7UnicodeO6ScalarVF: - .cfi_startproc - movb $1, %al - cmpl $55296, %edi - jb LBB4_3 - addl $-57344, %edi - cmpl $1056768, %edi - jae LBB4_4 - xorl %eax, %eax -LBB4_3: - retq -LBB4_4: - pushq %rbp -Lcfi0: - .cfi_def_cfa_offset 16 -Lcfi1: - .cfi_offset %rbp, -16 - movq %rsp, %rbp -Lcfi2: - .cfi_def_cfa_register %rbp - subq $48, %rsp - leaq L___unnamed_2(%rip), %rax - movq %rax, (%rsp) - movl $0, 32(%rsp) - movq $56, 24(%rsp) - movl $2, 16(%rsp) - movq $69, 8(%rsp) - leaq L___unnamed_3(%rip), %rdi - leaq L___unnamed_4(%rip), %rcx - movl $11, %esi - movl $2, %edx - movl $11, %r8d - xorl %r9d, %r9d - callq __T0s17_assertionFailures5NeverOs12StaticStringV_SSAE4fileSu4lines6UInt32V5flagstFTfq4nxnnn_n - subq $40, %rsp - .cfi_endproc -``` - -## License - -All source code for Unreachable is released under the [MIT License][license]. - -Assets for Unreachable are released under the [CC BY-SA 4.0 License][assets-license] -and can be found in the [`assets` branch](https://github.com/nvzqz/Unreachable/tree/assets). - -[ub]: https://en.wikipedia.org/wiki/Undefined_behavior -[license]: https://github.com/nvzqz/Unreachable/blob/master/LICENSE.md -[assets-license]: https://github.com/nvzqz/Unreachable/blob/assets/LICENSE.txt diff --git a/Sources/Unreachable.swift b/Sources/Unreachable.swift deleted file mode 100644 index de84c6c..0000000 --- a/Sources/Unreachable.swift +++ /dev/null @@ -1,56 +0,0 @@ -// -// Unreachable.swift -// Unreachable -// -// The MIT License (MIT) -// -// Copyright (c) 2017 Nikolai Vazquez -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -/// An unreachable code path. -/// -/// This can be used for whenever the compiler can't determine that a -/// path is unreachable, such as dynamically terminating an iterator. -@inline(__always) -public func unreachable() -> Never { - return unsafeBitCast((), to: Never.self) -} - -/// Asserts that the code path is unreachable. -/// -/// Calls `assertionFailure(_:file:line:)` in unoptimized builds and `unreachable()` otherwise. -/// -/// - parameter message: The message to print. The default is "Encountered unreachable path". -/// - parameter file: The file name to print with the message. The default is the file where this function is called. -/// - parameter line: The line number to print with the message. The default is the line where this function is called. -@inline(__always) -public func assertUnreachable(_ message: @autoclosure () -> String = "Encountered unreachable path", - file: StaticString = #file, - line: UInt = #line) -> Never { - var isDebug = false - assert({ isDebug = true; return true }()) - - if isDebug { - fatalError(message, file: file, line: line) - } else { - unreachable() - } -} diff --git a/Tests/Info.plist b/Tests/Info.plist deleted file mode 100644 index ba72822..0000000 --- a/Tests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift deleted file mode 100644 index 1e0cffe..0000000 --- a/Tests/LinuxMain.swift +++ /dev/null @@ -1,33 +0,0 @@ -// -// LinuxMain.swift -// UnreachableTests -// -// The MIT License (MIT) -// -// Copyright (c) 2017 Nikolai Vazquez -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import XCTest -@testable import UnreachableTests - -XCTMain([ - testCase(UnreachableTests.allTests), -]) diff --git a/Tests/UnreachableTests/UnreachableTests.swift b/Tests/UnreachableTests/UnreachableTests.swift deleted file mode 100644 index d3057e0..0000000 --- a/Tests/UnreachableTests/UnreachableTests.swift +++ /dev/null @@ -1,80 +0,0 @@ -// -// UnreachableTests.swift -// UnreachableTests -// -// The MIT License (MIT) -// -// Copyright (c) 2017 Nikolai Vazquez -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. -// - -import XCTest -import Unreachable - -struct Incrementor: IteratorProtocol, Sequence { - var value: UInt - - mutating func next() -> UInt? { - defer { value += 1 } - return value - } -} - -class UnreachableTests: XCTestCase { - - static let allTests = [ - ("testLoop", testLoop), - ("testSwitch", testSwitch) - ] - - func testLoop() { - func helper(_ x: UInt) -> UInt { - for i in Incrementor(value: 0) { - if i == x { - return i - } - } - // Fails to compile without this - unreachable() - } - let x: UInt = 20 - XCTAssertEqual(helper(x), x) - } - - func testSwitch() { - func helper(_ x: Int8?) -> Int8? { - switch x { - case let .some(y) where y > 0: - return y - case let .some(y) where y <= 0: - return y - case .some: // Fails to compile without this - unreachable() - case .none: - return nil - } - } - XCTAssertNil(helper(nil)) - for x in Int8.min ... Int8.max { - XCTAssertEqual(x, helper(x)) - } - } - -} diff --git a/Unreachable.playground/Contents.swift b/Unreachable.playground/Contents.swift deleted file mode 100644 index 6d914ba..0000000 --- a/Unreachable.playground/Contents.swift +++ /dev/null @@ -1,5 +0,0 @@ -/*: - # Unreachable - Use this playground to try out Unreachable - */ -import Unreachable diff --git a/Unreachable.playground/contents.xcplayground b/Unreachable.playground/contents.xcplayground deleted file mode 100644 index 3a493ef..0000000 --- a/Unreachable.playground/contents.xcplayground +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Unreachable.podspec b/Unreachable.podspec deleted file mode 100644 index 2d34c87..0000000 --- a/Unreachable.podspec +++ /dev/null @@ -1,15 +0,0 @@ -Pod::Spec.new do |s| - s.name = "Unreachable" - s.version = "1.2.0" - s.summary = "Unreachable code path hint for Swift." - s.homepage = "https://github.com/nvzqz/#{s.name}" - s.license = { :type => "MIT", :file => "LICENSE.md" } - s.author = "Nikolai Vazquez" - s.social_media_url = "https://twitter.com/nikolaivazquez" - s.ios.deployment_target = "8.0" - s.osx.deployment_target = "10.9" - s.watchos.deployment_target = '2.0' - s.tvos.deployment_target = '9.0' - s.source = { :git => "https://github.com/nvzqz/#{s.name}.git", :tag => "v#{s.version}" } - s.source_files = "Sources/**/*.swift" -end diff --git a/Unreachable.sketch b/Unreachable.sketch new file mode 100644 index 0000000..11a714d Binary files /dev/null and b/Unreachable.sketch differ diff --git a/Unreachable.xcodeproj/Info.plist b/Unreachable.xcodeproj/Info.plist deleted file mode 100644 index 753647d..0000000 --- a/Unreachable.xcodeproj/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.2.0 - CFBundleVersion - 3 - NSPrincipalClass - - - diff --git a/Unreachable.xcodeproj/project.pbxproj b/Unreachable.xcodeproj/project.pbxproj deleted file mode 100644 index ccecf3e..0000000 --- a/Unreachable.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1421 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 52D67C9F1F096FCB008FF44B /* Unreachable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52D67C9E1F096FCB008FF44B /* Unreachable.swift */; }; - 52D67CA01F096FCB008FF44B /* Unreachable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52D67C9E1F096FCB008FF44B /* Unreachable.swift */; }; - 52D67CA11F096FCB008FF44B /* Unreachable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52D67C9E1F096FCB008FF44B /* Unreachable.swift */; }; - 52D67CA21F096FCB008FF44B /* Unreachable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52D67C9E1F096FCB008FF44B /* Unreachable.swift */; }; - 52D67CB21F098947008FF44B /* Unreachable.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D67C6D1F096F7A008FF44B /* Unreachable.framework */; }; - 52D67CC11F098957008FF44B /* Unreachable.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D67C7B1F096F88008FF44B /* Unreachable.framework */; }; - 52D67CD01F098962008FF44B /* Unreachable.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D67C951F096F9F008FF44B /* Unreachable.framework */; }; - 52D67CDB1F098A22008FF44B /* UnreachableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52D67CDA1F098A1D008FF44B /* UnreachableTests.swift */; }; - 52D67CDC1F098A22008FF44B /* UnreachableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52D67CDA1F098A1D008FF44B /* UnreachableTests.swift */; }; - 52D67CDD1F098A23008FF44B /* UnreachableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52D67CDA1F098A1D008FF44B /* UnreachableTests.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 52D67CB31F098947008FF44B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 52BC95391F096EE90088A4A2 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 52D67C6C1F096F79008FF44B; - remoteInfo = "Unreachable macOS"; - }; - 52D67CC21F098957008FF44B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 52BC95391F096EE90088A4A2 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 52D67C7A1F096F88008FF44B; - remoteInfo = "Unreachable iOS"; - }; - 52D67CD11F098962008FF44B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 52BC95391F096EE90088A4A2 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 52D67C941F096F9F008FF44B; - remoteInfo = "Unreachable tvOS"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 52784F8F1F09792E0092139C /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; - 52D67C6D1F096F7A008FF44B /* Unreachable.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Unreachable.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 52D67C7B1F096F88008FF44B /* Unreachable.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Unreachable.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 52D67C881F096F93008FF44B /* Unreachable.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Unreachable.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 52D67C951F096F9F008FF44B /* Unreachable.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Unreachable.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 52D67C9E1F096FCB008FF44B /* Unreachable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Unreachable.swift; sourceTree = ""; }; - 52D67CA41F097012008FF44B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Unreachable.xcodeproj/Info.plist; sourceTree = ""; }; - 52D67CA51F0970F0008FF44B /* LICENSE.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = LICENSE.md; sourceTree = ""; }; - 52D67CA61F0982EF008FF44B /* Unreachable.playground */ = {isa = PBXFileReference; lastKnownFileType = file.playground; path = Unreachable.playground; sourceTree = ""; }; - 52D67CAD1F098947008FF44B /* Unreachable macOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Unreachable macOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - 52D67CBC1F098957008FF44B /* Unreachable iOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Unreachable iOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - 52D67CCB1F098962008FF44B /* Unreachable tvOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Unreachable tvOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - 52D67CD71F098A1D008FF44B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 52D67CD81F098A1D008FF44B /* LinuxMain.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LinuxMain.swift; sourceTree = ""; }; - 52D67CDA1F098A1D008FF44B /* UnreachableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UnreachableTests.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 52D67C691F096F79008FF44B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67C771F096F88008FF44B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67C841F096F93008FF44B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67C911F096F9F008FF44B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67CAA1F098947008FF44B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 52D67CB21F098947008FF44B /* Unreachable.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67CB91F098957008FF44B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 52D67CC11F098957008FF44B /* Unreachable.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67CC81F098962008FF44B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 52D67CD01F098962008FF44B /* Unreachable.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 52BC95381F096EE90088A4A2 = { - isa = PBXGroup; - children = ( - 52D67C9D1F096FC1008FF44B /* Sources */, - 52D67CA31F097007008FF44B /* Support */, - 52D67CD61F098A1D008FF44B /* Tests */, - 52D67C6E1F096F7A008FF44B /* Products */, - 52D67CA61F0982EF008FF44B /* Unreachable.playground */, - 52D67CA51F0970F0008FF44B /* LICENSE.md */, - 52784F8F1F09792E0092139C /* Package.swift */, - ); - sourceTree = ""; - }; - 52D67C6E1F096F7A008FF44B /* Products */ = { - isa = PBXGroup; - children = ( - 52D67C6D1F096F7A008FF44B /* Unreachable.framework */, - 52D67C7B1F096F88008FF44B /* Unreachable.framework */, - 52D67C881F096F93008FF44B /* Unreachable.framework */, - 52D67C951F096F9F008FF44B /* Unreachable.framework */, - 52D67CAD1F098947008FF44B /* Unreachable macOS Tests.xctest */, - 52D67CBC1F098957008FF44B /* Unreachable iOS Tests.xctest */, - 52D67CCB1F098962008FF44B /* Unreachable tvOS Tests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 52D67C9D1F096FC1008FF44B /* Sources */ = { - isa = PBXGroup; - children = ( - 52D67C9E1F096FCB008FF44B /* Unreachable.swift */, - ); - path = Sources; - sourceTree = ""; - }; - 52D67CA31F097007008FF44B /* Support */ = { - isa = PBXGroup; - children = ( - 52D67CA41F097012008FF44B /* Info.plist */, - ); - name = Support; - sourceTree = ""; - }; - 52D67CD61F098A1D008FF44B /* Tests */ = { - isa = PBXGroup; - children = ( - 52D67CD71F098A1D008FF44B /* Info.plist */, - 52D67CD81F098A1D008FF44B /* LinuxMain.swift */, - 52D67CD91F098A1D008FF44B /* UnreachableTests */, - ); - path = Tests; - sourceTree = ""; - }; - 52D67CD91F098A1D008FF44B /* UnreachableTests */ = { - isa = PBXGroup; - children = ( - 52D67CDA1F098A1D008FF44B /* UnreachableTests.swift */, - ); - path = UnreachableTests; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 52D67C6A1F096F79008FF44B /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67C781F096F88008FF44B /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67C851F096F93008FF44B /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67C921F096F9F008FF44B /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 52D67C6C1F096F79008FF44B /* Unreachable macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 52D67C751F096F7A008FF44B /* Build configuration list for PBXNativeTarget "Unreachable macOS" */; - buildPhases = ( - 52D67C681F096F79008FF44B /* Sources */, - 52D67C691F096F79008FF44B /* Frameworks */, - 52D67C6A1F096F79008FF44B /* Headers */, - 52D67C6B1F096F79008FF44B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Unreachable macOS"; - productName = "Unreachable macOS"; - productReference = 52D67C6D1F096F7A008FF44B /* Unreachable.framework */; - productType = "com.apple.product-type.framework"; - }; - 52D67C7A1F096F88008FF44B /* Unreachable iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 52D67C801F096F88008FF44B /* Build configuration list for PBXNativeTarget "Unreachable iOS" */; - buildPhases = ( - 52D67C761F096F88008FF44B /* Sources */, - 52D67C771F096F88008FF44B /* Frameworks */, - 52D67C781F096F88008FF44B /* Headers */, - 52D67C791F096F88008FF44B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Unreachable iOS"; - productName = "Unreachable iOS"; - productReference = 52D67C7B1F096F88008FF44B /* Unreachable.framework */; - productType = "com.apple.product-type.framework"; - }; - 52D67C871F096F93008FF44B /* Unreachable watchOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 52D67C8D1F096F93008FF44B /* Build configuration list for PBXNativeTarget "Unreachable watchOS" */; - buildPhases = ( - 52D67C831F096F93008FF44B /* Sources */, - 52D67C841F096F93008FF44B /* Frameworks */, - 52D67C851F096F93008FF44B /* Headers */, - 52D67C861F096F93008FF44B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Unreachable watchOS"; - productName = "Unreachable watchOS"; - productReference = 52D67C881F096F93008FF44B /* Unreachable.framework */; - productType = "com.apple.product-type.framework"; - }; - 52D67C941F096F9F008FF44B /* Unreachable tvOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 52D67C9A1F096F9F008FF44B /* Build configuration list for PBXNativeTarget "Unreachable tvOS" */; - buildPhases = ( - 52D67C901F096F9F008FF44B /* Sources */, - 52D67C911F096F9F008FF44B /* Frameworks */, - 52D67C921F096F9F008FF44B /* Headers */, - 52D67C931F096F9F008FF44B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Unreachable tvOS"; - productName = "Unreachable tvOS"; - productReference = 52D67C951F096F9F008FF44B /* Unreachable.framework */; - productType = "com.apple.product-type.framework"; - }; - 52D67CAC1F098947008FF44B /* Unreachable macOS Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 52D67CB71F098947008FF44B /* Build configuration list for PBXNativeTarget "Unreachable macOS Tests" */; - buildPhases = ( - 52D67CA91F098947008FF44B /* Sources */, - 52D67CAA1F098947008FF44B /* Frameworks */, - 52D67CAB1F098947008FF44B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 52D67CB41F098947008FF44B /* PBXTargetDependency */, - ); - name = "Unreachable macOS Tests"; - productName = "Unreachable macOS Tests"; - productReference = 52D67CAD1F098947008FF44B /* Unreachable macOS Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 52D67CBB1F098957008FF44B /* Unreachable iOS Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 52D67CC41F098957008FF44B /* Build configuration list for PBXNativeTarget "Unreachable iOS Tests" */; - buildPhases = ( - 52D67CB81F098957008FF44B /* Sources */, - 52D67CB91F098957008FF44B /* Frameworks */, - 52D67CBA1F098957008FF44B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 52D67CC31F098957008FF44B /* PBXTargetDependency */, - ); - name = "Unreachable iOS Tests"; - productName = "Unreachable iOS Tests"; - productReference = 52D67CBC1F098957008FF44B /* Unreachable iOS Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 52D67CCA1F098962008FF44B /* Unreachable tvOS Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 52D67CD31F098962008FF44B /* Build configuration list for PBXNativeTarget "Unreachable tvOS Tests" */; - buildPhases = ( - 52D67CC71F098962008FF44B /* Sources */, - 52D67CC81F098962008FF44B /* Frameworks */, - 52D67CC91F098962008FF44B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 52D67CD21F098962008FF44B /* PBXTargetDependency */, - ); - name = "Unreachable tvOS Tests"; - productName = "Unreachable tvOS Tests"; - productReference = 52D67CCB1F098962008FF44B /* Unreachable tvOS Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 52BC95391F096EE90088A4A2 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0830; - LastUpgradeCheck = 0830; - ORGANIZATIONNAME = "Nikolai Vazquez"; - TargetAttributes = { - 52D67C6C1F096F79008FF44B = { - CreatedOnToolsVersion = 8.3.3; - LastSwiftMigration = 0830; - ProvisioningStyle = Automatic; - }; - 52D67C7A1F096F88008FF44B = { - CreatedOnToolsVersion = 8.3.3; - LastSwiftMigration = 0830; - ProvisioningStyle = Automatic; - }; - 52D67C871F096F93008FF44B = { - CreatedOnToolsVersion = 8.3.3; - LastSwiftMigration = 0830; - ProvisioningStyle = Automatic; - }; - 52D67C941F096F9F008FF44B = { - CreatedOnToolsVersion = 8.3.3; - LastSwiftMigration = 0830; - ProvisioningStyle = Automatic; - }; - 52D67CAC1F098947008FF44B = { - CreatedOnToolsVersion = 8.3.3; - ProvisioningStyle = Automatic; - }; - 52D67CBB1F098957008FF44B = { - CreatedOnToolsVersion = 8.3.3; - ProvisioningStyle = Automatic; - }; - 52D67CCA1F098962008FF44B = { - CreatedOnToolsVersion = 8.3.3; - ProvisioningStyle = Automatic; - }; - }; - }; - buildConfigurationList = 52BC953C1F096EE90088A4A2 /* Build configuration list for PBXProject "Unreachable" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 52BC95381F096EE90088A4A2; - productRefGroup = 52D67C6E1F096F7A008FF44B /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 52D67C6C1F096F79008FF44B /* Unreachable macOS */, - 52D67C7A1F096F88008FF44B /* Unreachable iOS */, - 52D67C871F096F93008FF44B /* Unreachable watchOS */, - 52D67C941F096F9F008FF44B /* Unreachable tvOS */, - 52D67CAC1F098947008FF44B /* Unreachable macOS Tests */, - 52D67CBB1F098957008FF44B /* Unreachable iOS Tests */, - 52D67CCA1F098962008FF44B /* Unreachable tvOS Tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 52D67C6B1F096F79008FF44B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67C791F096F88008FF44B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67C861F096F93008FF44B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67C931F096F9F008FF44B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67CAB1F098947008FF44B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67CBA1F098957008FF44B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67CC91F098962008FF44B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 52D67C681F096F79008FF44B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 52D67C9F1F096FCB008FF44B /* Unreachable.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67C761F096F88008FF44B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 52D67CA01F096FCB008FF44B /* Unreachable.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67C831F096F93008FF44B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 52D67CA11F096FCB008FF44B /* Unreachable.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67C901F096F9F008FF44B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 52D67CA21F096FCB008FF44B /* Unreachable.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67CA91F098947008FF44B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 52D67CDB1F098A22008FF44B /* UnreachableTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67CB81F098957008FF44B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 52D67CDC1F098A22008FF44B /* UnreachableTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 52D67CC71F098962008FF44B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 52D67CDD1F098A23008FF44B /* UnreachableTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 52D67CB41F098947008FF44B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 52D67C6C1F096F79008FF44B /* Unreachable macOS */; - targetProxy = 52D67CB31F098947008FF44B /* PBXContainerItemProxy */; - }; - 52D67CC31F098957008FF44B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 52D67C7A1F096F88008FF44B /* Unreachable iOS */; - targetProxy = 52D67CC21F098957008FF44B /* PBXContainerItemProxy */; - }; - 52D67CD21F098962008FF44B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 52D67C941F096F9F008FF44B /* Unreachable tvOS */; - targetProxy = 52D67CD11F098962008FF44B /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 52BC953D1F096EE90088A4A2 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - PRODUCT_BUNDLE_IDENTIFIER = "com.nikolaivazquez.$(PRODUCT_NAME)"; - PRODUCT_NAME = "$(PROJECT_NAME)"; - }; - name = Debug; - }; - 52BC953E1F096EE90088A4A2 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - PRODUCT_BUNDLE_IDENTIFIER = "com.nikolaivazquez.$(PRODUCT_NAME)"; - PRODUCT_NAME = "$(PROJECT_NAME)"; - }; - name = Release; - }; - 52D67C731F096F7A008FF44B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_VERSION = A; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "$(SRCROOT)/Unreachable.xcodeproj/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 52D67C741F096F7A008FF44B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_VERSION = A; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "$(SRCROOT)/Unreachable.xcodeproj/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 52D67C811F096F88008FF44B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "$(SRCROOT)/Unreachable.xcodeproj/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 52D67C821F096F88008FF44B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "$(SRCROOT)/Unreachable.xcodeproj/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 52D67C8E1F096F93008FF44B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - APPLICATION_EXTENSION_API_ONLY = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = ""; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "$(SRCROOT)/Unreachable.xcodeproj/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = watchos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 4; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - WATCHOS_DEPLOYMENT_TARGET = 2.0; - }; - name = Debug; - }; - 52D67C8F1F096F93008FF44B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - APPLICATION_EXTENSION_API_ONLY = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = ""; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "$(SRCROOT)/Unreachable.xcodeproj/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = watchos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 4; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - WATCHOS_DEPLOYMENT_TARGET = 2.0; - }; - name = Release; - }; - 52D67C9B1F096F9F008FF44B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = ""; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "$(SRCROOT)/Unreachable.xcodeproj/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 52D67C9C1F096F9F008FF44B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = ""; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "$(SRCROOT)/Unreachable.xcodeproj/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 52D67CB51F098947008FF44B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "$(SRCROOT)/Tests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.12; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "com.nikolaivazquez.Unreachable-macOS-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - }; - name = Debug; - }; - 52D67CB61F098947008FF44B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "$(SRCROOT)/Tests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.12; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = "com.nikolaivazquez.Unreachable-macOS-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - }; - name = Release; - }; - 52D67CC51F098957008FF44B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "$(SRCROOT)/Tests/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 10.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "com.nikolaivazquez.Unreachable-iOS-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - }; - name = Debug; - }; - 52D67CC61F098957008FF44B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "$(SRCROOT)/Tests/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 10.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = "com.nikolaivazquez.Unreachable-iOS-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 52D67CD41F098962008FF44B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "$(SRCROOT)/Tests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "com.nikolaivazquez.Unreachable-tvOS-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - TVOS_DEPLOYMENT_TARGET = 10.2; - }; - name = Debug; - }; - 52D67CD51F098962008FF44B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "$(SRCROOT)/Tests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = "com.nikolaivazquez.Unreachable-tvOS-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - TVOS_DEPLOYMENT_TARGET = 10.2; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 52BC953C1F096EE90088A4A2 /* Build configuration list for PBXProject "Unreachable" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 52BC953D1F096EE90088A4A2 /* Debug */, - 52BC953E1F096EE90088A4A2 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 52D67C751F096F7A008FF44B /* Build configuration list for PBXNativeTarget "Unreachable macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 52D67C731F096F7A008FF44B /* Debug */, - 52D67C741F096F7A008FF44B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 52D67C801F096F88008FF44B /* Build configuration list for PBXNativeTarget "Unreachable iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 52D67C811F096F88008FF44B /* Debug */, - 52D67C821F096F88008FF44B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 52D67C8D1F096F93008FF44B /* Build configuration list for PBXNativeTarget "Unreachable watchOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 52D67C8E1F096F93008FF44B /* Debug */, - 52D67C8F1F096F93008FF44B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 52D67C9A1F096F9F008FF44B /* Build configuration list for PBXNativeTarget "Unreachable tvOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 52D67C9B1F096F9F008FF44B /* Debug */, - 52D67C9C1F096F9F008FF44B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 52D67CB71F098947008FF44B /* Build configuration list for PBXNativeTarget "Unreachable macOS Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 52D67CB51F098947008FF44B /* Debug */, - 52D67CB61F098947008FF44B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 52D67CC41F098957008FF44B /* Build configuration list for PBXNativeTarget "Unreachable iOS Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 52D67CC51F098957008FF44B /* Debug */, - 52D67CC61F098957008FF44B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 52D67CD31F098962008FF44B /* Build configuration list for PBXNativeTarget "Unreachable tvOS Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 52D67CD41F098962008FF44B /* Debug */, - 52D67CD51F098962008FF44B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 52BC95391F096EE90088A4A2 /* Project object */; -} diff --git a/Unreachable.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Unreachable.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index c1b1fcf..0000000 --- a/Unreachable.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Unreachable.xcodeproj/xcshareddata/xcschemes/Unreachable iOS.xcscheme b/Unreachable.xcodeproj/xcshareddata/xcschemes/Unreachable iOS.xcscheme deleted file mode 100644 index 9f99601..0000000 --- a/Unreachable.xcodeproj/xcshareddata/xcschemes/Unreachable iOS.xcscheme +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Unreachable.xcodeproj/xcshareddata/xcschemes/Unreachable macOS.xcscheme b/Unreachable.xcodeproj/xcshareddata/xcschemes/Unreachable macOS.xcscheme deleted file mode 100644 index d1f79a9..0000000 --- a/Unreachable.xcodeproj/xcshareddata/xcschemes/Unreachable macOS.xcscheme +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Unreachable.xcodeproj/xcshareddata/xcschemes/Unreachable tvOS.xcscheme b/Unreachable.xcodeproj/xcshareddata/xcschemes/Unreachable tvOS.xcscheme deleted file mode 100644 index 17f6502..0000000 --- a/Unreachable.xcodeproj/xcshareddata/xcschemes/Unreachable tvOS.xcscheme +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Unreachable.xcodeproj/xcshareddata/xcschemes/Unreachable watchOS.xcscheme b/Unreachable.xcodeproj/xcshareddata/xcschemes/Unreachable watchOS.xcscheme deleted file mode 100644 index f428ae9..0000000 --- a/Unreachable.xcodeproj/xcshareddata/xcschemes/Unreachable watchOS.xcscheme +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/banner.png b/banner.png new file mode 100644 index 0000000..0573b02 Binary files /dev/null and b/banner.png differ diff --git a/ci/install.sh b/ci/install.sh deleted file mode 100755 index c44b453..0000000 --- a/ci/install.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -set -e - -if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - git clone https://github.com/kylef/swiftenv.git "$SWIFTENV_ROOT" - - for version in $SWIFT_VERSIONS; do - swiftenv install "$version" - done -elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - gem install xcpretty -N -fi diff --git a/ci/travis.sh b/ci/travis.sh deleted file mode 100755 index e08e77b..0000000 --- a/ci/travis.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env bash - -set -e -o pipefail - -if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - for version in $SWIFT_VERSIONS; do - swiftenv global "$version" - swiftenv version - - swift test - done -elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - xcodebuild -version - - xcodebuild \ - -project $FRAMEWORK_NAME.xcodeproj \ - -scheme "$FRAMEWORK_NAME macOS" \ - ONLY_ACTIVE_ARCH=YES \ - test | xcpretty - - xcodebuild \ - -project $FRAMEWORK_NAME.xcodeproj \ - -scheme "$FRAMEWORK_NAME iOS" \ - -sdk iphonesimulator \ - -destination "platform=iOS Simulator,name=iPhone 6,OS=10.1" \ - ONLY_ACTIVE_ARCH=NO \ - test | xcpretty - - xcodebuild \ - -project $FRAMEWORK_NAME.xcodeproj \ - -scheme "$FRAMEWORK_NAME tvOS" \ - -sdk appletvsimulator \ - -destination "platform=tvOS Simulator,name=Apple TV 1080p" \ - ONLY_ACTIVE_ARCH=NO \ - test | xcpretty - - pod lib lint --verbose --private --allow-warnings --swift-version="$SWIFT_VERSION" -fi