Title: Error while running on device · Issue #2911 · NativeScript/nativescript-cli · GitHub
Open Graph Title: Error while running on device · Issue #2911 · NativeScript/nativescript-cli
X Title: Error while running on device · Issue #2911 · NativeScript/nativescript-cli
Description: Hello, I am trying to execute tns run ios --device 1 but I am getting the following error: **BUILD FAILED The following build commands failed: PhaseScriptExecution NativeScript\ PostBuild /Users/danieldragnev/Library/Developer/Xcode/Deri...
Open Graph Description: Hello, I am trying to execute tns run ios --device 1 but I am getting the following error: **BUILD FAILED The following build commands failed: PhaseScriptExecution NativeScript\ PostBuild /Users/da...
X Description: Hello, I am trying to execute tns run ios --device 1 but I am getting the following error: **BUILD FAILED The following build commands failed: PhaseScriptExecution NativeScript\ PostBuild /Users/da...
Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/2911
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error while running on device","articleBody":"Hello,\r\n\r\nI am trying to execute **tns run ios --device 1** but I am getting the following error:\r\n\r\n**BUILD FAILED\r\n\r\nThe following build commands failed:\r\n PhaseScriptExecution NativeScript\\ PostBuild /Users/danieldragnev/Library/Developer/Xcode/DerivedData/vlmobile-dltdszpmttvwrggquktgdsxlreac/Build/Intermediates/vlmobile.build/Debug-iphoneos/vlmobile.build/S\r\ncript-CD3EAD351B05FF060042DBFC.sh\r\n(1 failure)\r\nUnable to apply changes on device: 627fc6038a935c7d6fa76316c447e4cbe8ca8116. Error is: Command xcodebuild failed with exit code 65.\r\nExecuting before-watch hook from /Users/danieldragnev/Documents/Projects/vlmobile/hooks/before-watch/nativescript-dev-typescript.js\r\nFound peer TypeScript 2.2.2\r\n6:01:08 AM - Compilation complete. Watching for file changes.**\r\n\r\nHere is my package.json:\r\n```{\r\n \"name\": \"app\",\r\n \"version\": \"1.0.0\",\r\n \"description\": \"Mobile Application\",\r\n \"license\": \"SEE LICENSE IN \u003cyour-license-filename>\",\r\n \"readme\": \"Mobile Application\",\r\n \"repository\": \"\u003cfill-your-repository-here>\",\r\n \"nativescript\": {\r\n \"id\": \"com.company.app\",\r\n \"tns-ios\": {\r\n \"version\": \"3.0.1\"\r\n }\r\n },\r\n \"dependencies\": {\r\n \"@angular/animations\": \"~4.1.0\",\r\n \"@angular/common\": \"~4.1.0\",\r\n \"@angular/compiler\": \"~4.1.0\",\r\n \"@angular/core\": \"~4.1.0\",\r\n \"@angular/forms\": \"~4.1.0\",\r\n \"@angular/http\": \"~4.1.0\",\r\n \"@angular/platform-browser\": \"~4.1.0\",\r\n \"@angular/router\": \"~4.1.0\",\r\n \"@progress/nativescript-telerik-ui-pro\": \"^2.0.1\",\r\n \"moment\": \"^2.18.1\",\r\n \"nativescript-angular\": \"~3.0.0\",\r\n \"nativescript-appversion\": \"^1.4.1\",\r\n \"nativescript-drop-down\": \"^3.0.2\",\r\n \"nativescript-iqkeyboardmanager\": \"^1.1.0\",\r\n \"nativescript-loading-indicator\": \"^2.3.2\",\r\n \"nativescript-local-notifications\": \"^1.2.1\",\r\n \"nativescript-theme-core\": \"~1.0.2\",\r\n \"nativescript-toast\": \"^1.4.5\",\r\n \"reflect-metadata\": \"~0.1.8\",\r\n \"rxjs\": \"~5.3.0\",\r\n \"tns-core-modules\": \"~3.0.0\",\r\n \"zone.js\": \"~0.8.2\"\r\n },\r\n \"devDependencies\": {\r\n \"nativescript-dev-typescript\": \"~0.4.0\",\r\n \"typescript\": \"~2.2.1\"\r\n }\r\n}\r\n```\r\nI have set my debug and release provisioning profiles in Xcode's General tab. The device is registered at developer.apple.com. The device is listed as #1 when I run tns device.\r\n\r\nIf I try to build the project in Xcode I am getting:\r\n\r\n**diff: /Podfile.lock: No such file or directory\r\ndiff: /Manifest.lock: No such file or directory\r\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.**\r\n\r\nHowever, tns build ios succeeds. \r\n\r\nTha last change I made was to install https://github.com/tjvantoll/nativescript-IQKeyboardManager. I don't know if this has anything to do or not.\r\n\r\nAny ideas on what could be wrong?","author":{"url":"https://github.com/dpdragnev","@type":"Person","name":"dpdragnev"},"datePublished":"2017-06-21T13:10:29Z","url":"https://github.com/NativeScript/nativescript-cli/issues/2911"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6652ab57-aa15-8071-5c20-e404bf5862a3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F16:240CD1:2F644BF:3C43C27:6B01C5E4 |
| html-safe-nonce | 34b4ea0ea80f786debeec1ca74a8e34e305465cc489cd3cbcfec364ad1982e52 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjE2OjI0MENEMToyRjY0NEJGOjNDNDNDMjc6NkIwMUM1RTQiLCJ2aXNpdG9yX2lkIjoiNTU1MjEzMDA1NTI2Nzc5NjQ1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bd46f2a49299d4dec03ada5356475abc4530b18caf81c7290843a59454cce95e |
| hovercard-subject-tag | issue:237528812 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-cli/2911/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8682583a218ee2c95b10b9d9b079cd71c77f70e2897ead684ab7a173e7ac7a12/NativeScript/nativescript-cli/issues/2911 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8682583a218ee2c95b10b9d9b079cd71c77f70e2897ead684ab7a173e7ac7a12/NativeScript/nativescript-cli/issues/2911 |
| og:image:alt | Hello, I am trying to execute tns run ios --device 1 but I am getting the following error: **BUILD FAILED The following build commands failed: PhaseScriptExecution NativeScript\ PostBuild /Users/da... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dpdragnev |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 21347346 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21347346 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width