{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/3470","repository_url":"https://api.github.com/repos/NativeScript/nativescript-cli","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/3470/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/3470/comments","events_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/3470/events","html_url":"https://github.com/NativeScript/nativescript-cli/issues/3470","id":306169702,"number":3470,"title":"Error when we are publishing to AppStore","user":{"login":"xnramx","id":1490250,"avatar_url":"https://avatars0.githubusercontent.com/u/1490250?v=4","gravatar_id":"","url":"https://api.github.com/users/xnramx","html_url":"https://github.com/xnramx","followers_url":"https://api.github.com/users/xnramx/followers","following_url":"https://api.github.com/users/xnramx/following{/other_user}","gists_url":"https://api.github.com/users/xnramx/gists{/gist_id}","starred_url":"https://api.github.com/users/xnramx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xnramx/subscriptions","organizations_url":"https://api.github.com/users/xnramx/orgs","repos_url":"https://api.github.com/users/xnramx/repos","events_url":"https://api.github.com/users/xnramx/events{/privacy}","received_events_url":"https://api.github.com/users/xnramx/received_events","type":"User","site_admin":false},"labels":[{"id":661169656,"url":"https://api.github.com/repos/NativeScript/nativescript-cli/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"id":382237878,"url":"https://api.github.com/repos/NativeScript/nativescript-cli/labels/os:%20ios","name":"os: ios","color":"006b75","default":false}],"state":"open","locked":false,"assignee":{"login":"Fatme","id":760518,"avatar_url":"https://avatars3.githubusercontent.com/u/760518?v=4","gravatar_id":"","url":"https://api.github.com/users/Fatme","html_url":"https://github.com/Fatme","followers_url":"https://api.github.com/users/Fatme/followers","following_url":"https://api.github.com/users/Fatme/following{/other_user}","gists_url":"https://api.github.com/users/Fatme/gists{/gist_id}","starred_url":"https://api.github.com/users/Fatme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fatme/subscriptions","organizations_url":"https://api.github.com/users/Fatme/orgs","repos_url":"https://api.github.com/users/Fatme/repos","events_url":"https://api.github.com/users/Fatme/events{/privacy}","received_events_url":"https://api.github.com/users/Fatme/received_events","type":"User","site_admin":false},"assignees":[{"login":"Fatme","id":760518,"avatar_url":"https://avatars3.githubusercontent.com/u/760518?v=4","gravatar_id":"","url":"https://api.github.com/users/Fatme","html_url":"https://github.com/Fatme","followers_url":"https://api.github.com/users/Fatme/followers","following_url":"https://api.github.com/users/Fatme/following{/other_user}","gists_url":"https://api.github.com/users/Fatme/gists{/gist_id}","starred_url":"https://api.github.com/users/Fatme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fatme/subscriptions","organizations_url":"https://api.github.com/users/Fatme/orgs","repos_url":"https://api.github.com/users/Fatme/repos","events_url":"https://api.github.com/users/Fatme/events{/privacy}","received_events_url":"https://api.github.com/users/Fatme/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/milestones/67","html_url":"https://github.com/NativeScript/nativescript-cli/milestone/67","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/milestones/67/labels","id":3028644,"number":67,"title":"4.0.0","description":"","creator":{"login":"rosen-vladimirov","id":8351653,"avatar_url":"https://avatars1.githubusercontent.com/u/8351653?v=4","gravatar_id":"","url":"https://api.github.com/users/rosen-vladimirov","html_url":"https://github.com/rosen-vladimirov","followers_url":"https://api.github.com/users/rosen-vladimirov/followers","following_url":"https://api.github.com/users/rosen-vladimirov/following{/other_user}","gists_url":"https://api.github.com/users/rosen-vladimirov/gists{/gist_id}","starred_url":"https://api.github.com/users/rosen-vladimirov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosen-vladimirov/subscriptions","organizations_url":"https://api.github.com/users/rosen-vladimirov/orgs","repos_url":"https://api.github.com/users/rosen-vladimirov/repos","events_url":"https://api.github.com/users/rosen-vladimirov/events{/privacy}","received_events_url":"https://api.github.com/users/rosen-vladimirov/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":36,"state":"open","created_at":"2018-01-11T13:57:16Z","updated_at":"2018-03-26T22:41:21Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-03-17T16:28:04Z","updated_at":"2018-03-27T09:12:24Z","closed_at":null,"author_association":"NONE","body":"### Tell us about the problem\r\nWhen I run the following command:  `tns publish ios <Apple ID> <Password> <Mobile Provisioning Profile Identifier> <Code Sign Identity>`\r\nan error is thrown:\r\n```\r\nExported <ProjectName>.xcarchive to: /Users/nunomorais/Projects/<ProjectName>/platforms/ios/build/device\r\nProject successfully built.\r\nInvalid binary plist. Expected 'bplist' at offset 0.\r\n```\r\n\r\nI've already tryed to publish by **Sidekick** but the error is not clear too.\r\n```\r\n[18-03-17 16:03:40.989] Publishing failed.\r\n[!] The request could not be completed because:, Error: Publishing failed.\r\n[!] The request could not be completed because:\r\nat CloudPublishService.getiOSError (/Users/nunomorais/.local/share/.nativescript-cli/extensions/node_modules/nativescript-cloud/lib/services/cloud-publish-service.js:79:21)\r\nat CloudPublishService.<anonymous> (/Users/nunomorais/.local/share/.nativescript-cli/extensions/node_modules/nativescript-cloud/lib/services/cloud-publish-service.js:103:29)\r\nat Generator.next (<anonymous>)\r\nat fulfilled (/Users/nunomorais/.local/share/.nativescript-cli/extensions/node_modules/nativescript-cloud/lib/services/cloud-publish-service.js:4:58)\r\nat <anonymous>\r\nat process._tickCallback (internal/process/next_tick.js:160:7)\r\n```\r\n\r\n### Which platform(s) does your issue occur on?\r\niOS\r\n\r\n### Please provide the following version numbers that your issue occurs with:\r\n- CLI: **3.4.3**\r\n- Cross-platform modules: **3.4.1**\r\n- Runtime(s): **3.4.1**\r\n- Plugin(s): \r\n```\r\n\"dependencies\": {\r\n    \"@angular/animations\": \"~5.2.9\",\r\n    \"@angular/common\": \"~5.2.9\",\r\n    \"@angular/compiler\": \"~5.2.9\",\r\n    \"@angular/core\": \"~5.2.9\",\r\n    \"@angular/forms\": \"~5.2.9\",\r\n    \"@angular/http\": \"~5.2.9\",\r\n    \"@angular/platform-browser\": \"~5.2.9\",\r\n    \"@angular/platform-browser-dynamic\": \"~5.2.9\",\r\n    \"@angular/router\": \"~5.2.9\",\r\n    \"moment\": \"^2.21.0\",\r\n    \"nativescript-angular\": \"~5.2.0\",\r\n    \"nativescript-background-http\": \"^3.2.1\",\r\n    \"nativescript-camera\": \"^4.0.0\",\r\n    \"nativescript-drop-down\": \"^3.2.1\",\r\n    \"nativescript-imagecropper\": \"^0.1.2\",\r\n    \"nativescript-imagepicker\": \"~4.0.1\",\r\n    \"nativescript-iqkeyboardmanager\": \"^1.3.0\",\r\n    \"nativescript-localstorage\": \"^1.1.5\",\r\n    \"nativescript-plugin-firebase\": \"^5.1.8\",\r\n    \"nativescript-pro-ui\": \"3.4.1\",\r\n    \"nativescript-socket.io\": \"^0.9.0\",\r\n    \"nativescript-swift-3.0\": \"^1.0.0\",\r\n    \"nativescript-theme-core\": \"~1.0.2\",\r\n    \"nativescript-toolbox\": \"^3.0.1\",\r\n    \"nativescript-uuid\": \"0.0.1\",\r\n    \"reflect-metadata\": \"~0.1.12\",\r\n    \"rxjs\": \"~5.5.7\",\r\n    \"tns-core-modules\": \"^3.4.1\",\r\n    \"ts-events\": \"^3.2.0\",\r\n    \"zone.js\": \"~0.8.20\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@types/node\": \"^9.4.7\",\r\n    \"babel-traverse\": \"6.26.0\",\r\n    \"babel-types\": \"6.26.0\",\r\n    \"babylon\": \"6.18.0\",\r\n    \"lazy\": \"1.0.11\",\r\n    \"nativescript-dev-less\": \"0.0.11\",\r\n    \"nativescript-dev-typescript\": \"~0.6.0\",\r\n    \"typescript\": \"~2.7.2\"\r\n  }\r\n```\r\n\r\n\r\n**Info.plist:**\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\r\n<plist version=\"1.0\">\r\n<dict>\r\n\t<key>CFBundleDevelopmentRegion</key>\r\n\t<string>en</string>\r\n\t<key>CFBundleDisplayName</key>\r\n\t<string>${PRODUCT_NAME}</string>\r\n\t<key>CFBundleExecutable</key>\r\n\t<string>${EXECUTABLE_NAME}</string>\r\n\t<key>CFBundleInfoDictionaryVersion</key>\r\n\t<string>6.0</string>\r\n\t<key>CFBundleName</key>\r\n\t<string>${PRODUCT_NAME}</string>\r\n\t<key>CFBundlePackageType</key>\r\n\t<string>APPL</string>\r\n\t<key>CFBundleShortVersionString</key>\r\n\t<string>1.0</string>\r\n\t<key>CFBundleSignature</key>\r\n\t<string>????</string>\r\n\t<key>CFBundleVersion</key>\r\n\t<string>1.0</string>\r\n\t<key>LSRequiresIPhoneOS</key>\r\n\t<true/>\r\n\t<key>UILaunchStoryboardName</key>\r\n\t<string>LaunchScreen</string>\r\n\t<key>UIRequiresFullScreen</key>\r\n\t<true/>\r\n\t<key>UIRequiredDeviceCapabilities</key>\r\n\t<array>\r\n\t\t<string>armv7</string>\r\n\t</array>\r\n\t<key>UISupportedInterfaceOrientations</key>\r\n\t<array>\r\n\t\t<string>UIInterfaceOrientationPortrait</string>\r\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\r\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\r\n\t</array>\r\n\t<key>UISupportedInterfaceOrientations~ipad</key>\r\n\t<array>\r\n\t\t<string>UIInterfaceOrientationPortrait</string>\r\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\r\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\r\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\r\n\t</array>\r\n\t<key>UIBackgroundModes</key>\r\n\t<array>\r\n\t\t<string>remote-notification</string>\r\n\t</array>\r\n</dict>\r\n</plist>\r\n```\r\n**<AppName>.entitlements:**\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\r\n<plist version=\"1.0\">\r\n<dict>\r\n        <key>aps-environment</key>\r\n        <string>development</string>\r\n        <key>com.apple.keystore.access-keychain-keys</key>\r\n        <true/>\r\n        <key>com.apple.keystore.device</key>\r\n        <true/>\r\n</dict>\r\n</plist>\r\n```\r\n\r\n**build.xcconfig:**\r\n```\r\n// You can add custom settings here\r\n// for example you can uncomment the following line to force distribution code signing\r\n// CODE_SIGN_IDENTITY = iPhone Distribution\r\n// To build for device with Xcode 8 you need to specify your development team. More info: https://developer.apple.com/library/prerelease/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html\r\nDEVELOPMENT_TEAM = *6*******;\r\nASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\r\nASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;\r\nEMBEDDED_CONTENT_CONTAINS_SWIFT = YES;\r\nTARGETED_DEVICE_FAMILY = 1;\r\n// IPHONEOS_DEPLOYMENT_TARGET = 8.0;\r\nCODE_SIGN_ENTITLEMENTS = <AppName>/<AppName>.entitlements\r\n```"},"comment":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/comments/376453426","html_url":"https://github.com/NativeScript/nativescript-cli/issues/3470#issuecomment-376453426","issue_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/3470","id":376453426,"user":{"login":"Fatme","id":760518,"avatar_url":"https://avatars3.githubusercontent.com/u/760518?v=4","gravatar_id":"","url":"https://api.github.com/users/Fatme","html_url":"https://github.com/Fatme","followers_url":"https://api.github.com/users/Fatme/followers","following_url":"https://api.github.com/users/Fatme/following{/other_user}","gists_url":"https://api.github.com/users/Fatme/gists{/gist_id}","starred_url":"https://api.github.com/users/Fatme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fatme/subscriptions","organizations_url":"https://api.github.com/users/Fatme/orgs","repos_url":"https://api.github.com/users/Fatme/repos","events_url":"https://api.github.com/users/Fatme/events{/privacy}","received_events_url":"https://api.github.com/users/Fatme/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T09:12:24Z","updated_at":"2018-03-27T09:12:24Z","author_association":"CONTRIBUTOR","body":"Hi guys,\r\n\r\nWe've investigated the error from `tns publish ios` command and found the problem. The fix is already merged. You can use `npm i -g nativescript@rc` command to install the rc version of nativescript and try the fix on your side."}}
{"actor":{"display_login":"Fatme"}}