[英]I installed XCode 4.3 from the app store, now I can't run iOS Simulator without launching XCode
I routinely need to run the iOS simulator, and I prefer to run it from Spotlight. 我经常需要运行iOS模拟器,我更喜欢从Spotlight运行它。
When I installed XCode 4.3 from the mac app store, it prompted me to remove the /Developer folder, which I accepted. 当我从mac app store安装XCode 4.3时,它提示我删除我接受的/ Developer文件夹。 Now Spotlight doesn't list the iOS Simulator app in the results so I assume it was deleted with /Developer....
现在Spotlight没有在结果中列出iOS模拟器应用程序,因此我假设它已被删除/ Developer ....
How do I run the iOS simulator now? 我如何现在运行iOS模拟器? Thanks!
谢谢!
I'm not sure Spotlight will ever find it again, it's now embedded inside Xcode.app: 我不确定Spotlight会再次找到它,它现在嵌入在Xcode.app中:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/
I launched it once via Xcode and then opted to keep it in the dock. 我通过Xcode启动了一次,然后选择将其保留在扩展坞中。 Alternatively I guess you could try copying / symlinking it into the /Applications directory and see if spotlight picks it up.
或者我想你可以尝试将它复制/符号链接到/ Applications目录,看看聚光灯是否可以选择它。
The simulator is embedded in the Xcode app at: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications 模拟器嵌入在Xcode应用程序中:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
When it is running, right-click on the icon in the doc and select Options:Keep In Dock, then it is a click away. 当它运行时,右键单击文档中的图标并选择选项:保持在Dock中,然后单击即可。
The simulator is embedded in the Xcode.app bundle. 模拟器嵌入在Xcode.app包中。 From the iOS SDK ReleaseNotes:
来自iOS SDK ReleaseNotes:
Within Xcode, you can launch additional developer tools, such as Instruments and FileMerge, via the menu item Xcode -> Open Developer Tool.
在Xcode中,您可以通过菜单项Xcode - > Open Developer Tool启动其他开发人员工具,例如Instruments和FileMerge。 You can then pin the tool on your Dock for access when Xcode is not running.
然后,您可以将工具固定在Dock上,以便在Xcode未运行时进行访问。
Spotlight will probably not index it because it's in the bundle, but might index the link to it in the dock. Spotlight可能不会将其编入索引,因为它位于包中,但可能会将其链接指向Dock中的链接。 Otherwise try creating a symlink somewhere else.
否则尝试在其他地方创建符号链接。
Just wait until Spotlight reindexed. 等到Spotlight重新编制索引。 iOS Simulator is still a standalone program.
iOS模拟器仍然是一个独立的程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.