René's URL Explorer Experiment


Title: Simulators with `(` in name are not started after `tns run ios --device ` · Issue #2131 · NativeScript/nativescript-cli · GitHub

Open Graph Title: Simulators with `(` in name are not started after `tns run ios --device ` · Issue #2131 · NativeScript/nativescript-cli

X Title: Simulators with `(` in name are not started after `tns run ios --device ` · Issue #2131 · NativeScript/nativescript-cli

Description: I can't run tns emulate ios --device "iPad Pro (12.9 inch)" Doing so results in the following message: Starting iOS Simulator Unable to find device iPad Pro (12.9 inch). The valid device names are iPhone 5, iPhone 5s, iPhone 6, iPhone 6 ...

Open Graph Description: I can't run tns emulate ios --device "iPad Pro (12.9 inch)" Doing so results in the following message: Starting iOS Simulator Unable to find device iPad Pro (12.9 inch). The valid device names are ...

X Description: I can't run tns emulate ios --device "iPad Pro (12.9 inch)" Doing so results in the following message: Starting iOS Simulator Unable to find device iPad Pro (12.9 inch). The valid dev...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/2131

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Simulators with `(` in name are not started after `tns run ios --device \u003cdevice_name>`","articleBody":"I can't run `tns emulate ios --device \"iPad Pro (12.9 inch)\"`\n\nDoing so results in the following message:\n`Starting iOS Simulator\nUnable to find device iPad Pro (12.9 inch). The valid device names are iPhone 5, iPhone 5s, iPhone 6, iPhone 6 Plus, iPhone 6s, iPhone 6s Plus, iPhone 7, iPhone 7 Plus, iPhone SE, iPad Retina, iPad Air, iPad Air 2`\n\nExpected result:\n- Starts 12.9\" iPad simulator\n\nThis error occurs despite 'xcrun simctl list' outputting the 12.9\" iPad as an option.\n\nI believe I've tracked the root cause down to the fact that \"iPad Pro (9.7 inch)\" and the \"iPad Pro (12.9 inch)\" devices contain parentheses in their names, and the regex that parses the output of 'xcrun simctl list' doesn't expect those parentheses to be there:\n\n`var lineRegex = /^    ([^\\(]+) \\(([^\\)]+)\\) \\(([^\\)]+)\\)( \\(([^\\)]+)\\))*/;`\n\nThat regex is contained in the following file: `/usr/local/lib/node_modules/nativescript/node_modules/ios-sim-portable/lib/simctl.js.`\n\nI guess that means it's a problem with the ios-sim-portable module.  I've got version 1.3.0 of it.  I will file an issue with that project.  In the meantime I'm working around it by manually adding devices to the device list in `simctl.js`:\n\n```\n            devices.push({\n                            name: 'iPad Pro (9.7 inch)',\n                            id: 'F123F133-F175-4FF4-ABA5-4A043EFCA810',\n                            fullId: \"com.apple.CoreSimulator.SimDeviceType.iPad Pro (9.7 inch)\",\n                            runtimeVersion: '10.0',\n                            state: 'Shutdown'\n                        });\n\n\n            devices.push({\n                            name: 'iPad Pro (12.9 inch)',\n                            id: '07552BEF-F830-4561-912B-D760B0716935',\n                            fullId: \"com.apple.CoreSimulator.SimDeviceType.iPad Pro (12.9 inch)\",\n                            runtimeVersion: '10.0',\n                            state: 'Shutdown'\n                        });\n```\n\n...right before the `return devices;` statement.\n\nObviously that's a big hack and not a solution (the solution would involve fixing that regex), but at the present it allows me to launch my Nativescript app on the 12.9\" iPad under emulation, which is pretty important for me because it's the only iOS platform my company actually supports at the moment.\n\nFeel free to close this if issues in dependencies shouldn't be filed here.  I just thought I might file it because it manifested itself while I was using 'tns' and it might help someone else out.\n\nMy config:\nOS X 10.11.6\nXcode 8.0 (8A218a)\ntns --version: 2.3.0\nios-sim-portable: 1.3.0\nnpm --version: 3.10.8\ntsc --version: Version 2.0.3\n","author":{"url":"https://github.com/asterizk","@type":"Person","name":"asterizk"},"datePublished":"2016-10-14T23:47:02Z","url":"https://github.com/NativeScript/nativescript-cli/issues/2131"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:245dc727-3f10-325b-578a-6a2bfb14e8bf
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCB26:1D20B7:1D1F2E5:24DEB00:6B019598
html-safe-noncef339c0e0f4a2a2fc47dfd5a3e262daaa08fa24ac698f271da2fee5e86a7acd29
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjI2OjFEMjBCNzoxRDFGMkU1OjI0REVCMDA6NkIwMTk1OTgiLCJ2aXNpdG9yX2lkIjoiODEyMjkwNTk5NjEyNjQyNjUyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb81225fef6f2136c698a64bc416a6c92a78e443d35d00583186345e153963a19
hovercard-subject-tagissue:183173321
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-cli/2131/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ff0ca70612ddee06fce1f7bdca2f6df01a6d6d9984daa809e25cbd94d6003899/NativeScript/nativescript-cli/issues/2131
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ff0ca70612ddee06fce1f7bdca2f6df01a6d6d9984daa809e25cbd94d6003899/NativeScript/nativescript-cli/issues/2131
og:image:altI can't run tns emulate ios --device "iPad Pro (12.9 inch)" Doing so results in the following message: Starting iOS Simulator Unable to find device iPad Pro (12.9 inch). The valid device names are ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameasterizk
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/issues/2131#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fissues%2F2131
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fissues%2F2131
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/2131
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/2131
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/2131
NativeScripthttps://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Codehttps://github.com/NativeScript/nativescript-cli
Issues357 (357)https://github.com/NativeScript/nativescript-cli/issues
Pull requests38 (38)https://github.com/NativeScript/nativescript-cli/pulls
Actionshttps://github.com/NativeScript/nativescript-cli/actions
Projectshttps://github.com/NativeScript/nativescript-cli/projects
Security and qualityhttps://github.com/NativeScript/nativescript-cli/security
Insightshttps://github.com/NativeScript/nativescript-cli/insights
https://github.com/NativeScript/nativescript-cli
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/2131
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/2131
Simulators with ( in name are not started after tns run ios --device https://github.com/NativeScript/nativescript-cli/issues/2131#top
bughttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22bug%22
os: ioshttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22os%3A%20ios%22
4.0.1https://github.com/NativeScript/nativescript-cli/milestone/69
https://github.com/asterizk
asterizkhttps://github.com/asterizk
on Oct 14, 2016https://github.com/NativeScript/nativescript-cli/issues/2131#issue-183173321
Nexthttps://github.com/NativeScript/nativescript-cli/issues/2131?timeline_page=1
https://github.com/asterizk
asterizkhttps://github.com/asterizk
on Oct 14, 2016https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-253946593
ios-control/ios-sim#197https://github.com/ios-control/ios-sim/issues/197
tzraikovhttps://github.com/tzraikov
bughttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22bug%22
on Oct 17, 2016https://github.com/NativeScript/nativescript-cli/issues/2131#event-825734388
https://github.com/davecoffin
davecoffinhttps://github.com/davecoffin
on Dec 22, 2016https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-268818530
@asterizkhttps://github.com/asterizk
https://github.com/asterizk
asterizkhttps://github.com/asterizk
on Dec 22, 2016https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-268827294
pkolevahttps://github.com/pkoleva
emulatehttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22emulate%22
on Jan 26, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#event-937758995
https://github.com/biziosan
biziosanhttps://github.com/biziosan
on Feb 8, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-278330406
https://github.com/grasshoppermouse
grasshoppermousehttps://github.com/grasshoppermouse
on Feb 14, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-279591961
https://github.com/nraboy
nraboyhttps://github.com/nraboy
on Feb 20, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-280986075
https://github.com/rosen-vladimirov
rosen-vladimirovhttps://github.com/rosen-vladimirov
on Feb 20, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-281035142
@nraboyhttps://github.com/nraboy
@grasshoppermousehttps://github.com/grasshoppermouse
https://github.com/nraboy
nraboyhttps://github.com/nraboy
on Feb 20, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-281076955
@rosen-vladimirovhttps://github.com/rosen-vladimirov
https://github.com/grasshoppermouse
grasshoppermousehttps://github.com/grasshoppermouse
on Feb 20, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-281090377
@nraboyhttps://github.com/nraboy
@asterizkhttps://github.com/asterizk
https://github.com/nraboy
nraboyhttps://github.com/nraboy
on Feb 20, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-281122743
@grasshoppermousehttps://github.com/grasshoppermouse
@rosen-vladimirovhttps://github.com/rosen-vladimirov
https://github.com/tjvantoll
tjvantollhttps://github.com/tjvantoll
on Feb 20, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-281129558
https://github.com/rosen-vladimirov
rosen-vladimirovhttps://github.com/rosen-vladimirov
on Feb 20, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-281191010
@nraboyhttps://github.com/nraboy
@grasshoppermousehttps://github.com/grasshoppermouse
@tjvantollhttps://github.com/tjvantoll
rosen-vladimirovhttps://github.com/rosen-vladimirov
severity: criticalhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22severity%3A%20critical%22
on Feb 20, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#event-969837310
etabakovhttps://github.com/etabakov
3.1.0https://github.com/NativeScript/nativescript-cli/milestone/53
on Apr 27, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#event-1060235811
https://github.com/pkoleva
pkolevahttps://github.com/pkoleva
on May 4, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-299145617
@asterizkhttps://github.com/asterizk
etabakovhttps://github.com/etabakov
rosen-vladimirovhttps://github.com/rosen-vladimirov
on May 19, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#event-1089502883
pkolevahttps://github.com/pkoleva
3.1.0https://github.com/NativeScript/nativescript-cli/milestone/53
on Jun 6, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#event-1111610867
https://github.com/pkoleva
pkolevahttps://github.com/pkoleva
on Jul 14, 2017https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-315371232
#1548https://github.com/NativeScript/nativescript-cli/issues/1548
Fatmehttps://github.com/Fatme
on Apr 13, 2018https://github.com/NativeScript/nativescript-cli/issues/2131#event-1572578077
Support for getting device by name and sdkhttps://github.com/telerik/mobile-cli-lib/commit/34d33f123f874c33ff31e4a5796355f2e971ed7b
34d33f1https://github.com/telerik/mobile-cli-lib/commit/34d33f123f874c33ff31e4a5796355f2e971ed7b
Support for getting device by name and sdkhttps://github.com/NativeScript/ios-sim-portable/commit/6e46149457c523df3e7a226a37c1ff90f0a0ea6d
6e46149https://github.com/NativeScript/ios-sim-portable/commit/6e46149457c523df3e7a226a37c1ff90f0a0ea6d
Fatmehttps://github.com/Fatme
4.0.1https://github.com/NativeScript/nativescript-cli/milestone/69
on Apr 16, 2018https://github.com/NativeScript/nativescript-cli/issues/2131#event-1575615261
Fatmehttps://github.com/Fatme
on Apr 23, 2018https://github.com/NativeScript/nativescript-cli/issues/2131#event-1588608091
Support for getting device by name and sdkhttps://github.com/NativeScript/ios-sim-portable/commit/cc892c02425593fbec7be51932a3ecab1b895432
cc892c0https://github.com/NativeScript/ios-sim-portable/commit/cc892c02425593fbec7be51932a3ecab1b895432
Fatmehttps://github.com/Fatme
completedhttps://github.com/NativeScript/nativescript-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
cc892c0https://github.com/NativeScript/ios-sim-portable/commit/cc892c02425593fbec7be51932a3ecab1b895432
on Apr 23, 2018https://github.com/NativeScript/nativescript-cli/issues/2131#event-1588611589
Fatmehttps://github.com/Fatme
on Apr 23, 2018https://github.com/NativeScript/nativescript-cli/issues/2131#event-1588684510
Fatmehttps://github.com/Fatme
ready for testhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22ready%20for%20test%22
on Apr 23, 2018https://github.com/NativeScript/nativescript-cli/issues/2131#event-1588777553
dtopuzovhttps://github.com/dtopuzov
ready for testhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22ready%20for%20test%22
on Apr 25, 2018https://github.com/NativeScript/nativescript-cli/issues/2131#event-1593816871
https://github.com/dtopuzov
dtopuzovhttps://github.com/dtopuzov
on Apr 25, 2018https://github.com/NativeScript/nativescript-cli/issues/2131#issuecomment-384255794
dtopuzovhttps://github.com/dtopuzov
completedhttps://github.com/NativeScript/nativescript-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 25, 2018https://github.com/NativeScript/nativescript-cli/issues/2131#event-1593821374
Sign up for freehttps://github.com/signup?return_to=https://github.com/NativeScript/nativescript-cli/issues/2131
Sign in to commenthttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/2131
bughttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22bug%22
os: ioshttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22os%3A%20ios%22
4.0.1https://github.com/NativeScript/nativescript-cli/milestone/69
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.