angularjs - Why is my Ionic2 app always serving as Android app? -


i using ionic2 develop , ios app - typically test locally using ionic serve, after ionic build ios

at 1 stage wanted demostrate android capability, , built/served in same way android.

ever since unable serve ios version?

what gives, there config has changed should delete or similar?

here current config:

<?xml version="1.0" encoding="utf-8" standalone="yes"?> <widget id="com.ionicframework.myionic2463102" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">   <name>myionic2</name>   <description>an ionic framework , cordova project.</description>   <author email="hi@ionicframework" href="http://ionicframework.com/">ionic framework team</author>   <content src="index.html"/>   <access origin="*"/>   <allow-intent href="http://*/*"/>   <allow-intent href="https://*/*"/>   <allow-intent href="tel:*"/>   <allow-intent href="sms:*"/>   <allow-intent href="mailto:*"/>   <allow-intent href="geo:*"/>   <platform name="android">     <allow-intent href="market:*"/>   </platform>   <platform name="ios">     <allow-intent href="itms:*"/>     <allow-intent href="itms-apps:*"/>   </platform>   <preference name="webviewbounce" value="false"/>   <preference name="uiwebviewbounce" value="false"/>   <preference name="disallowoverscroll" value="true"/>   <preference name="android-minsdkversion" value="16"/>   <preference name="backupwebstorage" value="none"/>   <preference name="splashscreendelay" value="2000"/>   <preference name="fadesplashscreenduration" value="2000"/>   <feature name="statusbar">     <param name="ios-package" onload="true" value="cdvstatusbar"/>   </feature> </widget> 

you can force platform in ionic serve --platform option, in case ionic serve --platform ios


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo