Skip to content

Commit

Permalink
Alamofire 5! (#2375)
Browse files Browse the repository at this point in the history
* Drop iOS 8 / macOS 10.10 support and remove all workarounds. (#2254)

* Decodable response serialization and major refactor (#2265)

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Remove unnecessary assert.

* Refactor serializers to use throws instead of Result.

* Refactor Lock Usage and Introduce Protector (#2290)

* Drop iOS 8 / macOS 10.10 support and remove all workarounds.

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Initial versions of Mutex and Protector.

* Rename value to unsafeValue.

* Add UnfairLock.

* Use UnfairLock on supported OSes, hide everything.

* Clean whitespace.

* Cleanup based on comments.

* Remove TODO.

* Refactor ServerTrustPolicy (#2344)

* Drop iOS 8 / macOS 10.10 support and remove all workarounds.

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Initial versions of Mutex and Protector.

* Rename value to unsafeValue.

* Add UnfairLock.

* Use UnfairLock on supported OSes, hide everything.

* Clean whitespace.

* Initial protocol abstraction and multiple evaluation implementation.

* Go back to simpler API, add composite case.

* Refactor away from enum.

* Remove custom tests.

* Move key comparison to AnyHashable.

* Update all documenation and naming.

* Fixup merge.

* Whitespace cleanup.

* Brotli Support (#2442)

* Drop iOS 8 / macOS 10.10 support and remove all workarounds.

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Initial versions of Mutex and Protector.

* Rename value to unsafeValue.

* Add UnfairLock.

* Use UnfairLock on supported OSes, hide everything.

* Clean whitespace.

* Initial protocol abstraction and multiple evaluation implementation.

* Go back to simpler API, add composite case.

* Refactor away from enum.

* Remove custom tests.

* Move key comparison to AnyHashable.

* Update all documenation and naming.

* Add brotli support to default Accept-Encoding header.

* Add tests for encodings, make listing dynamic.

* Fixes after bad merges.

* Added radar to the README for the URLSessionTaskMetrics issue on watchOS. (#2387)

* Update to #2389 (#2443)

* Clarify OS versions affected by download resume bug (#2389)

* Rephrase a bit.

* Set appropriate protection levels on NetworkReachabilityManager members (#2393)

* Update Installation guide to current version (#2395)

* Update for Swift 4.1 / Xcode 9.3. (#2441)

* Update for Swift 4.1 / Xcode 9.3.

* Update .travis.yml.

* Update Ruby/Travis.

* ResultTests: Update and fix typos (#2416)

Using String.count instead of String.characters.count
Fix typos in some test failure messages
Asserting nil and not nil with XCTAssertNil and XCTAssertNotNil

* Include explicit xcpretty to fix Travis.

* Revert to Ruby 2.4.2 due to Travis stupidity.

* Add configurable parameter handling to URLEncoding. (#2431)

* Add configurable array parameter handling to URLEncoding.

* Add configurable boolean parameter handling to URLEncoding.

* Addressing PR feedback for URLEncoding.

* Documentation for BoolEncoding and ArrayEncoding options in URLEncoding.

* Remove pledgie.com (#2446)

* Typo in the example code - one missing ( (#2445)

* Minor doc reorganization. (#2453)

* Move templates into .github folder, in preparation for more.

* Update README to fix links geneated by Jazzy.

* extend userInfo-dict of .DidComplete-Notification to contain responseData of DataTasks (#2427)

* extend userInfo-dict of .DidComplete-Notification to contain responseData of DataTasks

* ResponseBodyInNotification: fix unittests sometimes failing on travis ci

* Update for 4.7 release.

* Add period.

* Decodable response serialization and major refactor (#2265)

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Remove unnecessary assert.

* Refactor serializers to use throws instead of Result.

* Refactor Lock Usage and Introduce Protector (#2290)

* Drop iOS 8 / macOS 10.10 support and remove all workarounds.

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Initial versions of Mutex and Protector.

* Rename value to unsafeValue.

* Add UnfairLock.

* Use UnfairLock on supported OSes, hide everything.

* Clean whitespace.

* Cleanup based on comments.

* Remove TODO.

* Fix for Swift 4.

* Update for compactMap.

* Fixes from merging.

* Update .swift-version.

* Alamofire 5 Core Rewrite! (#2521)

* Works towards integrating rewrite.

* Fix more tests.

* Add EventMonitor, work towards completion.

* Refactor request creation and lifetime methods, implement retry.

* Fix asynchronous state changes and cancellation during async work.

* Update how we turn strings into data.

* Reimplement multipart form data uploads.

* Implement downloads, progress, and enable tests.

* Remove some generics, cleanup whitespace.

* Remove another generic.

* Add URLSession intializer and default configuration.

* Update podspec for new requirements, link CFNetwork.

* Finalize EventMonitor events, other misc. cleanup.

* Refactor response description and timings.

* Format headers more readably.

* Description cleanup.

* Remove Timeline.

* Cleanup Request and add descriptions.

* Start refactoring notifications.

* Refactor notifications, add default event monitor implementation.

* Revert find/replace change to CHANGELOG.

* Remove experimental code.

* Mark some TODO refinements.

* Switch to a single mutable thread-safe state, reenable validation tests.

* Clean up whitespace.

* Mark property public instead of open.

* Add Alamofire root enum as a namespace for global functionality.

* Cleanup Alamofire global functionality, other cleanup.

* Cleanup some TODOs, start adding more docs.

* Cleanup authorization headers.

* Undo some unwanted changes.

* Continue work on documentation.

* Update how data is created from string.

* Refactor file downloads to always move file.

* Update event monitor method for new fileURL.

* Make acceptableContentTypes an autoclosure, as request is async.

* Enable thread sanitizer for iOS and tvOS testing.

* Fix iOS example.

* Fix test whose value varies by Swift version.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Alamofire 5: Server Trust Errors (#2608)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Refactor evaluation API, DRY up a little bit.

* Update convienience property.

* Add comment for public `Error` API.

* Async RequestAdapter (#2628)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Make RequestAdapter async.

* Squashed commit of the following:

commit 32573d0
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:38:03 2018 -0500

    Revert CocoaPods version.

commit 657b2e5
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:34:07 2018 -0500

    Disable swift_versions for now.

commit d0208ad
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:22:04 2018 -0500

    Updates for 4.8.0 (#2648)

    * Prepare for 4.8 update.

    * Update Jazzy docs.

    * Update Swift packages.

    * Add os for Travis.

    * Move base Swift vesion to 4.

    * Update Travis to use bundle install, include xcpretty.

    * Fix watchOS targets, tests.

    * Add support for swift_versions.

    * Update CHANGELOG and .ruby-version.

    * Cache bundler and RVM.

    * Remove manual bundle install.

    * Use Ruby 2.4.5.

    * Remove manual RVM cache.

    * Remove now flaky resume data tests.

    * Fix non-deterministic tests.

    * Reenable pod lib lint step.

commit cbe9df6
Author: Stéphane Copin <stephane.copin@live.fr>
Date:   Sun Nov 25 01:05:44 2018 +0100

    Makes rethrows all methods that can be marked as rethrows (#2488)

    * Makes rethrows all methods that can be marked as rethrows

    * Undo throwing changes to Response.

    * Remove throwing changes from map.

commit eb7610c
Author: Giulio <giulio.lombardo@ynap.com>
Date:   Sun Nov 25 00:58:13 2018 +0100

    Improve cURLRepresentation implementation readability (#2625)

    * Improve cURLRepresentation variable readability

    * Further condense header handling.

commit 9153800
Author: Wanbok Choi (Wayne) <choi@wanbok.com>
Date:   Sun Nov 25 08:36:02 2018 +0900

    Add re-designed Package.swift manifest for swift 4 (#2621)

commit ed37179
Author: jaltreuter <jaltreuter@gmail.com>
Date:   Sat Nov 24 15:35:29 2018 -0800

    Add optional encoding completion callback queue argument for multipart form upload (#2620)

    * Add optional encoding completion callback queue argument for multipart form upload

    * Use queue argument of upload function when calling alternate upload function

commit a5cd9e2
Author: Jon Shier <jon@jonshier.com>
Date:   Mon Aug 20 01:16:56 2018 -0400

    Fix documentation_url in podspec.

commit 15d3312
Author: Aryeh Greenberg <aryeh@aryehgreenberg.com>
Date:   Mon Aug 20 00:57:32 2018 -0400

    Should explicitly specify documentation url (#2569)

    Cocoadocs does not work anymore. To avoid a 404 when a user clicks the documentation url on cocoapods, you need to specify a url.

commit 85badad
Author: Jon Shier <jon@jonshier.com>
Date:   Tue Jul 31 16:37:42 2018 -0400

    Add back note about using SO in general.

commit fab3c19
Author: Jon Shier <jon@jonshier.com>
Date:   Mon Jul 30 23:03:43 2018 -0400

    Update the README for the new forum.

commit 61a780f
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:46:35 2018 -0400

    Update Podspec.

commit 7286193
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:45:12 2018 -0400

    Fix CHANGELOG link.

commit 0e41f50
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:42:50 2018 -0400

    Prepare 4.7.3 Release (#2553)

    * Updates for 4.7.3 release.

    * Update CHANGELOG.

commit b2bafc1
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 21:31:09 2018 -0400

    Update for Xcode 10 and Swift 4.2 (#2552)

    * Update for Xcode 10 and Swift 4.2.

    * Revert Travis update.

commit c563be5
Author: Karim <karimhm@users.noreply.github.com>
Date:   Sat Jul 7 23:27:48 2018 +0100

    Use HTTPS links in the documentation (#2550)

    * Use HTTPS links in CHANGELOG

    Update CHANGELOG to use HTTPS links instead of HTTP

    * Use HTTPS links in CONTRIBUTING

    Update CONTRIBUTING to use HTTPS links instead of HTTP

    * Use HTTPS links in README

    Update README to use HTTPS links instead of HTTP if supported

    * Use HTTPS links in Usage.md

    Update Usage.md to use HTTPS links instead of HTTP

commit ff16ce9
Author: Xing He <de@sent.as>
Date:   Sun Jun 17 06:06:48 2018 +0800

    Fix code sytle in documentation (#2484)

commit 5773768
Author: Constantin Lungu <nemesis@users.noreply.github.com>
Date:   Sun Jun 17 01:06:14 2018 +0300

    Fix indentation in Usage.md (#2505)

* Squashed commit of the following:

commit 32573d0
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:38:03 2018 -0500

    Revert CocoaPods version.

commit 657b2e5
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:34:07 2018 -0500

    Disable swift_versions for now.

commit d0208ad
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:22:04 2018 -0500

    Updates for 4.8.0 (#2648)

    * Prepare for 4.8 update.

    * Update Jazzy docs.

    * Update Swift packages.

    * Add os for Travis.

    * Move base Swift vesion to 4.

    * Update Travis to use bundle install, include xcpretty.

    * Fix watchOS targets, tests.

    * Add support for swift_versions.

    * Update CHANGELOG and .ruby-version.

    * Cache bundler and RVM.

    * Remove manual bundle install.

    * Use Ruby 2.4.5.

    * Remove manual RVM cache.

    * Remove now flaky resume data tests.

    * Fix non-deterministic tests.

    * Reenable pod lib lint step.

commit cbe9df6
Author: Stéphane Copin <stephane.copin@live.fr>
Date:   Sun Nov 25 01:05:44 2018 +0100

    Makes rethrows all methods that can be marked as rethrows (#2488)

    * Makes rethrows all methods that can be marked as rethrows

    * Undo throwing changes to Response.

    * Remove throwing changes from map.

commit eb7610c
Author: Giulio <giulio.lombardo@ynap.com>
Date:   Sun Nov 25 00:58:13 2018 +0100

    Improve cURLRepresentation implementation readability (#2625)

    * Improve cURLRepresentation variable readability

    * Further condense header handling.

commit 9153800
Author: Wanbok Choi (Wayne) <choi@wanbok.com>
Date:   Sun Nov 25 08:36:02 2018 +0900

    Add re-designed Package.swift manifest for swift 4 (#2621)

commit ed37179
Author: jaltreuter <jaltreuter@gmail.com>
Date:   Sat Nov 24 15:35:29 2018 -0800

    Add optional encoding completion callback queue argument for multipart form upload (#2620)

    * Add optional encoding completion callback queue argument for multipart form upload

    * Use queue argument of upload function when calling alternate upload function

commit a5cd9e2
Author: Jon Shier <jon@jonshier.com>
Date:   Mon Aug 20 01:16:56 2018 -0400

    Fix documentation_url in podspec.

commit 15d3312
Author: Aryeh Greenberg <aryeh@aryehgreenberg.com>
Date:   Mon Aug 20 00:57:32 2018 -0400

    Should explicitly specify documentation url (#2569)

    Cocoadocs does not work anymore. To avoid a 404 when a user clicks the documentation url on cocoapods, you need to specify a url.

commit 85badad
Author: Jon Shier <jon@jonshier.com>
Date:   Tue Jul 31 16:37:42 2018 -0400

    Add back note about using SO in general.

commit fab3c19
Author: Jon Shier <jon@jonshier.com>
Date:   Mon Jul 30 23:03:43 2018 -0400

    Update the README for the new forum.

commit 61a780f
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:46:35 2018 -0400

    Update Podspec.

commit 7286193
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:45:12 2018 -0400

    Fix CHANGELOG link.

commit 0e41f50
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:42:50 2018 -0400

    Prepare 4.7.3 Release (#2553)

    * Updates for 4.7.3 release.

    * Update CHANGELOG.

commit b2bafc1
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 21:31:09 2018 -0400

    Update for Xcode 10 and Swift 4.2 (#2552)

    * Update for Xcode 10 and Swift 4.2.

    * Revert Travis update.

commit c563be5
Author: Karim <karimhm@users.noreply.github.com>
Date:   Sat Jul 7 23:27:48 2018 +0100

    Use HTTPS links in the documentation (#2550)

    * Use HTTPS links in CHANGELOG

    Update CHANGELOG to use HTTPS links instead of HTTP

    * Use HTTPS links in CONTRIBUTING

    Update CONTRIBUTING to use HTTPS links instead of HTTP

    * Use HTTPS links in README

    Update README to use HTTPS links instead of HTTP if supported

    * Use HTTPS links in Usage.md

    Update Usage.md to use HTTPS links instead of HTTP

commit ff16ce9
Author: Xing He <de@sent.as>
Date:   Sun Jun 17 06:06:48 2018 +0800

    Fix code sytle in documentation (#2484)

commit 5773768
Author: Constantin Lungu <nemesis@users.noreply.github.com>
Date:   Sun Jun 17 01:06:14 2018 +0300

    Fix indentation in Usage.md (#2505)

* Real HTTPHeaders type. (#2629)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Make RequestAdapter async.

* Add HTTPHeaders type.

* Update for review suggestions.

* Add HTTPHeaders tests, cleanup whitespace.

* Add inline documentation.

* Updates for review.

* Whitespace cleanup.

* Squashed commit of the following:

commit 7a73af6
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:39:20 2018 -0500

    Async RequestAdapter (#2628)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Make RequestAdapter async.

commit ccfb96a
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:32:04 2018 -0500

    Alamofire 5: Server Trust Errors (#2608)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Refactor evaluation API, DRY up a little bit.

    * Update convienience property.

    * Add comment for public `Error` API.

* Add add methods to HTTPHeaders, whitespace cleanup.

* Call add instead of update.

* Encodable Request Parameters (#2637)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Make RequestAdapter async.

* Add HTTPHeaders type.

* Update for review suggestions.

* Add HTTPHeaders tests, cleanup whitespace.

* Add inline documentation.

* Prototype encodable request support.

* Formalize ParamterEncoder protocol and initial API.

* Whitespace cleanup.

* Add URLEncodedFormEncoder.

* Sort HTTPHeader methods.

* Implement and partially test URLEncodedFormParameterEncoder.

* Remove unnecessary TODOs.

* Correct spelling in the file name.

* Update errors, documentation, and tests.

* Allow customization of space encoding and percent escaped character set.

* Enabled code coverage for iOS, macOS, and tvOS framework schemes (#2645)

* Updates for review.

* Whitespace cleanup.

* Whitespace cleanup.

* Update comments, DRY up single value container.

* Add additional tests.

* Squashed commit of the following:

commit 7a73af6
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:39:20 2018 -0500

    Async RequestAdapter (#2628)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Make RequestAdapter async.

commit ccfb96a
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:32:04 2018 -0500

    Alamofire 5: Server Trust Errors (#2608)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Refactor evaluation API, DRY up a little bit.

    * Update convienience property.

    * Add comment for public `Error` API.

* Add add methods to HTTPHeaders, whitespace cleanup.

* Call add instead of update.

* Add additional tests.

* Add more tests, remove dead code.

* More tests for failing optional encodes.

* Customizable Empty Response Handling (#2639)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Make RequestAdapter async.

* Add HTTPHeaders type.

* Update for review suggestions.

* Add HTTPHeaders tests, cleanup whitespace.

* Add inline documentation.

* Prototype encodable request support.

* Formalize ParamterEncoder protocol and initial API.

* Whitespace cleanup.

* Add URLEncodedFormEncoder.

* Sort HTTPHeader methods.

* Implement and partially test URLEncodedFormParameterEncoder.

* Remove unnecessary TODOs.

* Correct spelling in the file name.

* Update errors, documentation, and tests.

* Support customizable empty reponse codes and methods.

* Allow customization of space encoding and percent escaped character set.

* Allow customization of space encoding and percent escaped character set.

* Alamofire 5: Empty Response Refactor (2nd Refactor) (#2646)

* Removed AnyResponseSerializer since it is no longer in use

* Moved empty request and response status code logic into protocol extension

* Squashed commit of the following:

commit a3dc191
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 17:35:17 2018 -0500

    Add additional tests.

commit ae8fde4
Merge: 34f3668 ea48749
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 16:43:12 2018 -0500

    Merge remote-tracking branch 'origin/feature/httpheaders' into feature/encodable-requests

    # Conflicts:
    #	Source/AFError.swift

commit ea48749
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 16:25:48 2018 -0500

    Call add instead of update.

commit 2d73562
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 16:24:48 2018 -0500

    Add add methods to HTTPHeaders, whitespace cleanup.

commit f2bf395
Merge: 410a2e3 7a73af6
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:45:38 2018 -0500

    Merge remote-tracking branch 'origin/alamofire5' into feature/httpheaders

    # Conflicts:
    #	Tests/SessionManagerTests.swift

commit 410a2e3
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:44:15 2018 -0500

    Squashed commit of the following:

    commit 7a73af6
    Author: Jon Shier <jon@jonshier.com>
    Date:   Wed Nov 21 19:39:20 2018 -0500

        Async RequestAdapter (#2628)

        * Work towards server trust enhancements.

        * Refactor the rewrite! (#2585)

        * Refactor request storage out of SessionDelegate.

        * Continue development.

        * Rename SessionManager -> Session, update environment.

        * Rename global Alamofire enum to AF, to avoid collision.

        * Sort project.

        * Whitespace cleanup.

        * Reimplement module changes from bad rebase.

        * Finalize errors, refactor testing.

        * Standardize self-signed support, add error descriptions.

        * Remove per-target setting.

        * Make RequestAdapter async.

    commit ccfb96a
    Author: Jon Shier <jon@jonshier.com>
    Date:   Wed Nov 21 19:32:04 2018 -0500

        Alamofire 5: Server Trust Errors (#2608)

        * Work towards server trust enhancements.

        * Refactor the rewrite! (#2585)

        * Refactor request storage out of SessionDelegate.

        * Continue development.

        * Rename SessionManager -> Session, update environment.

        * Rename global Alamofire enum to AF, to avoid collision.

        * Sort project.

        * Whitespace cleanup.

        * Reimplement module changes from bad rebase.

        * Finalize errors, refactor testing.

        * Standardize self-signed support, add error descriptions.

        * Remove per-target setting.

        * Refactor evaluation API, DRY up a little bit.

        * Update convienience property.

        * Add comment for public `Error` API.

commit 7a73af6
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:39:20 2018 -0500

    Async RequestAdapter (#2628)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Make RequestAdapter async.

commit ccfb96a
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:32:04 2018 -0500

    Alamofire 5: Server Trust Errors (#2608)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Refactor evaluation API, DRY up a little bit.

    * Update convienience property.

    * Add comment for public `Error` API.

commit 34f3668
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:26:32 2018 -0500

    Add additional tests.

commit ba2e15c
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:56:14 2018 -0500

    Update comments, DRY up single value container.

commit 38d764b
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:36:01 2018 -0500

    Whitespace cleanup.

commit b0cf0c5
Merge: 22ccd91 4adae8c
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:35:16 2018 -0500

    Merge remote-tracking branch 'origin/feature/httpheaders' into feature/encodable-requests

commit 4adae8c
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:30:59 2018 -0500

    Whitespace cleanup.

commit aaa3e6a
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:29:30 2018 -0500

    Updates for review.

commit 22ccd91
Author: Christian Noon <christian.noon@gmail.com>
Date:   Wed Nov 21 14:20:08 2018 -0800

    Enabled code coverage for iOS, macOS, and tvOS framework schemes (#2645)

* Update tests and clean up default value handling.

* Fix bad merge.

* Fix misspelling.

* Refactor Notifications (#2654)

* Refactor notifications.

* Add Foundation import for SPM.

* Alamofire 5: Project Cleanup and Unification (#2655)

* Whitespace cleanup.

* Reupdate Example app.

* Update project to Xcode 10 format, move settings into base if possible.

* Adopt recommended project settings.

* Attempt to make tests more reliable.

* Another attempt at test reliability.

* Another attempt at test stabalization.

* Remove debug build to speed up testing.

* Ensure Swift 4.2 for local pod builds.

* Fix #2658: default empty response values non-public (#2659)

* Alamofire 5: Abstract decoders for decodable response serialization (#2657)

* Cleanup previous changes.

* Add DataDecoder, refactor DecodableResponseSerializer.

* Add top level doc comment for DataDecoder.

* Remove unnecessary access modifier.

* Prepare for Alamofire 5.0.0.beta.1 (#2660)

* Start CHANGELOG.

* Finalize README.

* Update Jazzy docs.

* Update README.

* Update for review.

* Fix test availability.
  • Loading branch information
jshier committed Dec 7, 2018
1 parent 8c418e6 commit 3e488dc
Show file tree
Hide file tree
Showing 281 changed files with 87,770 additions and 36,550 deletions.
2 changes: 1 addition & 1 deletion .swift-version
@@ -1 +1 @@
3.2
4.2
11 changes: 0 additions & 11 deletions .travis.yml
Expand Up @@ -18,32 +18,21 @@ env:
- DESTINATION="OS=5.1,name=Apple Watch Series 4 - 44mm" SCHEME="$WATCHOS_FRAMEWORK_SCHEME" RUN_TESTS="NO" BUILD_EXAMPLE="NO" POD_LINT="NO"
- DESTINATION="OS=4.2,name=Apple Watch Series 3 - 42mm" SCHEME="$WATCHOS_FRAMEWORK_SCHEME" RUN_TESTS="NO" BUILD_EXAMPLE="NO" POD_LINT="NO"
- DESTINATION="OS=3.2,name=Apple Watch Series 2 - 42mm" SCHEME="$WATCHOS_FRAMEWORK_SCHEME" RUN_TESTS="NO" BUILD_EXAMPLE="NO" POD_LINT="NO"
- DESTINATION="OS=2.2,name=Apple Watch - 42mm" SCHEME="$WATCHOS_FRAMEWORK_SCHEME" RUN_TESTS="NO" BUILD_EXAMPLE="NO" POD_LINT="NO"

- DESTINATION="OS=12.1,name=iPhone XS" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
- DESTINATION="OS=11.4,name=iPhone X" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
- DESTINATION="OS=10.3.1,name=iPhone 7 Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
- DESTINATION="OS=9.3,name=iPhone 6" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
- DESTINATION="OS=8.4,name=iPhone 4S" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"

- DESTINATION="OS=12.1,name=Apple TV 4K" SCHEME="$TVOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="NO" POD_LINT="NO"
- DESTINATION="OS=11.4,name=Apple TV 4K" SCHEME="$TVOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="NO" POD_LINT="NO"
- DESTINATION="OS=10.2,name=Apple TV 1080p" SCHEME="$TVOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="NO" POD_LINT="NO"
- DESTINATION="OS=9.2,name=Apple TV 1080p" SCHEME="$TVOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="NO" POD_LINT="NO"

- DESTINATION="arch=x86_64" SCHEME="$MACOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="NO" POD_LINT="YES"
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks

# Build Framework in Debug and Run Tests if specified
- if [ $RUN_TESTS == "YES" ]; then
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty;
else
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty;
fi

# Build Framework in Release and Run Tests if specified
- if [ $RUN_TESTS == "YES" ]; then
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty;
Expand Down
12 changes: 7 additions & 5 deletions Alamofire.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Alamofire'
s.version = '4.8.0'
s.version = '5.0.0.beta.1'
s.license = 'MIT'
s.summary = 'Elegant HTTP Networking in Swift'
s.homepage = 'https://github.com/Alamofire/Alamofire'
Expand All @@ -9,10 +9,12 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/Alamofire/Alamofire.git', :tag => s.version }
s.documentation_url = 'https://alamofire.github.io/Alamofire/'

s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '3.0'

s.source_files = 'Source/*.swift'

s.frameworks = 'CFNetwork'
end
563 changes: 338 additions & 225 deletions Alamofire.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0930"
LastUpgradeVersion = "1010"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -40,7 +40,19 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
enableThreadSanitizer = "YES"
codeCoverageEnabled = "YES"
onlyGenerateCoverageForSpecifiedTargets = "YES"
shouldUseLaunchSchemeArgsEnv = "NO">
<CodeCoverageTargets>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F8111E3219A95C8B0040E7D1"
BuildableName = "Alamofire.framework"
BlueprintName = "Alamofire iOS"
ReferencedContainer = "container:Alamofire.xcodeproj">
</BuildableReference>
</CodeCoverageTargets>
<Testables>
<TestableReference
skipped = "NO">
Expand Down
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0930"
LastUpgradeVersion = "1010"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -40,7 +40,19 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
enableThreadSanitizer = "YES"
codeCoverageEnabled = "YES"
onlyGenerateCoverageForSpecifiedTargets = "YES"
shouldUseLaunchSchemeArgsEnv = "NO">
<CodeCoverageTargets>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4DD67C0A1A5C55C900ED2280"
BuildableName = "Alamofire.framework"
BlueprintName = "Alamofire macOS"
ReferencedContainer = "container:Alamofire.xcodeproj">
</BuildableReference>
</CodeCoverageTargets>
<Testables>
<TestableReference
skipped = "NO">
Expand Down
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0930"
LastUpgradeVersion = "1010"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -40,7 +40,19 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
enableThreadSanitizer = "YES"
codeCoverageEnabled = "YES"
onlyGenerateCoverageForSpecifiedTargets = "YES"
shouldUseLaunchSchemeArgsEnv = "NO">
<CodeCoverageTargets>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4CF626EE1BA7CB3E0011A099"
BuildableName = "Alamofire.framework"
BlueprintName = "Alamofire tvOS"
ReferencedContainer = "container:Alamofire.xcodeproj">
</BuildableReference>
</CodeCoverageTargets>
<Testables>
<TestableReference
skipped = "NO">
Expand Down
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0930"
LastUpgradeVersion = "1010"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0930"
LastUpgradeVersion = "1010"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
50 changes: 48 additions & 2 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,9 @@
All notable changes to this project will be documented in this file.
`Alamofire` adheres to [Semantic Versioning](https://semver.org/).

#### 5.x Releases
- `5.0.0` Betas - [5.0.0.beta.1](#500.beta.1)

#### 4.x Releases
- `4.8.x` Releases - [4.8.0](#480)
- `4.7.x` Releases - [4.7.0](#470) | [4.7.1](#471) | [4.7.2](#472) | [4.7.3](#473)
Expand Down Expand Up @@ -34,12 +37,55 @@ All notable changes to this project will be documented in this file.
- `1.0.x` Releases - [1.0.0](#100) | [1.0.1](#101)

---
## [5.0.0.beta.1](https://github.com/Alamofire/Alamofire/releases/tag/5.0.0.beta.1)
Released on 2018-12-06. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A5.0.0.beta.1). **Note:** Alamofire will not be following semantic versioning during the beta process. There may be breaking changes until 5.0.0 is released.

#### Added
- Support for `Decodable` response serialization with `responseDecodable`.
- Added by [Jon Shier](https://github.com/jshier) in Pull Requests [#2265](https://github.com/Alamofire/Alamofire/pull/2265) and [#2657](https://github.com/Alamofire/Alamofire/pull/2657).
- Support for Brotli `Content-Encoding` in Alamofire's default headers.
- Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2346](https://github.com/Alamofire/Alamofire/pull/2346).
- `HTTPHeaders` type and convenience APIs.
- Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2629](https://github.com/Alamofire/Alamofire/pull/2629).
- Support for `Encodable` parameter types with `JSONParameterEncoder` and `URLEncodedFormParameterEncoder`.
- Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2637](https://github.com/Alamofire/Alamofire/pull/2637).
- Customizable empty reponse handling in response serializers.
- Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2639](https://github.com/Alamofire/Alamofire/pull/2639).
- `EventMonitor` protocol, to tap in to internal Alamofire lifetime events.
- Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2521](https://github.com/Alamofire/Alamofire/pull/2521).
- `ServerTrustFailureReason` to `AFError`.
- Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2608](https://github.com/Alamofire/Alamofire/pull/2608).
- Asynchronous request creation.
- Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2521](https://github.com/Alamofire/Alamofire/pull/2521).

#### Updated
- `ResponseSerializer` and associated protocols' requirements and implementations.
- Updated by [Jon Shier](https://github.com/jshier) in Pull Requests [#2265](https://github.com/Alamofire/Alamofire/pull/2265) and [#2639](https://github.com/Alamofire/Alamofire/pull/2639).
- `RequestAdapter` to allow for asynchronous adaptation.
- Updated by [Jon Shier](https://github.com/jshier) in Pull Request [#2628](https://github.com/Alamofire/Alamofire/pull/2628) .
- `SessionManager` to `Session`, with rewritten implementation and API.
- Updated by [Jon Shier](https://github.com/jshier) in Pull Request [#2521](https://github.com/Alamofire/Alamofire/pull/2521).
- `Request`, `DataRequest`, `UploadRequest`, and `DownloadRequest` with rewritten implementation and API.
- Updated by [Jon Shier](https://github.com/jshier) in Pull Request [#2521](https://github.com/Alamofire/Alamofire/pull/2521).
- Top level `request` API to be inside a real `AF` namespace enum rather than unnecessary `Alamofire.` usage.
- Updated by [Jon Shier](https://github.com/jshier) in Pull Request [#2585](https://github.com/Alamofire/Alamofire/pull/2585).

#### Removed
- Support for iOS < 10, macOS < 10.12, tvOS < 10, watchOS < 3.
- Removed by [Jon Shier](https://github.com/jshier) in Pull Requests [#2254](https://github.com/Alamofire/Alamofire/pull/2254) and [#2521](https://github.com/Alamofire/Alamofire/pull/2521).
- Support for `PropertyListSerialization` and `responsePropertyList`.
- Removed by [Jon Shier](https://github.com/jshier) in Pull Request [#2265](https://github.com/Alamofire/Alamofire/pull/2265).
- Support for `URLSessionStreamTask`.
- Removed by [Jon Shier](https://github.com/jshier) in Pull Request [#2521](https://github.com/Alamofire/Alamofire/pull/2521).
- Closure override and customization API.
- Removed by [Jon Shier](https://github.com/jshier) in Pull Request [#2521](https://github.com/Alamofire/Alamofire/pull/2521).
- `Timeline` type, as Alamofire now gathers `URLSessionTaskMetrics` for every request.
- Removed by [Jon Shier](https://github.com/jshier) in Pull Request [#2521](https://github.com/Alamofire/Alamofire/pull/2521).

## [4.8.0](https://github.com/Alamofire/Alamofire/releases/tag/4.8.0)
Released on 2018-11-24. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A4.8.0).

#### Added
- Support for CocoaPod's `swift_versions` attribute.
- Added by [Jon Shier](https://github.com/jshier) in Pull Request [#2648](https://github.com/Alamofire/Alamofire/pull/2648).
- Optional encoding completion callback queue for multipart upload.
- Added by [jaltreuter](https://github.com/jaltreuter) in Pull Request [#2620](https://github.com/Alamofire/Alamofire/pull/2620).
- Versioned Swift package manifests.
Expand Down
4 changes: 1 addition & 3 deletions Example/Source/AppDelegate.swift
Expand Up @@ -33,9 +33,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDele

func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?)
-> Bool
{
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
let splitViewController = window!.rootViewController as! UISplitViewController
let navigationController = splitViewController.viewControllers.last as! UINavigationController
navigationController.topViewController!.navigationItem.leftBarButtonItem = splitViewController.displayModeButtonItem
Expand Down
2 changes: 1 addition & 1 deletion Example/Source/DetailViewController.swift
Expand Up @@ -30,7 +30,7 @@ class DetailViewController: UITableViewController {
case headers, body
}

var request: Alamofire.Request? {
var request: Request? {
didSet {
oldValue?.cancel()

Expand Down
10 changes: 5 additions & 5 deletions Example/Source/MasterViewController.swift
Expand Up @@ -66,23 +66,23 @@ class MasterViewController: UITableViewController {
switch segue.identifier! {
case "GET":
detailViewController.segueIdentifier = "GET"
return Alamofire.request("https://httpbin.org/get")
return AF.request("https://httpbin.org/get")
case "POST":
detailViewController.segueIdentifier = "POST"
return Alamofire.request("https://httpbin.org/post", method: .post)
return AF.request("https://httpbin.org/post", method: .post)
case "PUT":
detailViewController.segueIdentifier = "PUT"
return Alamofire.request("https://httpbin.org/put", method: .put)
return AF.request("https://httpbin.org/put", method: .put)
case "DELETE":
detailViewController.segueIdentifier = "DELETE"
return Alamofire.request("https://httpbin.org/delete", method: .delete)
return AF.request("https://httpbin.org/delete", method: .delete)
case "DOWNLOAD":
detailViewController.segueIdentifier = "DOWNLOAD"
let destination = DownloadRequest.suggestedDownloadDestination(
for: .cachesDirectory,
in: .userDomainMask
)
return Alamofire.download("https://httpbin.org/stream/1", to: destination)
return AF.download("https://httpbin.org/stream/1", to: destination)
default:
return nil
}
Expand Down
46 changes: 24 additions & 22 deletions Example/iOS Example.xcodeproj/project.pbxproj
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objectVersion = 51;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -205,7 +205,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0720;
LastUpgradeCheck = 0930;
LastUpgradeCheck = 1000;
ORGANIZATIONNAME = Alamofire;
TargetAttributes = {
F8111E0419A951050040E7D1 = {
Expand All @@ -215,7 +215,7 @@
};
};
buildConfigurationList = F8111E0019A951050040E7D1 /* Build configuration list for PBXProject "iOS Example" */;
compatibilityVersion = "Xcode 3.2";
compatibilityVersion = "Xcode 10.0";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
Expand Down Expand Up @@ -339,8 +339,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
Expand Down Expand Up @@ -382,26 +380,23 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MACOSX_DEPLOYMENT_TARGET = 10.12;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
TVOS_DEPLOYMENT_TARGET = 9.0;
WATCHOS_DEPLOYMENT_TARGET = 2.0;
TVOS_DEPLOYMENT_TARGET = 10.0;
WATCHOS_DEPLOYMENT_TARGET = 3.0;
};
name = Debug;
};
F8111E2219A951050040E7D1 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
Expand Down Expand Up @@ -436,17 +431,16 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = NO;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MACOSX_DEPLOYMENT_TARGET = 10.12;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
TVOS_DEPLOYMENT_TARGET = 9.0;
TVOS_DEPLOYMENT_TARGET = 10.0;
VALIDATE_PRODUCT = YES;
WATCHOS_DEPLOYMENT_TARGET = 2.0;
WATCHOS_DEPLOYMENT_TARGET = 3.0;
};
name = Release;
};
Expand All @@ -456,9 +450,13 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
INFOPLIST_FILE = Resources/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "org.alamofire.iOS-Example";
PRODUCT_NAME = "iOS Example";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
Expand All @@ -468,9 +466,13 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
INFOPLIST_FILE = Resources/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "org.alamofire.iOS-Example";
PRODUCT_NAME = "iOS Example";
SWIFT_OPTIMIZATION_LEVEL = "-O";
};
name = Release;
};
Expand Down

0 comments on commit 3e488dc

Please sign in to comment.