fastlane beta fails after successful archive creation. [!] Error packaging up the application

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Running fastlane beta --verbose results in the error displayed below. The gym error log doesn't show an error, the last line is ** ARCHIVE SUCCEEDED **. I was able to successfully build and deploy version 0.0.1 of my app to Beta/Crashlytics, despite this error being generated. However, in attempting to build/deploy version 0.0.2 I am unable to deploy.
Complete output when running fastlane, including the stack trace and command used
/Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/interface.rb:145:in `user_error!': [!] Error packaging up the application (FastlaneCore::Interface::FastlaneError)
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/ui.rb:14:in `method_missing'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gym-1.11.3/lib/gym/error_handler.rb:96:in `handle_package_error'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gym-1.11.3/lib/gym/runner.rb:125:in `block in package_app'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane_core-0.52.1/lib/fastlane_core/command_executor.rb:88:in `call'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane_core-0.52.1/lib/fastlane_core/command_executor.rb:88:in `execute'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gym-1.11.3/lib/gym/runner.rb:121:in `package_app'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gym-1.11.3/lib/gym/runner.rb:20:in `run'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gym-1.11.3/lib/gym/manager.rb:14:in `work'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/actions/gym.rb:24:in `run'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:202:in `block (2 levels) in execute_action'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:187:in `block in execute_action'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:186:in `chdir'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:186:in `execute_action'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:112:in `trigger_action_by_name'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/fast_file.rb:140:in `method_missing'
        from Fastfile:13:in `block (2 levels) in parsing_binding'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/lane.rb:33:in `call'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/lane.rb:33:in `call'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:49:in `block in execute'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:45:in `chdir'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:45:in `execute'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/command_line_handler.rb:30:in `handle'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/commands_generator.rb:49:in `block (2 levels) in run'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/commands_generator.rb:244:in `run'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/commands_generator.rb:20:in `start'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/bin/fastlane:5:in `<top (required)>'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/bin/fastlane:23:in `load'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/bin/fastlane:23:in `<main>'

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
fastlane_version "1.105.0"

default_platform :ios

platform :ios do

  lane :beta do |values|

    gym(
      scheme: 'Harvest2Hand',
      export_method: 'ad-hoc'
    )

    emails = values[:test_email] ? values[:test_email]<EMAIL_ADDRESS># You can list more emails here
    groups = values[:test_email] ? nil : nil # You can define groups on the web and reference them here

    crashlytics(api_token: 'my_api_token_is_here',
             build_secret: 'my_build_secret_is_here',
                   emails: emails,
                   groups: groups,
                    notes: 'Distributed with fastlane',
            notifications: true)
  end
end

Environment
fastlane version: fastlane 1.105.2
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? No
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? rvm
What Xcode version do you use (e.g. 7.3, 8.0): 8.0

Please share the complete output

DEBUG [2016-10-17 16:08:37.30]: Checking if there are any plugins that should be loaded...
INFO [2016-10-17 16:08:37.43]: -------------------------------------------------
INFO [2016-10-17 16:08:37.43]: --- Step: Verifying required fastlane version ---
INFO [2016-10-17 16:08:37.43]: -------------------------------------------------
INFO [2016-10-17 16:08:37.43]: Your fastlane version 1.105.2 matches the minimum requirement of 1.105.0  ✅
INFO [2016-10-17 16:08:37.46]: ------------------------------
INFO [2016-10-17 16:08:37.46]: --- Step: default_platform ---
INFO [2016-10-17 16:08:37.46]: ------------------------------
INFO [2016-10-17 16:08:37.51]: Driving the lane 'ios beta' �
INFO [2016-10-17 16:08:37.52]: -----------------
INFO [2016-10-17 16:08:37.52]: --- Step: gym ---
INFO [2016-10-17 16:08:37.52]: -----------------
INFO [2016-10-17 16:08:37.65]: $ xcodebuild -list -project ./Harvest2Hand.xcodeproj
INFO [2016-10-17 16:08:38.95]: $ xcodebuild clean -showBuildSettings -scheme Harvest2Hand -project ./Harvest2Hand.xcodeproj

+----------------------+--------------------------+
|             Summary for gym 1.11.3              |
+----------------------+--------------------------+
| scheme               | Harvest2Hand             |
| export_method        | ad-hoc                   |
| project              | ./Harvest2Hand.xcodeproj |
| destination          | generic/platform=iOS     |
| output_name          | Harvest2Hand             |
| clean                | false                    |
| output_directory     | .                        |
| silent               | false                    |
| use_legacy_build_api | false                    |
| buildlog_path        | ~/Library/Logs/gym       |
| xcode_path           | /Applications/Xcode.app  |
+----------------------+--------------------------+

+-----------------------------------------------------------------------------------------------------------------------+----------------------+
|                                                           Generated Build Command                                                            |
+-----------------------------------------------------------------------------------------------------------------------+----------------------+
| Option                                                                                | Value                |
+-----------------------------------------------------------------------------------------------------------------------+----------------------+
| set -o pipefail &&                                                                                |                      |
| xcodebuild                                                                                |                      |
| -scheme Harvest2Hand                                                                                |                      |
| -project ./Harvest2Hand.xcodeproj                                                                                |                      |
| -destination                                                                                | generic/platform=iOS |
| -archivePath /Users/EMACHINE/Library/Developer/Xcode/Archives/2016-10-17/Harvest2Hand\ 2016-10-17\ 16.08.39.xcarchive |                      |
| archive                                                                                |                      |
| | tee /Users/EMACHINE/Library/Logs/gym/Harvest2Hand-Harvest2Hand.log                                                   |                      |
| | xcpretty                                                                                |                      |
+-----------------------------------------------------------------------------------------------------------------------+----------------------+
INFO [2016-10-17 16:08:39.99]: $ set -o pipefail && xcodebuild -scheme Harvest2Hand -project ./Harvest2Hand.xcodeproj -destination 'generic/platform=iOS' -archivePath /Users/EMACHINE/Library/Developer/Xcode/Archives/2016-10-17/Harvest2Hand\ 2016-10-17\ 16.08.39.xcarchive archive | tee /Users/EMACHINE/Library/Logs/gym/Harvest2Hand-Harvest2Hand.log | xcpretty
INFO [2016-10-17 16:08:41.25]: ▸ Building CordovaLib/CordovaLib [Debug]
INFO [2016-10-17 16:08:41.28]: ▸ Check Dependencies
INFO [2016-10-17 16:08:41.52]: ▸ Copying CDVWebViewEngineProtocol.h
INFO [2016-10-17 16:08:41.53]: ▸ Copying CDVScreenOrientationDelegate.h
INFO [2016-10-17 16:08:41.53]: ▸ Copying CDV.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying CDVCommandDelegateImpl.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying CDVCommandQueue.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying CDVWhitelist.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying CDVAppDelegate.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying CDVPlugin+Resources.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying CDVAvailability.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying CDVUIWebViewDelegate.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying CDVPluginResult.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying CDVInvokedUrlCommand.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying NSMutableArray+QueueAdditions.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying NSDictionary+CordovaPreferences.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying CDVPlugin.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying CDVURLProtocol.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying CDVCommandDelegate.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying CDVUserAgentUtil.h
INFO [2016-10-17 16:08:41.54]: ▸ Copying CDVTimer.h
INFO [2016-10-17 16:08:41.55]: ▸ Copying CDVAvailabilityDeprecated.h
INFO [2016-10-17 16:08:41.55]: ▸ Copying CDVConfigParser.h
INFO [2016-10-17 16:08:41.57]: ▸ Copying CDVViewController.h
INFO [2016-10-17 16:08:41.57]: ▸ Precompiling CordovaLib_Prefix.pch
INFO [2016-10-17 16:08:41.79]: ▸ Precompiling CordovaLib_Prefix.pch
INFO [2016-10-17 16:08:41.84]: ▸ Compiling NSDictionary+CordovaPreferences.m
INFO [2016-10-17 16:08:42.26]: ▸ Compiling CDVAppDelegate.m
INFO [2016-10-17 16:08:42.26]: ▸ Compiling CDVViewController.m
INFO [2016-10-17 16:08:42.56]: ▸ Compiling CDVUIWebViewDelegate.m
INFO [2016-10-17 16:08:42.56]: ▸ Compiling CDVCommandDelegateImpl.m
INFO [2016-10-17 16:08:42.56]: ▸ Compiling CDVJSON_private.m
INFO [2016-10-17 16:08:42.56]: ▸ Compiling CDVWhitelist.m
INFO [2016-10-17 16:08:42.57]: ▸ Compiling CDVInvokedUrlCommand.m
INFO [2016-10-17 16:08:42.57]: ▸ Compiling CDVTimer.m
INFO [2016-10-17 16:08:42.61]: ▸ Compiling CDVUserAgentUtil.m
INFO [2016-10-17 16:08:42.66]: ▸ Compiling CDVConfigParser.m
INFO [2016-10-17 16:08:42.66]: ▸ Compiling CDVGestureHandler.m
INFO [2016-10-17 16:08:42.74]: ▸ Compiling CDVHandleOpenURL.m
INFO [2016-10-17 16:08:42.81]: ▸ Compiling CDVUIWebViewNavigationDelegate.m
INFO [2016-10-17 16:08:42.87]: ▸ Compiling NSMutableArray+QueueAdditions.m
INFO [2016-10-17 16:08:42.87]: ▸ Compiling CDVCommandQueue.m
INFO [2016-10-17 16:08:42.93]: ▸ Compiling CDVPluginResult.m
INFO [2016-10-17 16:08:42.94]: ▸ Compiling CDVPlugin+Resources.m
INFO [2016-10-17 16:08:42.97]: ▸ Compiling CDVURLProtocol.m
INFO [2016-10-17 16:08:43.01]: ▸ Compiling CDVUIWebViewEngine.m
INFO [2016-10-17 16:08:43.16]: ▸ Compiling CDVPlugin.m
INFO [2016-10-17 16:08:43.16]: ▸ Compiling CDVLocalStorage.m
INFO [2016-10-17 16:08:43.28]: ▸ Compiling CDVIntentAndNavigationFilter.m
INFO [2016-10-17 16:08:43.28]: ▸ Compiling CDVViewController.m
INFO [2016-10-17 16:08:43.55]: ▸ Compiling NSDictionary+CordovaPreferences.m
INFO [2016-10-17 16:08:43.55]: ▸ Compiling CDVAppDelegate.m
INFO [2016-10-17 16:08:43.55]: ▸ Compiling CDVUIWebViewDelegate.m
INFO [2016-10-17 16:08:43.55]: ▸ Compiling CDVCommandDelegateImpl.m
INFO [2016-10-17 16:08:43.55]: ▸ Compiling CDVJSON_private.m
INFO [2016-10-17 16:08:43.55]: ▸ Compiling CDVWhitelist.m
INFO [2016-10-17 16:08:43.57]: ▸ Compiling CDVInvokedUrlCommand.m
INFO [2016-10-17 16:08:43.57]: ▸ Compiling CDVTimer.m
INFO [2016-10-17 16:08:43.57]: ▸ Compiling CDVUserAgentUtil.m
INFO [2016-10-17 16:08:43.64]: ▸ Compiling CDVConfigParser.m
INFO [2016-10-17 16:08:43.64]: ▸ Compiling CDVGestureHandler.m
INFO [2016-10-17 16:08:43.66]: ▸ Compiling CDVHandleOpenURL.m
INFO [2016-10-17 16:08:43.71]: ▸ Compiling CDVUIWebViewNavigationDelegate.m
INFO [2016-10-17 16:08:43.82]: ▸ Compiling NSMutableArray+QueueAdditions.m
INFO [2016-10-17 16:08:43.82]: ▸ Compiling CDVCommandQueue.m
INFO [2016-10-17 16:08:43.84]: ▸ Compiling CDVPluginResult.m
INFO [2016-10-17 16:08:43.84]: ▸ Compiling CDVPlugin+Resources.m
INFO [2016-10-17 16:08:43.87]: ▸ Compiling CDVURLProtocol.m
INFO [2016-10-17 16:08:43.98]: ▸ Compiling CDVUIWebViewEngine.m
INFO [2016-10-17 16:08:44.01]: ▸ Compiling CDVPlugin.m
INFO [2016-10-17 16:08:44.01]: ▸ Compiling CDVLocalStorage.m
INFO [2016-10-17 16:08:44.09]: ▸ Compiling CDVIntentAndNavigationFilter.m
INFO [2016-10-17 16:08:44.10]: ▸ Building library libCordova.a
INFO [2016-10-17 16:08:44.13]: ▸ Building library libCordova.a
INFO [2016-10-17 16:08:44.74]: ▸ Building Harvest2Hand/Harvest2Hand [Debug]
INFO [2016-10-17 16:08:44.74]: ▸ Check Dependencies
INFO [2016-10-17 16:08:44.76]: ▸ Running script 'Copy www directory'
INFO [2016-10-17 16:08:46.14]: ▸ Compiling MainViewController.xib
INFO [2016-10-17 16:08:46.20]: ▸ Processing Harvest2Hand-Info.plist
INFO [2016-10-17 16:08:46.21]: ▸ Precompiling Harvest2Hand/Harvest2Hand-Prefix.pch
INFO [2016-10-17 16:08:46.39]: ▸ Precompiling Harvest2Hand/Harvest2Hand-Prefix.pch
INFO [2016-10-17 16:08:46.45]: ▸ Compiling main.m
INFO [2016-10-17 16:08:46.56]: ▸ Compiling AppDelegate.m
INFO [2016-10-17 16:08:46.62]: ▸ Compiling MainViewController.m
INFO [2016-10-17 16:08:46.63]: ▸ Compiling ActionSheet.m
INFO [2016-10-17 16:08:46.74]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-actionsheet/ActionSheet.h:7:31: 'UIActionSheet' is deprecated: first deprecated in iOS 8.3 - UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:46.74]: ▸ @property (nonatomic, retain) UIActionSheet *actionSheet;
INFO [2016-10-17 16:08:46.74]: ▸                               ^
INFO [2016-10-17 16:08:46.74]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-actionsheet/ActionSheet.m:173:22: 'UIActionSheet' is deprecated: first deprecated in iOS 8.3 - UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:46.74]: ▸ - (void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex
INFO [2016-10-17 16:08:46.75]: ▸            ^
INFO [2016-10-17 16:08:46.76]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-actionsheet/ActionSheet.m:79:44: 'UIActionSheet' is deprecated: first deprecated in iOS 8.3 - UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:46.76]: ▸ self.actionSheet = [[UIActionSheet alloc] initWithTitle:[self encodeString:title]
INFO [2016-10-17 16:08:46.76]: ▸            ^
INFO [2016-10-17 16:08:46.76]: ▸ Compiling CDVFileTransfer.m
INFO [2016-10-17 16:08:46.98]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file-transfer/CDVFileTransfer.m:98:36: 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each URL component or subcomponent has different rules for what characters are valid. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:46.99]: ▸ pathComponent = [pathComponent stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
INFO [2016-10-17 16:08:46.99]: ▸            ^
INFO [2016-10-17 16:08:46.99]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file-transfer/CDVFileTransfer.m:384:52: 'initWithRequest:delegate:startImmediately:' is deprecated: first deprecated in iOS 9.0 - Use NSURLSession (see NSURLSession.h) [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:46.99]: ▸ delegate.connection = [[NSURLConnection alloc] initWithRequest:req delegate:delegate startImmediately:NO];
INFO [2016-10-17 16:08:46.99]: ▸ ^
INFO [2016-10-17 16:08:46.99]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file-transfer/CDVFileTransfer.m:475:52: 'initWithRequest:delegate:startImmediately:' is deprecated: first deprecated in iOS 9.0 - Use NSURLSession (see NSURLSession.h) [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:46.99]: ▸ delegate.connection = [[NSURLConnection alloc] initWithRequest:req delegate:delegate startImmediately:NO];
INFO [2016-10-17 16:08:46.99]: ▸ ^
INFO [2016-10-17 16:08:47.00]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file-transfer/CDVFileTransfer.m:565:40: 'connectionWithRequest:delegate:' is deprecated: first deprecated in iOS 9.0 - Use NSURLSession (see NSURLSession.h) [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.05]: ▸ _connection = [NSURLConnection connectionWithRequest:req delegate:self];
INFO [2016-10-17 16:08:47.05]: ▸ ^
INFO [2016-10-17 16:08:47.05]: ▸ Compiling CDVFile.m
INFO [2016-10-17 16:08:47.11]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVFile.m:589:35: 'stringByReplacingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - Use -stringByRemovingPercentEncoding instead, which always uses the recommended UTF-8 encoding. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.11]: ▸ NSString *decodedPath = [path stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; //decode incase it's already encoded to avoid encoding twice
INFO [2016-10-17 16:08:47.13]: ▸ ^
INFO [2016-10-17 16:08:47.14]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVFile.m:590:25: 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each URL component or subcomponent has different rules for what characters are valid. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.14]: ▸ return [decodedPath stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
INFO [2016-10-17 16:08:47.14]: ▸ ^
INFO [2016-10-17 16:08:47.14]: ▸ Compiling CDVLocalFilesystem.m
INFO [2016-10-17 16:08:47.14]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVLocalFilesystem.m:128:43: 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each URL component or subcomponent has different rules for what characters are valid. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.24]: ▸ NSString* escapedPath = [fullPath stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
INFO [2016-10-17 16:08:47.24]: ▸ ^
INFO [2016-10-17 16:08:47.24]: ▸ Compiling CDVAssetLibraryFilesystem.m
INFO [2016-10-17 16:08:47.24]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:193:5: 'ALAssetsLibraryAssetForURLResultBlock' is deprecated: first deprecated in iOS 9.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.33]: ▸ ALAssetsLibraryAssetForURLResultBlock resultBlock = ^(ALAsset* asset) {
INFO [2016-10-17 16:08:47.33]: ▸ ^
INFO [2016-10-17 16:08:47.33]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:196:65: 'defaultRepresentation' is deprecated: first deprecated in iOS 9.0 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.33]: ▸ ALAssetRepresentation* assetRepresentation = [asset defaultRepresentation];
INFO [2016-10-17 16:08:47.33]: ▸                ^
INFO [2016-10-17 16:08:47.33]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:197:84: 'size' is deprecated: first deprecated in iOS 9.0 - Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.49]: ▸ NSUInteger size = (end > start) ? (end - start) : [assetRepresentation size];
INFO [2016-10-17 16:08:47.49]: ▸ ^
INFO [2016-10-17 16:08:47.49]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:199:58: 'getBytes:fromOffset:length:error:' is deprecated: first deprecated in iOS 9.0 - Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.49]: ▸ NSUInteger bufferSize = [assetRepresentation getBytes:buffer fromOffset:start length:size error:nil];
INFO [2016-10-17 16:08:47.56]: ▸ ^
INFO [2016-10-17 16:08:47.56]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:201:138: 'UTI' is deprecated: first deprecated in iOS 9.0 - Use requestImageDataForAsset:options:resultHandler: on PHImageManager for a PHAsset to request image data from the Photos framework and check the dataUTI passed to your result handler instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.56]: ▸ NSString* MIMEType = (__bridge_transfer NSString*)UTTypeCopyPreferredTagWithClass((__bridge CFStringRef)[assetRepresentation UTI], kUTTagClassMIMEType);
INFO [2016-10-17 16:08:47.56]: ▸ ^
INFO [2016-10-17 16:08:47.56]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:193:59: 'ALAsset' is deprecated: first deprecated in iOS 9.0 - Use PHAsset from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.63]: ▸ ALAssetsLibraryAssetForURLResultBlock resultBlock = ^(ALAsset* asset) {
INFO [2016-10-17 16:08:47.63]: ▸ ^
INFO [2016-10-17 16:08:47.63]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:196:13: 'ALAssetRepresentation' is deprecated: first deprecated in iOS 9.0 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.63]: ▸ ALAssetRepresentation* assetRepresentation = [asset defaultRepresentation];
INFO [2016-10-17 16:08:47.63]: ▸            ^
INFO [2016-10-17 16:08:47.63]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:209:5: 'ALAssetsLibraryAccessFailureBlock' is deprecated: first deprecated in iOS 9.0 - Use the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.83]: ▸ ALAssetsLibraryAccessFailureBlock failureBlock = ^(NSError* error) {
INFO [2016-10-17 16:08:47.83]: ▸            ^
INFO [2016-10-17 16:08:47.83]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:215:5: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.83]: ▸ ALAssetsLibrary* assetsLibrary = [[ALAssetsLibrary alloc] init];
INFO [2016-10-17 16:08:47.83]: ▸                ^
INFO [2016-10-17 16:08:47.83]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:215:56: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.88]: ▸ ALAssetsLibrary* assetsLibrary = [[ALAssetsLibrary alloc] init];
INFO [2016-10-17 16:08:47.88]: ▸            ^
INFO [2016-10-17 16:08:47.88]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:216:20: 'assetForURL:resultBlock:failureBlock:' is deprecated: first deprecated in iOS 9.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.88]: ▸ [assetsLibrary assetForURL:[self assetLibraryURLForLocalURL:localURL] resultBlock:resultBlock failureBlock:failureBlock];
INFO [2016-10-17 16:08:47.94]: ▸            ^
INFO [2016-10-17 16:08:47.95]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:224:5: 'ALAssetsLibraryAssetForURLResultBlock' is deprecated: first deprecated in iOS 9.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:47.95]: ▸ ALAssetsLibraryAssetForURLResultBlock resultBlock = ^(ALAsset* asset) {
INFO [2016-10-17 16:08:47.95]: ▸ ^
INFO [2016-10-17 16:08:47.95]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:228:65: 'defaultRepresentation' is deprecated: first deprecated in iOS 9.0 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.07]: ▸ ALAssetRepresentation* assetRepresentation = [asset defaultRepresentation];
INFO [2016-10-17 16:08:48.07]: ▸                ^
INFO [2016-10-17 16:08:48.07]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:231:55: 'filename' is deprecated: first deprecated in iOS 9.0 - Use the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.07]: ▸ NSString* filename = [assetRepresentation filename];
INFO [2016-10-17 16:08:48.07]: ▸ ^
INFO [2016-10-17 16:08:48.07]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:234:60: 'ALAssetPropertyDate' is deprecated: first deprecated in iOS 9.0 - Use the creationDate property on a PHAsset from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.08]: ▸ NSDate* creationDate = [asset valueForProperty:ALAssetPropertyDate];
INFO [2016-10-17 16:08:48.08]: ▸ ^
INFO [2016-10-17 16:08:48.08]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:234:43: 'valueForProperty:' is deprecated: first deprecated in iOS 9.0 - Use PHAsset class properties from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.08]: ▸ NSDate* creationDate = [asset valueForProperty:ALAssetPropertyDate];
INFO [2016-10-17 16:08:48.08]: ▸                        ^
INFO [2016-10-17 16:08:48.08]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:224:59: 'ALAsset' is deprecated: first deprecated in iOS 9.0 - Use PHAsset from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.11]: ▸ ALAssetsLibraryAssetForURLResultBlock resultBlock = ^(ALAsset* asset) {
INFO [2016-10-17 16:08:48.11]: ▸ ^
INFO [2016-10-17 16:08:48.12]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:228:13: 'ALAssetRepresentation' is deprecated: first deprecated in iOS 9.0 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.12]: ▸ ALAssetRepresentation* assetRepresentation = [asset defaultRepresentation];
INFO [2016-10-17 16:08:48.12]: ▸            ^
INFO [2016-10-17 16:08:48.12]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:229:91: 'size' is deprecated: first deprecated in iOS 9.0 - Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.13]: ▸ [fileInfo setObject:[NSNumber numberWithUnsignedLongLong:[assetRepresentation size]] forKey:@"size"];
INFO [2016-10-17 16:08:48.13]: ▸            ^
INFO [2016-10-17 16:08:48.13]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:244:5: 'ALAssetsLibraryAccessFailureBlock' is deprecated: first deprecated in iOS 9.0 - Use the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.13]: ▸ ALAssetsLibraryAccessFailureBlock failureBlock = ^(NSError* error) {
INFO [2016-10-17 16:08:48.13]: ▸ ^
INFO [2016-10-17 16:08:48.14]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:249:5: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.14]: ▸ ALAssetsLibrary* assetsLibrary = [[ALAssetsLibrary alloc] init];
INFO [2016-10-17 16:08:48.14]: ▸                ^
INFO [2016-10-17 16:08:48.14]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:249:56: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.14]: ▸ ALAssetsLibrary* assetsLibrary = [[ALAssetsLibrary alloc] init];
INFO [2016-10-17 16:08:48.14]: ▸            ^
INFO [2016-10-17 16:08:48.15]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:250:20: 'assetForURL:resultBlock:failureBlock:' is deprecated: first deprecated in iOS 9.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.15]: ▸ [assetsLibrary assetForURL:[self assetLibraryURLForLocalURL:localURL] resultBlock:resultBlock failureBlock:failureBlock];
INFO [2016-10-17 16:08:48.15]: ▸            ^
INFO [2016-10-17 16:08:48.15]: ▸ Compiling UIImage+CropScaleOrientation.m
INFO [2016-10-17 16:08:48.15]: ▸ Compiling CDVCamera.m
INFO [2016-10-17 16:08:48.15]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.h:73:20: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.17]: ▸ @property (strong) UIPopoverController* pickerPopoverController;
INFO [2016-10-17 16:08:48.17]: ▸ ^
INFO [2016-10-17 16:08:48.18]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:218:20: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.18]: ▸ - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
INFO [2016-10-17 16:08:48.18]: ▸            ^
INFO [2016-10-17 16:08:48.19]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:175:36: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.19]: ▸ [[[UIAlertView alloc] initWithTitle:[[NSBundle mainBundle]
INFO [2016-10-17 16:08:48.19]: ▸            ^
INFO [2016-10-17 16:08:48.19]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:225:48: 'openURL:' is deprecated: first deprecated in iOS 10.0 - Please use openURL:options:completionHandler: instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.19]: ▸ [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
INFO [2016-10-17 16:08:48.21]: ▸            ^
INFO [2016-10-17 16:08:48.21]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:334:5: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.21]: ▸ UIPopoverController* pc = (UIPopoverController*)popoverController;
INFO [2016-10-17 16:08:48.21]: ▸ ^
INFO [2016-10-17 16:08:48.21]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:334:32: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.22]: ▸ UIPopoverController* pc = (UIPopoverController*)popoverController;
INFO [2016-10-17 16:08:48.22]: ▸            ^
INFO [2016-10-17 16:08:48.23]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:448:17: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.23]: ▸ ALAssetsLibrary* library = [ALAssetsLibrary new];
INFO [2016-10-17 16:08:48.23]: ▸            ^
INFO [2016-10-17 16:08:48.23]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:448:61: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.23]: ▸ ALAssetsLibrary* library = [ALAssetsLibrary new];
INFO [2016-10-17 16:08:48.23]: ▸            ^
INFO [2016-10-17 16:08:48.23]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:449:82: 'ALAssetOrientation' is deprecated: first deprecated in iOS 9.0 - Use UIImageOrientation in the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.23]: ▸ [library writeImageToSavedPhotosAlbum:image.CGImage orientation:(ALAssetOrientation)(image.imageOrientation) completionBlock:^(NSURL *assetURL, NSError *error) {
INFO [2016-10-17 16:08:48.23]: ▸            ^
INFO [2016-10-17 16:08:48.23]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:449:26: 'writeImageToSavedPhotosAlbum:orientation:completionBlock:' is deprecated: first deprecated in iOS 9.0 - Use creationRequestForAssetFromImage: on PHAssetChangeRequest from the Photos framework to create a new asset instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.25]: ▸ [library writeImageToSavedPhotosAlbum:image.CGImage orientation:(ALAssetOrientation)(image.imageOrientation) completionBlock:^(NSURL *assetURL, NSError *error) {
INFO [2016-10-17 16:08:48.25]: ▸                            ^
INFO [2016-10-17 16:08:48.25]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:499:9: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.25]: ▸ ALAssetsLibrary* library = [ALAssetsLibrary new];
INFO [2016-10-17 16:08:48.26]: ▸ ^
INFO [2016-10-17 16:08:48.27]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:499:53: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.27]: ▸ ALAssetsLibrary* library = [ALAssetsLibrary new];
INFO [2016-10-17 16:08:48.27]: ▸            ^
INFO [2016-10-17 16:08:48.27]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:500:74: 'ALAssetOrientation' is deprecated: first deprecated in iOS 9.0 - Use UIImageOrientation in the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.27]: ▸ [library writeImageToSavedPhotosAlbum:image.CGImage orientation:(ALAssetOrientation)(image.imageOrientation) completionBlock:nil];
INFO [2016-10-17 16:08:48.28]: ▸            ^
INFO [2016-10-17 16:08:48.28]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:500:18: 'writeImageToSavedPhotosAlbum:orientation:completionBlock:' is deprecated: first deprecated in iOS 9.0 - Use creationRequestForAssetFromImage: on PHAssetChangeRequest from the Photos framework to create a new asset instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.28]: ▸ [library writeImageToSavedPhotosAlbum:image.CGImage orientation:(ALAssetOrientation)(image.imageOrientation) completionBlock:nil];
INFO [2016-10-17 16:08:48.28]: ▸                            ^
INFO [2016-10-17 16:08:48.28]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:561:147: 'ALAuthorizationStatusAuthorized' is deprecated: first deprecated in iOS 9.0 [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.30]: ▸ if (picker.sourceType == UIImagePickerControllerSourceTypeCamera && [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo] != ALAuthorizationStatusAuthorized) {
INFO [2016-10-17 16:08:48.30]: ▸ ^
INFO [2016-10-17 16:08:48.30]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:563:101: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.30]: ▸ } else if (picker.sourceType != UIImagePickerControllerSourceTypeCamera && [ALAssetsLibrary authorizationStatus] != ALAuthorizationStatusAuthorized) {
INFO [2016-10-17 16:08:48.30]: ▸     ^
INFO [2016-10-17 16:08:48.30]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:563:101: 'authorizationStatus' is deprecated: first deprecated in iOS 9.0 - Use authorizationStatus on the shared PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.31]: ▸ } else if (picker.sourceType != UIImagePickerControllerSourceTypeCamera && [ALAssetsLibrary authorizationStatus] != ALAuthorizationStatusAuthorized) {
INFO [2016-10-17 16:08:48.31]: ▸            ^
INFO [2016-10-17 16:08:48.31]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:563:125: 'ALAuthorizationStatusAuthorized' is deprecated: first deprecated in iOS 9.0 [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.31]: ▸ } else if (picker.sourceType != UIImagePickerControllerSourceTypeCamera && [ALAssetsLibrary authorizationStatus] != ALAuthorizationStatusAuthorized) {
INFO [2016-10-17 16:08:48.33]: ▸ ^
INFO [2016-10-17 16:08:48.34]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:714:9: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.34]: ▸ ALAssetsLibrary *library = [ALAssetsLibrary new];
INFO [2016-10-17 16:08:48.34]: ▸     ^
INFO [2016-10-17 16:08:48.34]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:714:53: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.34]: ▸ ALAssetsLibrary *library = [ALAssetsLibrary new];
INFO [2016-10-17 16:08:48.34]: ▸            ^
INFO [2016-10-17 16:08:48.34]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:715:18: 'writeImageDataToSavedPhotosAlbum:metadata:completionBlock:' is deprecated: first deprecated in iOS 9.0 - Use creationRequestForAssetFromImageData: on PHAssetChangeRequest from the Photos framework to create a new asset instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.34]: ▸ [library writeImageDataToSavedPhotosAlbum:self.data metadata:self.metadata completionBlock:nil];
INFO [2016-10-17 16:08:48.34]: ▸            ^
INFO [2016-10-17 16:08:48.34]: ▸ Compiling CDVJpegHeaderWriter.m
INFO [2016-10-17 16:08:48.34]: ▸ Compiling NSString+URLEncoding.m
INFO [2016-10-17 16:08:48.34]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/NSString+URLEncoding.m:7:27: 'CFURLCreateStringByAddingPercentEscapes' is deprecated: first deprecated in iOS 9.0 - Use [NSString stringByAddingPercentEncodingWithAllowedCharacters:] instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent (since each URL component or subcomponent has different rules for what characters are valid). [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.34]: ▸ CFURLCreateStringByAddingPercentEscapes(
INFO [2016-10-17 16:08:48.34]: ▸ ^
INFO [2016-10-17 16:08:48.35]: ▸ Compiling SocialSharing.m
INFO [2016-10-17 16:08:48.35]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:16:3: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.38]: ▸ UIPopoverController *_popover;
INFO [2016-10-17 16:08:48.38]: ▸             ^
INFO [2016-10-17 16:08:48.39]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:747:28: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.39]: ▸ - (void)popoverController:(UIPopoverController *)popoverController willRepositionPopoverToRect:(inout CGRect *)rect inView:(inout UIView **)view {
INFO [2016-10-17 16:08:48.39]: ▸            ^
INFO [2016-10-17 16:08:48.39]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:753:45: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.39]: ▸ - (void)popoverControllerDidDismissPopover:(UIPopoverController *)popoverController {
INFO [2016-10-17 16:08:48.39]: ▸            ^
INFO [2016-10-17 16:08:48.40]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:165:46: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.40]: ▸ _popover = [[UIPopoverController alloc] initWithContentViewController:activityVC];
INFO [2016-10-17 16:08:48.40]: ▸            ^
INFO [2016-10-17 16:08:48.41]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:208:9: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.41]: ▸ UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"" message:hint delegate:nil cancelButtonTitle:nil otherButtonTitles:nil];
INFO [2016-10-17 16:08:48.41]: ▸            ^
INFO [2016-10-17 16:08:48.41]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:208:44: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.43]: ▸ UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"" message:hint delegate:nil cancelButtonTitle:nil otherButtonTitles:nil];
INFO [2016-10-17 16:08:48.43]: ▸            ^
INFO [2016-10-17 16:08:48.44]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:322:7: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.44]: ▸ UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"SocialSharing plugin"
INFO [2016-10-17 16:08:48.44]: ▸            ^
INFO [2016-10-17 16:08:48.44]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:322:42: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.44]: ▸ UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"SocialSharing plugin"
INFO [2016-10-17 16:08:48.44]: ▸            ^
INFO [2016-10-17 16:08:48.44]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:619:50: 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each URL component or subcomponent has different rules for what characters are valid. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.48]: ▸ NSString * encodedShareString = [shareString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
INFO [2016-10-17 16:08:48.48]: ▸            ^
INFO [2016-10-17 16:08:48.48]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:630:40: 'openURL:' is deprecated: first deprecated in iOS 10.0 - Please use openURL:options:completionHandler: instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.48]: ▸ [[UIApplication sharedApplication] openURL: whatsappURL];
INFO [2016-10-17 16:08:48.48]: ▸ ^
INFO [2016-10-17 16:08:48.48]: ▸ Compiling CDVLocation.m
INFO [2016-10-17 16:08:48.49]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-geolocation/CDVLocation.m:76:31: 'kCLAuthorizationStatusAuthorized' is deprecated: first deprecated in iOS 8.0 - Use kCLAuthorizationStatusAuthorizedAlways [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.49]: ▸ return (authStatus == kCLAuthorizationStatusAuthorized) || (authStatus == kCLAuthorizationStatusNotDetermined);
INFO [2016-10-17 16:08:48.49]: ▸ ^
INFO [2016-10-17 16:08:48.49]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-geolocation/CDVLocation.m:91:42: 'locationServicesEnabled' is deprecated: first deprecated in iOS 4.0 [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.49]: ▸ return [(id)self.locationManager locationServicesEnabled];
INFO [2016-10-17 16:08:48.49]: ▸         ^
INFO [2016-10-17 16:08:48.51]: ▸ Compiling IonicKeyboard.m
INFO [2016-10-17 16:08:48.51]: ▸ Compiling main.m
INFO [2016-10-17 16:08:48.51]: ▸ Compiling AppDelegate.m
INFO [2016-10-17 16:08:48.51]: ▸ Compiling MainViewController.m
INFO [2016-10-17 16:08:48.51]: ▸ Compiling ActionSheet.m
INFO [2016-10-17 16:08:48.52]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-actionsheet/ActionSheet.h:7:31: 'UIActionSheet' is deprecated: first deprecated in iOS 8.3 - UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.52]: ▸ @property (nonatomic, retain) UIActionSheet *actionSheet;
INFO [2016-10-17 16:08:48.52]: ▸                                     ^
INFO [2016-10-17 16:08:48.54]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-actionsheet/ActionSheet.m:173:22: 'UIActionSheet' is deprecated: first deprecated in iOS 8.3 - UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.54]: ▸ - (void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex
INFO [2016-10-17 16:08:48.54]: ▸            ^
INFO [2016-10-17 16:08:48.54]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-actionsheet/ActionSheet.m:39:82: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
INFO [2016-10-17 16:08:48.55]: ▸ buttonIndex = j + 1;
INFO [2016-10-17 16:08:48.55]: ▸            ^
INFO [2016-10-17 16:08:48.56]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-actionsheet/ActionSheet.m:79:44: 'UIActionSheet' is deprecated: first deprecated in iOS 8.3 - UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.58]: ▸ self.actionSheet = [[UIActionSheet alloc] initWithTitle:[self encodeString:title]
INFO [2016-10-17 16:08:48.58]: ▸                                                                              ~ ~~^~~
INFO [2016-10-17 16:08:48.58]: ▸ Compiling CDVFileTransfer.m
INFO [2016-10-17 16:08:48.58]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file-transfer/CDVFileTransfer.m:98:36: 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each URL component or subcomponent has different rules for what characters are valid. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.60]: ▸ pathComponent = [pathComponent stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
INFO [2016-10-17 16:08:48.60]: ▸            ^
INFO [2016-10-17 16:08:48.61]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file-transfer/CDVFileTransfer.m:224:34: values of type 'NSUInteger' should not be used as format arguments; add an explicit cast to 'unsigned long' instead [-Wformat]
INFO [2016-10-17 16:08:48.61]: ▸ DLog(@"fileData length: %d", [fileData length]);
INFO [2016-10-17 16:08:48.61]: ▸ ^
INFO [2016-10-17 16:08:48.61]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file-transfer/CDVFileTransfer.m:384:52: 'initWithRequest:delegate:startImmediately:' is deprecated: first deprecated in iOS 9.0 - Use NSURLSession (see NSURLSession.h) [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.61]: ▸ delegate.connection = [[NSURLConnection alloc] initWithRequest:req delegate:delegate startImmediately:NO];
INFO [2016-10-17 16:08:48.61]: ▸                                                                                ^~~~~~~~~~~
INFO [2016-10-17 16:08:48.61]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file-transfer/CDVFileTransfer.m:475:52: 'initWithRequest:delegate:startImmediately:' is deprecated: first deprecated in iOS 9.0 - Use NSURLSession (see NSURLSession.h) [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.61]: ▸ delegate.connection = [[NSURLConnection alloc] initWithRequest:req delegate:delegate startImmediately:NO];
INFO [2016-10-17 16:08:48.64]: ▸ ^
INFO [2016-10-17 16:08:48.64]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file-transfer/CDVFileTransfer.m:565:40: 'connectionWithRequest:delegate:' is deprecated: first deprecated in iOS 9.0 - Use NSURLSession (see NSURLSession.h) [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.64]: ▸ _connection = [NSURLConnection connectionWithRequest:req delegate:self];
INFO [2016-10-17 16:08:48.64]: ▸ ^
INFO [2016-10-17 16:08:48.64]: ▸ Compiling CDVFile.m
INFO [2016-10-17 16:08:48.64]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVFile.m:589:35: 'stringByReplacingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - Use -stringByRemovingPercentEncoding instead, which always uses the recommended UTF-8 encoding. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.65]: ▸ NSString *decodedPath = [path stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; //decode incase it's already encoded to avoid encoding twice
INFO [2016-10-17 16:08:48.65]: ▸ ^
INFO [2016-10-17 16:08:48.65]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVFile.m:590:25: 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each URL component or subcomponent has different rules for what characters are valid. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.65]: ▸ return [decodedPath stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
INFO [2016-10-17 16:08:48.68]: ▸ ^
INFO [2016-10-17 16:08:48.68]: ▸ Compiling CDVLocalFilesystem.m
INFO [2016-10-17 16:08:48.68]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVLocalFilesystem.m:128:43: 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each URL component or subcomponent has different rules for what characters are valid. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.68]: ▸ NSString* escapedPath = [fullPath stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
INFO [2016-10-17 16:08:48.68]: ▸ ^
INFO [2016-10-17 16:08:48.68]: ▸ Compiling CDVAssetLibraryFilesystem.m
INFO [2016-10-17 16:08:48.68]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:193:5: 'ALAssetsLibraryAssetForURLResultBlock' is deprecated: first deprecated in iOS 9.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.68]: ▸ ALAssetsLibraryAssetForURLResultBlock resultBlock = ^(ALAsset* asset) {
INFO [2016-10-17 16:08:48.68]: ▸ ^
INFO [2016-10-17 16:08:48.68]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:196:65: 'defaultRepresentation' is deprecated: first deprecated in iOS 9.0 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.69]: ▸ ALAssetRepresentation* assetRepresentation = [asset defaultRepresentation];
INFO [2016-10-17 16:08:48.69]: ▸                ^
INFO [2016-10-17 16:08:48.69]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:197:84: 'size' is deprecated: first deprecated in iOS 9.0 - Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.70]: ▸ NSUInteger size = (end > start) ? (end - start) : [assetRepresentation size];
INFO [2016-10-17 16:08:48.70]: ▸ ^
INFO [2016-10-17 16:08:48.70]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:199:58: 'getBytes:fromOffset:length:error:' is deprecated: first deprecated in iOS 9.0 - Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.72]: ▸ NSUInteger bufferSize = [assetRepresentation getBytes:buffer fromOffset:start length:size error:nil];
INFO [2016-10-17 16:08:48.72]: ▸ ^
INFO [2016-10-17 16:08:48.72]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:201:138: 'UTI' is deprecated: first deprecated in iOS 9.0 - Use requestImageDataForAsset:options:resultHandler: on PHImageManager for a PHAsset to request image data from the Photos framework and check the dataUTI passed to your result handler instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.72]: ▸ NSString* MIMEType = (__bridge_transfer NSString*)UTTypeCopyPreferredTagWithClass((__bridge CFStringRef)[assetRepresentation UTI], kUTTagClassMIMEType);
INFO [2016-10-17 16:08:48.73]: ▸ ^
INFO [2016-10-17 16:08:48.73]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:193:59: 'ALAsset' is deprecated: first deprecated in iOS 9.0 - Use PHAsset from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.73]: ▸ ALAssetsLibraryAssetForURLResultBlock resultBlock = ^(ALAsset* asset) {
INFO [2016-10-17 16:08:48.73]: ▸ ^
INFO [2016-10-17 16:08:48.76]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:196:13: 'ALAssetRepresentation' is deprecated: first deprecated in iOS 9.0 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.76]: ▸ ALAssetRepresentation* assetRepresentation = [asset defaultRepresentation];
INFO [2016-10-17 16:08:48.76]: ▸            ^
INFO [2016-10-17 16:08:48.76]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:209:5: 'ALAssetsLibraryAccessFailureBlock' is deprecated: first deprecated in iOS 9.0 - Use the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.76]: ▸ ALAssetsLibraryAccessFailureBlock failureBlock = ^(NSError* error) {
INFO [2016-10-17 16:08:48.76]: ▸            ^
INFO [2016-10-17 16:08:48.77]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:215:5: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.77]: ▸ ALAssetsLibrary* assetsLibrary = [[ALAssetsLibrary alloc] init];
INFO [2016-10-17 16:08:48.77]: ▸                ^
INFO [2016-10-17 16:08:48.77]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:215:56: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.77]: ▸ ALAssetsLibrary* assetsLibrary = [[ALAssetsLibrary alloc] init];
INFO [2016-10-17 16:08:48.77]: ▸            ^
INFO [2016-10-17 16:08:48.80]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:216:20: 'assetForURL:resultBlock:failureBlock:' is deprecated: first deprecated in iOS 9.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.80]: ▸ [assetsLibrary assetForURL:[self assetLibraryURLForLocalURL:localURL] resultBlock:resultBlock failureBlock:failureBlock];
INFO [2016-10-17 16:08:48.81]: ▸            ^
INFO [2016-10-17 16:08:48.82]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:224:5: 'ALAssetsLibraryAssetForURLResultBlock' is deprecated: first deprecated in iOS 9.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.82]: ▸ ALAssetsLibraryAssetForURLResultBlock resultBlock = ^(ALAsset* asset) {
INFO [2016-10-17 16:08:48.83]: ▸ ^
INFO [2016-10-17 16:08:48.83]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:228:65: 'defaultRepresentation' is deprecated: first deprecated in iOS 9.0 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.83]: ▸ ALAssetRepresentation* assetRepresentation = [asset defaultRepresentation];
INFO [2016-10-17 16:08:48.83]: ▸                ^
INFO [2016-10-17 16:08:48.83]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:231:55: 'filename' is deprecated: first deprecated in iOS 9.0 - Use the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.84]: ▸ NSString* filename = [assetRepresentation filename];
INFO [2016-10-17 16:08:48.84]: ▸ ^
INFO [2016-10-17 16:08:48.84]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:234:60: 'ALAssetPropertyDate' is deprecated: first deprecated in iOS 9.0 - Use the creationDate property on a PHAsset from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.84]: ▸ NSDate* creationDate = [asset valueForProperty:ALAssetPropertyDate];
INFO [2016-10-17 16:08:48.84]: ▸ ^
INFO [2016-10-17 16:08:48.84]: ��� ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:234:43: 'valueForProperty:' is deprecated: first deprecated in iOS 9.0 - Use PHAsset class properties from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.87]: ▸ NSDate* creationDate = [asset valueForProperty:ALAssetPropertyDate];
INFO [2016-10-17 16:08:48.87]: ▸                        ^
INFO [2016-10-17 16:08:48.87]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:224:59: 'ALAsset' is deprecated: first deprecated in iOS 9.0 - Use PHAsset from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.87]: ▸ ALAssetsLibraryAssetForURLResultBlock resultBlock = ^(ALAsset* asset) {
INFO [2016-10-17 16:08:48.87]: ▸ ^
INFO [2016-10-17 16:08:48.88]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:228:13: 'ALAssetRepresentation' is deprecated: first deprecated in iOS 9.0 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.88]: ▸ ALAssetRepresentation* assetRepresentation = [asset defaultRepresentation];
INFO [2016-10-17 16:08:48.88]: ▸            ^
INFO [2016-10-17 16:08:48.88]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:229:91: 'size' is deprecated: first deprecated in iOS 9.0 - Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.88]: ▸ [fileInfo setObject:[NSNumber numberWithUnsignedLongLong:[assetRepresentation size]] forKey:@"size"];
INFO [2016-10-17 16:08:48.89]: ▸            ^
INFO [2016-10-17 16:08:48.89]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:244:5: 'ALAssetsLibraryAccessFailureBlock' is deprecated: first deprecated in iOS 9.0 - Use the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.89]: ▸ ALAssetsLibraryAccessFailureBlock failureBlock = ^(NSError* error) {
INFO [2016-10-17 16:08:48.89]: ▸ ^
INFO [2016-10-17 16:08:48.89]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:249:5: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.89]: ▸ ALAssetsLibrary* assetsLibrary = [[ALAssetsLibrary alloc] init];
INFO [2016-10-17 16:08:48.92]: ▸                ^
INFO [2016-10-17 16:08:48.93]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:249:56: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.93]: ▸ ALAssetsLibrary* assetsLibrary = [[ALAssetsLibrary alloc] init];
INFO [2016-10-17 16:08:48.93]: ▸            ^
INFO [2016-10-17 16:08:48.93]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:250:20: 'assetForURL:resultBlock:failureBlock:' is deprecated: first deprecated in iOS 9.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.94]: ▸ [assetsLibrary assetForURL:[self assetLibraryURLForLocalURL:localURL] resultBlock:resultBlock failureBlock:failureBlock];
INFO [2016-10-17 16:08:48.94]: ▸            ^
INFO [2016-10-17 16:08:48.94]: ▸ Compiling UIImage+CropScaleOrientation.m
INFO [2016-10-17 16:08:48.94]: ▸ Compiling CDVCamera.m
INFO [2016-10-17 16:08:48.94]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.h:73:20: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.96]: ▸ @property (strong) UIPopoverController* pickerPopoverController;
INFO [2016-10-17 16:08:48.96]: ▸ ^
INFO [2016-10-17 16:08:48.96]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:218:20: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.96]: ▸ - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
INFO [2016-10-17 16:08:48.96]: ▸            ^
INFO [2016-10-17 16:08:48.96]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:175:36: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.97]: ▸ [[[UIAlertView alloc] initWithTitle:[[NSBundle mainBundle]
INFO [2016-10-17 16:08:48.97]: ▸            ^
INFO [2016-10-17 16:08:48.97]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:225:48: 'openURL:' is deprecated: first deprecated in iOS 10.0 - Please use openURL:options:completionHandler: instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:48.97]: ▸ [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
INFO [2016-10-17 16:08:48.97]: ▸            ^
INFO [2016-10-17 16:08:48.98]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:334:5: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.00]: ▸ UIPopoverController* pc = (UIPopoverController*)popoverController;
INFO [2016-10-17 16:08:49.00]: ▸ ^
INFO [2016-10-17 16:08:49.00]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:334:32: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.00]: ▸ UIPopoverController* pc = (UIPopoverController*)popoverController;
INFO [2016-10-17 16:08:49.00]: ▸            ^
INFO [2016-10-17 16:08:49.01]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:448:17: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.01]: ▸ ALAssetsLibrary* library = [ALAssetsLibrary new];
INFO [2016-10-17 16:08:49.01]: ▸            ^
INFO [2016-10-17 16:08:49.01]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:448:61: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.01]: ▸ ALAssetsLibrary* library = [ALAssetsLibrary new];
INFO [2016-10-17 16:08:49.01]: ▸            ^
INFO [2016-10-17 16:08:49.01]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:449:82: 'ALAssetOrientation' is deprecated: first deprecated in iOS 9.0 - Use UIImageOrientation in the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.04]: ▸ [library writeImageToSavedPhotosAlbum:image.CGImage orientation:(ALAssetOrientation)(image.imageOrientation) completionBlock:^(NSURL *assetURL, NSError *error) {
INFO [2016-10-17 16:08:49.04]: ▸            ^
INFO [2016-10-17 16:08:49.04]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:449:26: 'writeImageToSavedPhotosAlbum:orientation:completionBlock:' is deprecated: first deprecated in iOS 9.0 - Use creationRequestForAssetFromImage: on PHAssetChangeRequest from the Photos framework to create a new asset instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.04]: ▸ [library writeImageToSavedPhotosAlbum:image.CGImage orientation:(ALAssetOrientation)(image.imageOrientation) completionBlock:^(NSURL *assetURL, NSError *error) {
INFO [2016-10-17 16:08:49.06]: ▸                            ^
INFO [2016-10-17 16:08:49.06]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:499:9: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.06]: ▸ ALAssetsLibrary* library = [ALAssetsLibrary new];
INFO [2016-10-17 16:08:49.06]: ▸ ^
INFO [2016-10-17 16:08:49.06]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:499:53: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.07]: ▸ ALAssetsLibrary* library = [ALAssetsLibrary new];
INFO [2016-10-17 16:08:49.07]: ▸            ^
INFO [2016-10-17 16:08:49.07]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:500:74: 'ALAssetOrientation' is deprecated: first deprecated in iOS 9.0 - Use UIImageOrientation in the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.07]: ▸ [library writeImageToSavedPhotosAlbum:image.CGImage orientation:(ALAssetOrientation)(image.imageOrientation) completionBlock:nil];
INFO [2016-10-17 16:08:49.07]: ▸            ^
INFO [2016-10-17 16:08:49.07]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:500:18: 'writeImageToSavedPhotosAlbum:orientation:completionBlock:' is deprecated: first deprecated in iOS 9.0 - Use creationRequestForAssetFromImage: on PHAssetChangeRequest from the Photos framework to create a new asset instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.07]: ▸ [library writeImageToSavedPhotosAlbum:image.CGImage orientation:(ALAssetOrientation)(image.imageOrientation) completionBlock:nil];
INFO [2016-10-17 16:08:49.07]: ▸                            ^
INFO [2016-10-17 16:08:49.08]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:561:147: 'ALAuthorizationStatusAuthorized' is deprecated: first deprecated in iOS 9.0 [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.08]: ▸ if (picker.sourceType == UIImagePickerControllerSourceTypeCamera && [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo] != ALAuthorizationStatusAuthorized) {
INFO [2016-10-17 16:08:49.08]: ▸ ^
INFO [2016-10-17 16:08:49.08]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:563:101: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.11]: ▸ } else if (picker.sourceType != UIImagePickerControllerSourceTypeCamera && [ALAssetsLibrary authorizationStatus] != ALAuthorizationStatusAuthorized) {
INFO [2016-10-17 16:08:49.11]: ▸     ^
INFO [2016-10-17 16:08:49.11]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:563:101: 'authorizationStatus' is deprecated: first deprecated in iOS 9.0 - Use authorizationStatus on the shared PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.11]: ▸ } else if (picker.sourceType != UIImagePickerControllerSourceTypeCamera && [ALAssetsLibrary authorizationStatus] != ALAuthorizationStatusAuthorized) {
INFO [2016-10-17 16:08:49.12]: ▸            ^
INFO [2016-10-17 16:08:49.12]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:563:125: 'ALAuthorizationStatusAuthorized' is deprecated: first deprecated in iOS 9.0 [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.12]: ▸ } else if (picker.sourceType != UIImagePickerControllerSourceTypeCamera && [ALAssetsLibrary authorizationStatus] != ALAuthorizationStatusAuthorized) {
INFO [2016-10-17 16:08:49.12]: ▸ ^
INFO [2016-10-17 16:08:49.12]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:714:9: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.12]: ��� ALAssetsLibrary *library = [ALAssetsLibrary new];
INFO [2016-10-17 16:08:49.13]: ▸     ^
INFO [2016-10-17 16:08:49.13]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:714:53: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.13]: ▸ ALAssetsLibrary *library = [ALAssetsLibrary new];
INFO [2016-10-17 16:08:49.13]: ▸            ^
INFO [2016-10-17 16:08:49.13]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-camera/CDVCamera.m:715:18: 'writeImageDataToSavedPhotosAlbum:metadata:completionBlock:' is deprecated: first deprecated in iOS 9.0 - Use creationRequestForAssetFromImageData: on PHAssetChangeRequest from the Photos framework to create a new asset instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.16]: ▸ [library writeImageDataToSavedPhotosAlbum:self.data metadata:self.metadata completionBlock:nil];
INFO [2016-10-17 16:08:49.16]: ▸            ^
INFO [2016-10-17 16:08:49.16]: ▸ Compiling CDVJpegHeaderWriter.m
INFO [2016-10-17 16:08:49.16]: ▸ Compiling NSString+URLEncoding.m
INFO [2016-10-17 16:08:49.16]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/NSString+URLEncoding.m:7:27: 'CFURLCreateStringByAddingPercentEscapes' is deprecated: first deprecated in iOS 9.0 - Use [NSString stringByAddingPercentEncodingWithAllowedCharacters:] instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent (since each URL component or subcomponent has different rules for what characters are valid). [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.16]: ▸ CFURLCreateStringByAddingPercentEscapes(
INFO [2016-10-17 16:08:49.17]: ▸ ^
INFO [2016-10-17 16:08:49.17]: ▸ Compiling SocialSharing.m
INFO [2016-10-17 16:08:49.17]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:16:3: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.17]: ▸ UIPopoverController *_popover;
INFO [2016-10-17 16:08:49.17]: ▸             ^
INFO [2016-10-17 16:08:49.17]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:747:28: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.20]: ▸ - (void)popoverController:(UIPopoverController *)popoverController willRepositionPopoverToRect:(inout CGRect *)rect inView:(inout UIView **)view {
INFO [2016-10-17 16:08:49.20]: ▸            ^
INFO [2016-10-17 16:08:49.21]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:753:45: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.21]: ▸ - (void)popoverControllerDidDismissPopover:(UIPopoverController *)popoverController {
INFO [2016-10-17 16:08:49.21]: ▸            ^
INFO [2016-10-17 16:08:49.21]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:165:46: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.21]: ▸ _popover = [[UIPopoverController alloc] initWithContentViewController:activityVC];
INFO [2016-10-17 16:08:49.21]: ▸            ^
INFO [2016-10-17 16:08:49.21]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:208:9: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.22]: ▸ UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"" message:hint delegate:nil cancelButtonTitle:nil otherButtonTitles:nil];
INFO [2016-10-17 16:08:49.22]: ▸            ^
INFO [2016-10-17 16:08:49.22]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:208:44: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.22]: ▸ UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"" message:hint delegate:nil cancelButtonTitle:nil otherButtonTitles:nil];
INFO [2016-10-17 16:08:49.25]: ▸            ^
INFO [2016-10-17 16:08:49.25]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:322:7: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.25]: ▸ UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"SocialSharing plugin"
INFO [2016-10-17 16:08:49.25]: ▸            ^
INFO [2016-10-17 16:08:49.25]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:322:42: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.27]: ▸ UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"SocialSharing plugin"
INFO [2016-10-17 16:08:49.27]: ▸            ^
INFO [2016-10-17 16:08:49.27]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:619:50: 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each URL component or subcomponent has different rules for what characters are valid. [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.27]: ▸ NSString * encodedShareString = [shareString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
INFO [2016-10-17 16:08:49.27]: ▸            ^
INFO [2016-10-17 16:08:49.28]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m:630:40: 'openURL:' is deprecated: first deprecated in iOS 10.0 - Please use openURL:options:completionHandler: instead [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.28]: ▸ [[UIApplication sharedApplication] openURL: whatsappURL];
INFO [2016-10-17 16:08:49.28]: ▸ ^
INFO [2016-10-17 16:08:49.28]: ▸ Compiling CDVLocation.m
INFO [2016-10-17 16:08:49.28]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-geolocation/CDVLocation.m:76:31: 'kCLAuthorizationStatusAuthorized' is deprecated: first deprecated in iOS 8.0 - Use kCLAuthorizationStatusAuthorizedAlways [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.28]: ▸ return (authStatus == kCLAuthorizationStatusAuthorized) || (authStatus == kCLAuthorizationStatusNotDetermined);
INFO [2016-10-17 16:08:49.29]: ▸ ^
INFO [2016-10-17 16:08:49.30]: ▸ ⚠  /Applications/AMPPS/www/h2h/platforms/ios/Harvest2Hand/Plugins/cordova-plugin-geolocation/CDVLocation.m:91:42: 'locationServicesEnabled' is deprecated: first deprecated in iOS 4.0 [-Wdeprecated-declarations]
INFO [2016-10-17 16:08:49.30]: ▸ return [(id)self.locationManager locationServicesEnabled];
INFO [2016-10-17 16:08:49.30]: ▸         ^
INFO [2016-10-17 16:08:49.30]: ▸ Compiling IonicKeyboard.m
INFO [2016-10-17 16:08:49.30]: ▸ Linking Harvest2Hand
INFO [2016-10-17 16:08:49.42]: ▸ Linking Harvest2Hand
INFO [2016-10-17 16:08:49.47]: ▸ Generating 'Harvest2Hand.app.dSYM'
INFO [2016-10-17 16:08:49.77]: ▸ Running script 'Fabric'
INFO [2016-10-17 16:08:49.89]: ▸ Touching Harvest2Hand.app
INFO [2016-10-17 16:08:49.90]: ▸ Signing /Users/EMACHINE/Library/Developer/Xcode/DerivedData/Harvest2Hand-gliswcshehhoosfnkkgiuhojakws/Build/Intermediates/ArchiveIntermediates/Harvest2Hand/InstallationBuildProductsLocation/Applications/Harvest2Hand.app
INFO [2016-10-17 16:08:51.53]: ▸ Touching Harvest2Hand.app.dSYM
INFO [2016-10-17 16:08:51.62]: ▸ Archive Succeeded
DEBUG [2016-10-17 16:08:51.88]: Stored the archive in: /Users/EMACHINE/Library/Developer/Xcode/Archives/2016-10-17/Harvest2Hand 2016-10-17 16.08.39.xcarchive
WARN [2016-10-17 16:08:51.88]: Generated plist file with the following values:
INFO [2016-10-17 16:08:51.88]: ▸ -----------------------------------------
INFO [2016-10-17 16:08:51.88]: ▸ {
INFO [2016-10-17 16:08:51.88]: ▸   "method": "ad-hoc"
INFO [2016-10-17 16:08:51.88]: ▸ }
INFO [2016-10-17 16:08:51.88]: ▸ -----------------------------------------
INFO [2016-10-17 16:08:51.88]: This results in the following plist file:
INFO [2016-10-17 16:08:51.88]: ▸ -----------------------------------------
INFO [2016-10-17 16:08:51.89]: ▸ <?xml version="1.0" encoding="UTF-8"?>
INFO [2016-10-17 16:08:51.89]: ▸ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
INFO [2016-10-17 16:08:51.89]: ▸ <plist version="1.0">
INFO [2016-10-17 16:08:51.89]: ▸ <dict>
INFO [2016-10-17 16:08:51.89]: ▸        <key>method</key>
INFO [2016-10-17 16:08:51.89]: ▸        <string>ad-hoc</string>
INFO [2016-10-17 16:08:51.89]: ▸ </dict>
INFO [2016-10-17 16:08:51.89]: ▸ </plist>
INFO [2016-10-17 16:08:51.89]: ▸ -----------------------------------------
+----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
|                                                                                Generated Package Command                                                                                |
+----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| Option                                                                                | Value                                                                                |
+----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| /usr/bin/xcrun /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gym-1.11.3/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive |                                                                                |
| -exportOptionsPlist                                                                                | /var/folders/sc/fy57tffn13xcq_r57v8yjf140000gn/T/gym_config20161017-76675-cay011.plist |
| -archivePath /Users/EMACHINE/Library/Developer/Xcode/Archives/2016-10-17/Harvest2Hand\ 2016-10-17\ 16.08.39.xcarchive                              |                                                                                |
| -exportPath                                                                                | /var/folders/sc/fy57tffn13xcq_r57v8yjf140000gn/T/gym_output20161017-76675-4tpy8g       |
+----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
INFO [2016-10-17 16:08:51.89]: $ /usr/bin/xcrun /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gym-1.11.3/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/sc/fy57tffn13xcq_r57v8yjf140000gn/T/gym_config20161017-76675-cay011.plist' -archivePath /Users/EMACHINE/Library/Developer/Xcode/Archives/2016-10-17/Harvest2Hand\ 2016-10-17\ 16.08.39.xcarchive -exportPath '/var/folders/sc/fy57tffn13xcq_r57v8yjf140000gn/T/gym_output20161017-76675-4tpy8g'

ERROR [2016-10-17 16:09:11.43]: Exit status:
ERROR [2016-10-17 16:09:11.44]: 📋  For a more detailed error log, check the full log at
ERROR [2016-10-17 16:09:11.44]: 📋  /Users/EMACHINE/Library/Logs/gym/Harvest2Hand-Harvest2Hand.lo
WARN [2016-10-17 16:09:11.45]: Variable Dump:
INFO [2016-10-17 16:09:11.45]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta"}
ERROR [2016-10-17 16:09:11.45]: Error packaging up the application
INFO [2016-10-17 16:09:11.46]: Successfully generated documentation at path '/Applications/AMPPS/www/h2h/platforms/ios/fastlane/README.md'

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 💥    gym                                 | 33          |
+------+-------------------------------------+-------------+

ERROR [2016-10-17 16:09:11.48]: fastlane finished with errors
/Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/interface.rb:145:in `user_error!': [!] Error packaging up the application (FastlaneCore::Interface::FastlaneError)
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/ui.rb:14:in `method_missing'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gym-1.11.3/lib/gym/error_handler.rb:96:in `handle_package_error'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gym-1.11.3/lib/gym/runner.rb:125:in `block in package_app'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane_core-0.52.1/lib/fastlane_core/command_executor.rb:88:in `call'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane_core-0.52.1/lib/fastlane_core/command_executor.rb:88:in `execute'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gym-1.11.3/lib/gym/runner.rb:121:in `package_app'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gym-1.11.3/lib/gym/runner.rb:20:in `run'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gym-1.11.3/lib/gym/manager.rb:14:in `work'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/actions/gym.rb:24:in `run'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:202:in `block (2 levels) in execute_action'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:187:in `block in execute_action'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:186:in `chdir'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:186:in `execute_action'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:112:in `trigger_action_by_name'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/fast_file.rb:140:in `method_missing'
        from Fastfile:13:in `block (2 levels) in parsing_binding'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/lane.rb:33:in `call'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/lane.rb:33:in `call'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:49:in `block in execute'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:45:in `chdir'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/runner.rb:45:in `execute'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/command_line_handler.rb:30:in `handle'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/commands_generator.rb:49:in `block (2 levels) in run'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/commands_generator.rb:244:in `run'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/commands_generator.rb:20:in `start'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.105.2/bin/fastlane:5:in `<top (required)>'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/bin/fastlane:23:in `load'
        from /Users/EMACHINE/.rbenv/versions/2.2.3/bin/fastlane:23:in `<main>'

@ethanmay Does this build succeed if clean: true?

@TKBurner unfortunately no. It produces the same output as above.

@ethanmay Does running /usr/bin/xcrun /Users/EMACHINE/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gym-1.11.3/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/sc/fy57tffn13xcq_r57v8yjf140000gn/T/gym_config20161017-76675-cay011.plist' -archivePath /Users/EMACHINE/Library/Developer/Xcode/Archives/2016-10-17/Harvest2Hand\ 2016-10-17\ 16.08.39.xcarchive -exportPath '/var/folders/sc/fy57tffn13xcq_r57v8yjf140000gn/T/gym_output20161017-76675-4tpy8g'    by itself succeed? Thanks for working with me on this 👍

I'm getting this same problem. I've just run the command as @TKBurner suggested, but I an error still:
/usr/bin/xcrun /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/gym_config20161019-87029-10ay5li.plist' -archivePath /Users/kylejm/Library/Developer/Xcode/Archives/2016-10-19/Loot\ Release\ 2016-10-19\ 09.51.53.xcarchive -exportPath '/var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/gym_output20161019-87029-1xe0tun'
rbenv detected, removing env variables
+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/gym_config20161019-87029-10ay5li.plist -archivePath '/Users/kylejm/Library/Developer/Xcode/Archives/2016-10-19/Loot Release 2016-10-19 09.51.53.xcarchive' -exportPath /var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/gym_output20161019-87029-1xe0tun
2016-10-19 10:00:21.250 xcodebuild[87818:3604801] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/Loot Release_2016-10-19_10-00-21.249.xcdistributionlogs'.
1.2.840.1136<IP_ADDRESS>
2016-10-19 10:00:22.593 xcodebuild[87818:3604801] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-11246/IDEFoundation/Distribution/IDEDistributionSummaryStep.m:213
Details:  A method claimed to have succeeded but provided an error!
Object:   <IDEDistributionSummaryStep>
Method:   +_distributionItemsWithoutBitcodeForPlatforms:flattenedDistributionItems:archive:withError:
Thread:   <NSThread: 0x7feeedd13540>{number = 1, name = main}
Hints: None
Backtrace:
  0   -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
  1   _DVTAssertionHandler (in DVTFoundation)
  2   _DVTAssertionFailureHandler (in DVTFoundation)
  3   +[IDEDistributionSummaryStep _distributionItemsWithoutBitcodeForPlatforms:flattenedDistributionItems:archive:withError:] (in IDEFoundation)
  4   -[IDEDistributionSummaryStep distributionItemsWithoutBitcodeForPlatforms:withError:] (in IDEFoundation)
  5   -[IDEDistributionSummaryStep loadFromPropertyList:error:] (in IDEFoundation)
  6   -[IDEDistributionDriver runWithDestinationPath:error:] (in IDEFoundation)
  7   -[Xcode3CommandLineBuildTool _distributeArchiveAndExit] (in Xcode3Core)
  8   -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
  9  0x0000000102f8e202 (in xcodebuild)
 10   start (in libdyld.dylib)
/Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/lib/assets/wrap_xcodebuild/xcbuild-safe.sh: line 58: 87818 Abort trap: 6           xcodebuild "$@"

LMK if there's anything I can do to help you debug. This is quite a blocker for our process.

Just came in to say I started getting this error just now for the first time.
2016-10-19 08:47:13.176 xcodebuild[10046:21573] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/SmartNews_2016-10-19_08-47-13.176.xcdistributionlogs'.
2016-10-19 08:47:15.672 xcodebuild[10046:21573] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-11246/IDEFoundation/Distribution/IDEDistributionSummaryStep.m:213
Details:  A method claimed to have succeeded but provided an error!
Object:   <IDEDistributionSummaryStep>
Method:   +_distributionItemsWithoutBitcodeForPlatforms:flattenedDistributionItems:archive:withError:
Thread:   <NSThread: 0x7fc818c15f10>{number = 1, name = main}
Hints: None
Backtrace:
0   -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
1   _DVTAssertionHandler (in DVTFoundation)
2   _DVTAssertionFailureHandler (in DVTFoundation)
3   +[IDEDistributionSummaryStep _distributionItemsWithoutBitcodeForPlatforms:flattenedDistributionItems:archive:withError:] (in IDEFoundation)
4   -[IDEDistributionSummaryStep distributionItemsWithoutBitcodeForPlatforms:withError:] (in IDEFoundation)
5   -[IDEDistributionSummaryStep loadFromPropertyList:error:] (in IDEFoundation)
6   -[IDEDistributionDriver runWithDestinationPath:error:] (in IDEFoundation)
7   -[Xcode3CommandLineBuildTool _distributeArchiveAndExit] (in Xcode3Core)
8   -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
9  0x000000010ddf3202 (in xcodebuild)
10   start (in libdyld.dylib)
/Users/travis/.rvm/gems/ruby-2.0.0-p648/gems/gym-1.11.3/lib/assets/wrap_xcodebuild/xcbuild-safe.sh: line 58: 10046 Abort trap: 6           xcodebuild "$@"

Update:
Installing fastlane_core 0.52.2 appeared to work. However, I then got an error from iTunes Connect saying that I couldn't upload an older version of the app... which was strange because the build number went from <IP_ADDRESS>90 to <IP_ADDRESS>10. I personally think this was an iTunes Connect false error.
Run the build again (Travis CI -> Restart Job)
Original problem returned... so I'm not sure what's going on.
Run the same lane locally (fastlane 1.105.2, gym 1.11.0, core 0.52.1 (I think)) and no problems.

Hi @ChristopherDrum are you able to not use system ruby on Travis? It seems like this is related to your ruby setup.

I'll give it a shot. Honestly, the ruby version was set that way for reasons that have been lost to time and turnover. LOL
However, this has never been a problem before, and is not exhibiting similar issues with the Fabric Beta distributions... although Beta distributions have other build issues that are unresolved at this time. Hmm... could this Ruby environment have been the root cause this whole time....
Time to try. I'll let you know how it goes.

@ChristopherDrum Thanks! Please do let me know how it goes 👍 Hope you have a great weekend coming up.

I'd be really surprised if it's the ruby env as this problem is still happening for me both on CI and on my local machine. On my machine I'm using rbenv with ruby 2.3.1.
I've tried using the versions that @ChristopherDrum recommends (fastlane 1.105.2, gym 1.11.0, fastlane_core 0.52.1) but it hasn't worked.
Here's my verbose output after the archive succeeding:
INFO [2016-10-20 22:14:15.86]: ▸ Archive Succeeded
DEBUG [2016-10-20 22:14:16.26]: Stored the archive in: /Users/kylejm/Library/Developer/Xcode/Archives/2016-10-20/Loot Release 2016-10-20 22.09.51.xcarchive
WARN [2016-10-20 22:14:16.28]: Generated plist file with the following values:
INFO [2016-10-20 22:14:16.28]: ▸ -----------------------------------------
INFO [2016-10-20 22:14:16.28]: ▸ {
INFO [2016-10-20 22:14:16.28]: ▸   "method": "app-store",
INFO [2016-10-20 22:14:16.28]: ▸   "uploadSymbols": true,
INFO [2016-10-20 22:14:16.28]: ▸   "uploadBitcode": false
INFO [2016-10-20 22:14:16.28]: ▸ }
INFO [2016-10-20 22:14:16.28]: ▸ -----------------------------------------
INFO [2016-10-20 22:14:16.28]: This results in the following plist file:
INFO [2016-10-20 22:14:16.28]: ▸ -----------------------------------------
INFO [2016-10-20 22:14:16.28]: ▸ <?xml version="1.0" encoding="UTF-8"?>
INFO [2016-10-20 22:14:16.28]: ▸ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
INFO [2016-10-20 22:14:16.28]: ▸ <plist version="1.0">
INFO [2016-10-20 22:14:16.28]: ▸ <dict>
INFO [2016-10-20 22:14:16.28]: ▸ 	<key>method</key>
INFO [2016-10-20 22:14:16.28]: ▸ 	<string>app-store</string>
INFO [2016-10-20 22:14:16.28]: ▸ 	<key>uploadBitcode</key>
INFO [2016-10-20 22:14:16.28]: ▸ 	<false/>
INFO [2016-10-20 22:14:16.28]: ▸ 	<key>uploadSymbols</key>
INFO [2016-10-20 22:14:16.28]: ▸ 	<true/>
INFO [2016-10-20 22:14:16.28]: ▸ </dict>
INFO [2016-10-20 22:14:16.28]: ▸ </plist>
INFO [2016-10-20 22:14:16.28]: ▸ -----------------------------------------
+--------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
|                                                                                Generated Package Command                                                                                |
+--------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| Option                                                                                | Value                                                                                |
+--------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| /usr/bin/xcrun /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive |                                                                                |
| -exportOptionsPlist                                                                                | /var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/gym_config20161020-99083-8ecbyq.plist |
| -archivePath /Users/kylejm/Library/Developer/Xcode/Archives/2016-10-20/Loot\ Release\ 2016-10-20\ 22.09.51.xcarchive                             |                                                                                |
| -exportPath                                                                                | /var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/gym_output20161020-99083-i6w8o4       |
+--------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
INFO [2016-10-20 22:14:16.29]: $ /usr/bin/xcrun /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/gym_config20161020-99083-8ecbyq.plist' -archivePath /Users/kylejm/Library/Developer/Xcode/Archives/2016-10-20/Loot\ Release\ 2016-10-20\ 22.09.51.xcarchive -exportPath '/var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/gym_output20161020-99083-i6w8o4'
INFO [2016-10-20 22:14:16.71]: ▸ rbenv detected, removing env variables
INFO [2016-10-20 22:14:16.77]: ▸ + xcodebuild -exportArchive -exportOptionsPlist /var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/gym_config20161020-99083-8ecbyq.plist -archivePath '/Users/kylejm/Library/Developer/Xcode/Archives/2016-10-20/Loot Release 2016-10-20 22.09.51.xcarchive' -exportPath /var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/gym_output20161020-99083-i6w8o4
INFO [2016-10-20 22:14:17.97]: ▸ 2016-10-20 22:14:17.976 xcodebuild[99721:3856687] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/Loot Release_2016-10-20_22-14-17.975.xcdistributionlogs'.
INFO [2016-10-20 22:14:19.06]: ▸ 1.2.840.1136<IP_ADDRESS>
INFO [2016-10-20 22:14:20.25]: ▸ 2016-10-20 22:14:20.253 xcodebuild[99721:3856687] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-11246/IDEFoundation/Distribution/IDEDistributionSummaryStep.m:213
INFO [2016-10-20 22:14:20.25]: ▸ Details:  A method claimed to have succeeded but provided an error!
INFO [2016-10-20 22:14:20.25]: ▸ Object:   <IDEDistributionSummaryStep>
INFO [2016-10-20 22:14:20.25]: ▸ Method:   +_distributionItemsWithoutBitcodeForPlatforms:flattenedDistributionItems:archive:withError:
INFO [2016-10-20 22:14:20.25]: ▸ Thread:   <NSThread: 0x7fecd6511430>{number = 1, name = main}
INFO [2016-10-20 22:14:20.25]: ▸ Hints: None
INFO [2016-10-20 22:14:20.25]: ▸ Backtrace:
INFO [2016-10-20 22:14:20.25]: ▸ 0   -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
INFO [2016-10-20 22:14:20.25]: ▸ 1   _DVTAssertionHandler (in DVTFoundation)
INFO [2016-10-20 22:14:20.25]: ▸ 2   _DVTAssertionFailureHandler (in DVTFoundation)
INFO [2016-10-20 22:14:20.25]: ▸ 3   +[IDEDistributionSummaryStep _distributionItemsWithoutBitcodeForPlatforms:flattenedDistributionItems:archive:withError:] (in IDEFoundation)
INFO [2016-10-20 22:14:20.25]: ▸ 4   -[IDEDistributionSummaryStep distributionItemsWithoutBitcodeForPlatforms:withError:] (in IDEFoundation)
INFO [2016-10-20 22:14:20.25]: ▸ 5   -[IDEDistributionSummaryStep loadFromPropertyList:error:] (in IDEFoundation)
INFO [2016-10-20 22:14:20.25]: ▸ 6   -[IDEDistributionDriver runWithDestinationPath:error:] (in IDEFoundation)
INFO [2016-10-20 22:14:20.25]: ▸ 7   -[Xcode3CommandLineBuildTool _distributeArchiveAndExit] (in Xcode3Core)
INFO [2016-10-20 22:14:20.25]: ▸ 8   -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
INFO [2016-10-20 22:14:20.26]: ▸ 9  0x0000000101ab2202 (in xcodebuild)
INFO [2016-10-20 22:14:20.26]: ▸ 10   start (in libdyld.dylib)
INFO [2016-10-20 22:14:20.26]: ▸ /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/lib/assets/wrap_xcodebuild/xcbuild-safe.sh: line 58: 99721 Abort trap: 6           xcodebuild "$@"
rbenv detected, removing env variables
+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/gym_config20161020-99083-8ecbyq.plist -archivePath '/Users/kylejm/Library/Developer/Xcode/Archives/2016-10-20/Loot Release 2016-10-20 22.09.51.xcarchive' -exportPath /var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/gym_output20161020-99083-i6w8o4
2016-10-20 22:14:17.976 xcodebuild[99721:3856687] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/Loot Release_2016-10-20_22-14-17.975.xcdistributionlogs'.
1.2.840.1136<IP_ADDRESS>
2016-10-20 22:14:20.253 xcodebuild[99721:3856687] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-11246/IDEFoundation/Distribution/IDEDistributionSummaryStep.m:213
Details:  A method claimed to have succeeded but provided an error!
Object:   <IDEDistributionSummaryStep>
Method:   +_distributionItemsWithoutBitcodeForPlatforms:flattenedDistributionItems:archive:withError:
Thread:   <NSThread: 0x7fecd6511430>{number = 1, name = main}
Hints: None
Backtrace:
0   -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
1   _DVTAssertionHandler (in DVTFoundation)
2   _DVTAssertionFailureHandler (in DVTFoundation)
3   +[IDEDistributionSummaryStep _distributionItemsWithoutBitcodeForPlatforms:flattenedDistributionItems:archive:withError:] (in IDEFoundation)
4   -[IDEDistributionSummaryStep distributionItemsWithoutBitcodeForPlatforms:withError:] (in IDEFoundation)
5   -[IDEDistributionSummaryStep loadFromPropertyList:error:] (in IDEFoundation)
6   -[IDEDistributionDriver runWithDestinationPath:error:] (in IDEFoundation)
7   -[Xcode3CommandLineBuildTool _distributeArchiveAndExit] (in Xcode3Core)
8   -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
9  0x0000000101ab2202 (in xcodebuild)
10   start (in libdyld.dylib)
/Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/lib/assets/wrap_xcodebuild/xcbuild-safe.sh: line 58: 99721 Abort trap: 6           xcodebuild "$@"
ERROR [2016-10-20 22:14:20.26]: Exit status: 134
ERROR [2016-10-20 22:14:20.26]: 📋  For a more detailed error log, check the full log at:
ERROR [2016-10-20 22:14:20.26]: 📋  /Users/kylejm/Library/Logs/gym/Loot Release-Loot Release.log
/Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane_core-0.52.3/lib/fastlane_core/ui/interface.rb:145:in `user_error!': [!] Error packaging up the application (FastlaneCore::Interface::FastlaneError)
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane_core-0.52.3/lib/fastlane_core/ui/ui.rb:14:in `method_missing'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/lib/gym/error_handler.rb:96:in `handle_package_error'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/lib/gym/runner.rb:125:in `block in package_app'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane_core-0.52.3/lib/fastlane_core/command_executor.rb:88:in `execute'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/lib/gym/runner.rb:121:in `package_app'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/lib/gym/runner.rb:20:in `run'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/lib/gym/manager.rb:14:in `work'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/lib/gym/commands_generator.rb:42:in `block (2 levels) in run'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane_core-0.52.3/lib/fastlane_core/ui/fastlane_runner.rb:38:in `run!'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/lib/gym/commands_generator.rb:61:in `run'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/lib/gym/commands_generator.rb:15:in `start'
	from /Users/kylejm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gym-1.11.3/bin/gym:6:in `<top (required)>'
	from /Users/kylejm/.rbenv/versions/2.3.1/bin/gym:23:in `load'
	from /Users/kylejm/.rbenv/versions/2.3.1/bin/gym:23:in `<main>'

I've checked the logs at /var/folders/qv/8ntp55hd26j0zsrdt5tshr900000gn/T/Loot\ Release_2016-10-20_22-14-17.975.xcdistributionlogs/, but there are no errors in there of relevance, only ones like this:
2016-10-20 21:14:18 +0000 [MT] [OPTIONAL] Didn't find archived user entitlements for <DVTFilePath:0x7fecd8e3c740:'/Users/kylejm/Library/Developer/Xcode/Archives/2016-10-20/Loot Release 2016-10-20 22.09.51.xcarchive/Products/Applications/Loot Release.app/Frameworks/libswiftCoreMedia.dylib'>: Error Domain=NSCocoaErrorDomain Code=4 "Item at "/Users/kylejm/Library/Developer/Xcode/Archives/2016-10-20/Loot Release 2016-10-20 22.09.51.xcarchive/Products/Applications/Loot Release.app/Frameworks/libswiftCoreMedia.dylib" did not contain a "archived-expanded-entitlements.xcent" resource." UserInfo={NSLocalizedDescription=Item at "/Users/kylejm/Library/Developer/Xcode/Archives/2016-10-20/Loot Release 2016-10-20 22.09.51.xcarchive/Products/Applications/Loot Release.app/Frameworks/libswiftCoreMedia.dylib" did not contain a "archived-expanded-entitlements.xcent" resource.}

Which have the [OPTIONAL] statement at the start.

Just to give an update, I've found that our occurrence of this issue is happening within xcodebuild every single time. Whether through gym, Xcode 8, or xcodebuild directly.
There's a thread about it [here on the  dev forum](https://forums.developer.apple.com/thread/54445]. I still haven't found what's causing it for me, but there seems to be several solutions on there to try.
This issue is stopping us from packaging our app all together :(. Will update here when I find out more.

FOUND THE PROBLEM!! It was mentioned in that  thread.
PR to a dependancy of ours linked to above fixes this issue for us.
Fixed by following zirinisp's comment:
Oct 3, 2016 12:02 AM
(in response to zirinisp)
I finally found a solution to the above problem. I had a framework (added through carthage) that was including libraries and other frameworks. You can identify that you have the same problem as me using the following steps:

- Do a carthage update and add all framework on xcode (you have probably already done this step when you setup xcode).
- Then open xcode and on the left side go to the frameworks folden and expand.
- You should get a list with all frameworks installed
- Then expand each framework.
- You should only see a folder called "Headers"
- If you see a folder called "Frameworks", then you have the problem I had.

To solve it you need to create a fork on github (or the git site that you checked out the framework) and go to the build settings and set the following:

ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;

@ethanmay Did you try the above workaround? Let me know if it works for you. Thanks!