{"action":"closed","issue":{"url":"https://api.github.com/repos/KrauseFx/deliver/issues/346","labels_url":"https://api.github.com/repos/KrauseFx/deliver/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/KrauseFx/deliver/issues/346/comments","events_url":"https://api.github.com/repos/KrauseFx/deliver/issues/346/events","html_url":"https://github.com/KrauseFx/deliver/issues/346","id":108642531,"number":346,"title":"Deliver 1 beta, cannot set submission options. ","user":{"login":"OlofT","id":1730047,"avatar_url":"https://avatars.githubusercontent.com/u/1730047?v=3","gravatar_id":"","url":"https://api.github.com/users/OlofT","html_url":"https://github.com/OlofT","followers_url":"https://api.github.com/users/OlofT/followers","following_url":"https://api.github.com/users/OlofT/following{/other_user}","gists_url":"https://api.github.com/users/OlofT/gists{/gist_id}","starred_url":"https://api.github.com/users/OlofT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlofT/subscriptions","organizations_url":"https://api.github.com/users/OlofT/orgs","repos_url":"https://api.github.com/users/OlofT/repos","events_url":"https://api.github.com/users/OlofT/events{/privacy}","received_events_url":"https://api.github.com/users/OlofT/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-28T11:50:53Z","updated_at":"2015-09-29T04:12:53Z","closed_at":"2015-09-29T04:12:52Z","body":"Cannot set export_compliance_encryption_updated, have tried true/false/0/1/\"true\" etc...\r\n\r\nSelecting the latest build works, but when submitting it runs into problems.\r\n\r\nHere is the modified code:\r\n\r\n```ruby\r\nmodule Deliver\r\n  class SubmitForReview\r\n    def submit!(options)\r\n      app = options[:app]\r\n      select_build(options)\r\n\r\n      Helper.log.info \"here! Submitting the app for review...\"\r\n      submission = app.create_submission\r\n\r\n      # Set app submission information\r\n      \r\n      submission.export_compliance_encryption_updated = false\r\n      submission.export_compliance_is_exempt = true\r\n      submission.export_compliance_uses_encryption = true\r\n      \r\n      submission.content_rights_contains_third_party_content = false\r\n      submission.content_rights_has_rights = true\r\n      submission.add_id_info_uses_idfa = false\r\n      \r\n\r\n      # Finalize app submission\r\n      submission.complete!\r\n\r\n      Helper.log.info \"Successfully submitted the app for review!\".green\r\n    end\r\n```\r\n\r\nHere is the output\r\n\r\n```\r\n[13:45:11]: Selecting the latest build...\r\n[13:45:13]: Selecting build 1.3 (1.3.3)...\r\n[13:45:14]: Successfully selected build\r\n[13:45:14]: here! Submitting the app for review...\r\n/usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.9.0/lib/spaceship/tunes/tunes_client.rb:147:in `handle_itc_response': Error converting JSON string to object: Can not instantiate value of type [simple type, class com.apple.jingle.label.to.LCFieldTO<java.lang.String>] from JSON boolean value; no single-boolean/Boolean-arg constructor/factory method (through reference chain: com.apple.jingle.label.content.purple.to.LCSubmitForReviewTO[\"exportCompliance\"]->com.apple.jingle.label.content.purple.to.LCExportComplianceTO[\"encryptionUpdated\"]) (Spaceship::TunesClient::ITunesConnectError)\r\n\tfrom /usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.9.0/lib/spaceship/tunes/tunes_client.rb:559:in `send_app_submission'\r\n\tfrom /usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.9.0/lib/spaceship/tunes/app_submission.rb:126:in `complete!'\r\n\tfrom /Users/olof/dev/deliver/lib/deliver/submit_for_review.rb:22:in `submit!'\r\n\tfrom ./publish.rb:67:in `<main>'\r\n```"}}