{"action":"created","issue":{"url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/207","labels_url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/207/comments","events_url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/207/events","html_url":"https://github.com/openbakery/gradle-xcodePlugin/issues/207","id":105396069,"number":207,"title":"updating version via shortVersionStringSuffix does not update all required files","user":{"login":"tompson","id":103224,"avatar_url":"https://avatars.githubusercontent.com/u/103224?v=3","gravatar_id":"","url":"https://api.github.com/users/tompson","html_url":"https://github.com/tompson","followers_url":"https://api.github.com/users/tompson/followers","following_url":"https://api.github.com/users/tompson/following{/other_user}","gists_url":"https://api.github.com/users/tompson/gists{/gist_id}","starred_url":"https://api.github.com/users/tompson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tompson/subscriptions","organizations_url":"https://api.github.com/users/tompson/orgs","repos_url":"https://api.github.com/users/tompson/repos","events_url":"https://api.github.com/users/tompson/events{/privacy}","received_events_url":"https://api.github.com/users/tompson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-08T14:39:24Z","updated_at":"2015-09-09T09:09:15Z","closed_at":null,"body":"if I use ```agvtool``` like\r\n\r\n```agvtool new-marketing-version 1.1.6```\r\n\r\nit updates the plist files in my project like\r\n\r\n```\r\nSetting CFBundleShortVersionString of project Tour to:\r\n    1.1.6.\r\n\r\nUpdating CFBundleShortVersionString in Info.plist(s)...\r\n\r\nUpdated CFBundleShortVersionString in \"Tour.xcodeproj/../Tour/Tour-Info.plist\" to 1.1.6\r\nUpdated CFBundleShortVersionString in \"Tour.xcodeproj/../Tour/TourTest-Info.plist\" to 1.1.6\r\nUpdated CFBundleShortVersionString in \"Tour.xcodeproj/../tour WatchKit App/Info.plist\" to 1.1.6\r\nUpdated CFBundleShortVersionString in \"Tour.xcodeproj/../tour WatchKit Extension/Info.plist\" to 1.1.6\r\n```\r\n\r\nbut the plistinfo task only changes the ```Tour-Info.plist``` file\r\n\r\nwhich causes the build to fail with\r\n\r\n```\r\n2015-09-08 16:19:46.565 xcodebuild[98426:3677849]  DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-7709/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/BuildSystem/Runtime/BuiltinTools/XCEmbeddedBinaryValidationUtilityCommandInvocation.m:448\r\nDetails:  Embedded binary validation utility error: Error Domain=IDEFoundationErrorDomain Code=1 \"error: The value of CFBundleShortVersionString in your WatchKit app's Info.plist (1.1.6) does not match the value in your companion app's Info.plist (1.1.6_f907fd7). These values are required to match.\" UserInfo={NSLocalizedDescription=error: The value of CFBundleShortVersionString in your WatchKit app's Info.plist (1.1.6) does not match the value in your companion app's Info.plist (1.1.6_f907fd7). These values are required to match.}\r\n```"},"comment":{"url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/comments/138846915","html_url":"https://github.com/openbakery/gradle-xcodePlugin/issues/207#issuecomment-138846915","issue_url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/207","id":138846915,"user":{"login":"renep","id":414025,"avatar_url":"https://avatars.githubusercontent.com/u/414025?v=3","gravatar_id":"","url":"https://api.github.com/users/renep","html_url":"https://github.com/renep","followers_url":"https://api.github.com/users/renep/followers","following_url":"https://api.github.com/users/renep/following{/other_user}","gists_url":"https://api.github.com/users/renep/gists{/gist_id}","starred_url":"https://api.github.com/users/renep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renep/subscriptions","organizations_url":"https://api.github.com/users/renep/orgs","repos_url":"https://api.github.com/users/renep/repos","events_url":"https://api.github.com/users/renep/events{/privacy}","received_events_url":"https://api.github.com/users/renep/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T09:09:15Z","updated_at":"2015-09-09T09:09:15Z","body":"bump should only increase the last integer and the agvtool increase the first integer\r\ne.g.\r\n1.0.1 -> 1.0.2\r\n2 -> 3\r\n1.2 -> 1.3\r\n1.my-fance-10-version -> 1.my-fance-11-version\r\n\r\nIn the first version I want to focus on bumping only the version.\r\n\r\nWhy?\r\nWhat if the version and shortVersion are similar:\r\n```\r\nversion = 1.0.1 (20)\r\nshortVersion = 1.0.1\r\n```\r\n\r\nWhat should the values now be if I bump all versions?\r\n```\r\nversion = 1.0.2 (20)\r\nshortVersion = 1.0.2\r\n```\r\n\r\nor\r\n\r\n```\r\nversion = 1.0.2 (1)\r\nshortVersion = 1.0.2\r\n```\r\n\r\nor\r\n\r\n```\r\nversion = 1.0.1 (21)\r\nshortVersion = 1.0.2\r\n```\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}