lanceli / cnodejs-ionic

The mobile app of https://cnodejs.org made by Ionic 1.x, web demo http://lanceli.com/cnodejs-ionic
MIT License
1.52k stars 375 forks source link

grunt run:ios在模拟器里无法运行 #29

Closed miaoyinjun closed 8 years ago

miaoyinjun commented 8 years ago

server上运行没有问题 执行 grunt run:ios,返回 \ BUILD SUCCEEDED ** --devicetypeid was not specified, using first available device: Apple Watch - 38mm. An error was encountered processing the command (domain=LaunchServicesError, code=0): The operation couldn’t be completed. (LaunchServicesError error 0.),好像是运行在AppleWatch模拟器上了,无法解决 试着用xcode7打开,运行后模拟器一直显示在Launch Screen上 log

2015-10-09 11:45:29.326 CNodeJs[17186:131152] Multi-tasking -> Device: YES, App: YES 2015-10-09 11:45:29.332 CNodeJs[17186:131152] Unlimited access to network resources 2015-10-09 11:45:29.335 CNodeJs[17186:131152]

Started backup to iCloud! Please be careful. Your application might rejected by Apple if you store too much data. For more information please read "iOS Data Storage Guidelines" You could find it at the following address https://developer.apple.com/icloud/documentation/data-storage/ .

2015-10-09 11:45:29.643 CNodeJs[17186:131152] [CDVTimer][splashscreen] 198.056996ms 2015-10-09 11:45:29.652 CNodeJs[17186:131152] [CDVTimer][statusbar] 8.543968ms 2015-10-09 11:45:29.652 CNodeJs[17186:131152] [CDVTimer][keyboard] 0.155985ms 2015-10-09 11:45:29.652 CNodeJs[17186:131152] [CDVTimer][TotalPluginStartup] 207.367003ms 2015-10-09 11:45:29.688 CNodeJs[17186:131152] Resetting plugins due to page load. 2015-10-09 11:45:29.844 CNodeJs[17186:131152] Finished load of: file:///Users/abc/Library/Developer/CoreSimulator/Devices/BF30782A-A87F-4D5A-8A4E-1B63DA3EA5A5/data/Containers/Bundle/Application/644AAA9F-72AF-4FE6-8ECF-C1AD0ED15A10/CNodeJs.app/www/index.html#/topics/all 2015-10-09 11:45:30.252 CNodeJs[17186:131152] CDVPlugin class CDVDevice (pluginName: Device) does not exist. 2015-10-09 11:45:30.252 CNodeJs[17186:131152] ERROR: Plugin 'Device' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. 2015-10-09 11:45:30.252 CNodeJs[17186:131152] -[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [ "Device174012649", "Device", "getDeviceInfo", [

] ]