m0dch3n / vue-cli-plugin-cordova

Vue Cli 3 Cordova Plugin
MIT License
417 stars 63 forks source link

No simulator found for run ios #74

Closed alexandrmiee closed 5 years ago

alexandrmiee commented 5 years ago

XCode 10.0

npm run cordova-serve-ios
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
        { platform:iOS Simulator, OS:latest, name:iPhone XS Max }

    Available destinations for the "VueExampleAppName" scheme:
        { platform:iOS Simulator, id:DACDE10C-8978-4A1B-93C9-1DACE0E3C8B6, OS:12.0, name:iPad (5th generation) }
        { platform:iOS Simulator, id:8208A7F7-BB29-499A-AF9F-930A3E74650A, OS:12.0, name:iPad (6th generation) }
        { platform:iOS Simulator, id:01FDBA87-B79A-4A4D-8ED9-77CCF3678EB0, OS:10.2, name:iPad Air }
        { platform:iOS Simulator, id:5E52D2BD-9F56-4BE2-B58A-BD868D6F1575, OS:12.0, name:iPad Air }
        { platform:iOS Simulator, id:8E2C7C9B-BF80-4B2F-A5E8-920F128915D5, OS:10.2, name:iPad Air 2 }
        { platform:iOS Simulator, id:99DD791E-837E-4B83-92D8-599C9921D65A, OS:12.0, name:iPad Air 2 }
        { platform:iOS Simulator, id:AFFAC475-9C9F-4299-A457-DD2F645E8349, OS:10.2, name:iPad Pro (9.7 inch) }
        { platform:iOS Simulator, id:582756C6-CB45-4C9B-B6F3-31BBD0EC5871, OS:12.0, name:iPad Pro (9.7-inch) }
        { platform:iOS Simulator, id:B5056E89-825E-4ACE-813A-5567E8502884, OS:12.0, name:iPad Pro (10.5-inch) }
        { platform:iOS Simulator, id:4A8FB50D-1A3A-4B1D-BDC3-F0D41DAC0541, OS:10.2, name:iPad Pro (12.9 inch) }
        { platform:iOS Simulator, id:05C08596-1F83-44B2-9E1E-ABF3CFB6A70D, OS:12.0, name:iPad Pro (12.9-inch) }
        { platform:iOS Simulator, id:C3E21DBC-3382-464B-A2D3-A5B8E4D7CB71, OS:12.0, name:iPad Pro (12.9-inch) (2nd generation) }
        { platform:iOS Simulator, id:AA91DCF2-550D-403A-8716-B0603F19D7C1, OS:10.2, name:iPhone 5 }
        { platform:iOS Simulator, id:39E18B09-5765-4AD9-A73E-A7C0F54DE1ED, OS:10.2, name:iPhone 5s }
        { platform:iOS Simulator, id:569F1D70-9DAD-42DB-90C9-20336B5CE062, OS:10.2, name:iPhone 6 }
        { platform:iOS Simulator, id:87EC76BA-3CE1-48E6-B463-A1F7C8C84AE3, OS:12.0, name:iPhone 6 }
        { platform:iOS Simulator, id:73764384-C02F-4D2F-B1F0-8BD36DEEDF7D, OS:10.2, name:iPhone 6 Plus }
        { platform:iOS Simulator, id:76A8A268-550D-450D-AC84-87FB4F2B3139, OS:12.0, name:iPhone 6 Plus }
        { platform:iOS Simulator, id:86F34DF5-5F0D-4FD2-B52E-83596F0E1795, OS:10.2, name:iPhone 6s }
        { platform:iOS Simulator, id:AF9EB27D-4874-49E3-8506-6666FD6CD989, OS:12.0, name:iPhone 6s }
        { platform:iOS Simulator, id:20C8F56D-FF3B-4E21-A4AD-1AEB201BFCB1, OS:10.2, name:iPhone 6s Plus }
        { platform:iOS Simulator, id:AAE6E9E6-D392-417F-A14B-5C4855337D10, OS:12.0, name:iPhone 6s Plus }
        { platform:iOS Simulator, id:CB88CB45-DF29-4429-9FBA-E316C2886D1F, OS:10.2, name:iPhone 7 }
        { platform:iOS Simulator, id:6371DF22-C2DF-4CC7-8890-601508E9773B, OS:12.0, name:iPhone 7 }
        { platform:iOS Simulator, id:FFC5790B-5C09-4EA1-A583-C7A137F5B4E1, OS:10.2, name:iPhone 7 Plus }
        { platform:iOS Simulator, id:80CD4B42-EDF9-49E4-93A4-7495B44EAF41, OS:12.0, name:iPhone 7 Plus }
        { platform:iOS Simulator, id:18A5D63C-B7D8-48D1-BFBD-566DBBAD16B8, OS:12.0, name:iPhone 8 }
        { platform:iOS Simulator, id:7AC1E468-DBCD-4642-85F5-99AF382A7857, OS:12.0, name:iPhone 8 Plus }
        { platform:iOS Simulator, id:EB4489D8-9208-4574-AB90-A6C7A1640F66, OS:10.2, name:iPhone SE }
        { platform:iOS Simulator, id:E81CDF24-2799-40BA-9D40-59417845F1D8, OS:12.0, name:iPhone SE }
        { platform:iOS Simulator, id:6267E1BC-0876-400E-8A5E-A557EFFF7A61, OS:12.0, name:iPhone X }
        { platform:iOS Simulator, id:71F85AE3-CAB4-402E-B9ED-72B38289A46F, OS:12.0, name:iPhone XR }
        { platform:iOS Simulator, id:34BF136C-4983-4590-BD47-7285C55F2134, OS:12.0, name:iPhone XS }

Can I set target?

I cannot update XCode.

m0dch3n commented 5 years ago

I had once similar problems, which were temporarly solved by simlinking the simulator in some folder, because the IOS build tools where unable to automatically detect the latest simulator, because of wrong regexp...

But I don't remember where I did this, and the new build tools should have this fixed already.

Maybe this will give you further information and additional input, how to solve your problem:

https://github.com/ios-control/ios-sim/issues/234

Anyway check for ios-sim and ios-deploy, because these are the tools, cordova uses to run and deploy your app...