13 Replies Latest reply on Apr 11, 2017 12:55 PM by Animion1

    ios plugins not included to build

    Animion1

      Just trying to build ios version of app but plugins was not ... included? Android version run fine and in Plugins list are also listed as installed.

       

      Tried different projects, different configs, different syntaxes of config.xml... nothing works.

      Snímka obrazovky 2017-04-11 o 20.01.28.png

        • 1. Re: ios plugins not included to build
          ryanskihead Adobe Employee

          What's your App ID?

          • 2. Re: ios plugins not included to build
            Animion1 Level 1

            id: com.mojevademecum.mojevademecum

             

            in log there's no errors... (for ios)

            • 3. Re: ios plugins not included to build
              ryanskihead Adobe Employee

              Referring to the "App ID" listed build.phonegap.com. Will also be in the url of your app build.phonegap.com/apps/XXXXXXX.

              • 5. Re: ios plugins not included to build
                ryanskihead Adobe Employee

                Is the deviceready event firing for iOS? Have you tried using Safari Inspector to check for JS exceptions, or failed script references?

                • 6. Re: ios plugins not included to build
                  Animion1 Level 1

                  Yes I have test this... Problem is that when I build just Android it works!

                  Snímka obrazovky 2017-04-11 o 21.02.31.png

                  • 7. Re: ios plugins not included to build
                    Animion1 Level 1

                    <?xml version='1.0' encoding='utf-8'?>

                    <widget id="com.mojevademecum.mojevademecum" version="1.0.0" android-versionCode="100" ios-CFBundleShortVersionString="100" ios-CFBundleVersion="100" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android">

                        <name>Vademecum</name>

                        <description>

                            Vademecum mobile app.

                        </description>

                        <author email="dev@cordova.apache.org" href="http://cordova.io">

                            Smart vet

                        </author>

                        <content src="index.html" />

                        <plugin name="cordova-plugin-whitelist" spec="1" />

                        <access origin="*" />

                        <preference name="orientation" value="portrait" />

                      <preference name="fullscreen" value="true" />

                      <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="SplashScreen" value="screen"/>

                      <preference name="AutoHideSplashScreen" value="true"/>

                      <preference name="SplashScreenDelay" value="3000"/>

                    <feature name="Geolocation">

                        <param name="android-package" value="org.apache.cordova.geolocation.GeoBroker" />

                      </feature>

                        <allow-intent href="http://*/*" />

                        <allow-intent href="https://*/*" />

                        <allow-intent href="tel:*" />

                        <allow-intent href="sms:*" />

                        <allow-intent href="mailto:*" />

                        <allow-intent href="geo:*" />

                        <icon density="mdpi" height="57" platform="ios" src="www/assets/mobile/icon.png" width="57" />

                        <platform name="android">

                        <config-file parent="/*" target="AndroidManifest.xml">

                          <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

                          <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

                          <uses-permission android:name="android.permission.USE_SIP" />

                          <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

                          <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

                          <uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />

                          <uses-permission android:name="android.permission.INTERNET" />

                          <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

                          <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

                          <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

                          <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

                          <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />

                          <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />

                          <uses-permission android:name="android.permission.READ_PHONE_STATE" />

                          <uses-permission android:name="android.permission.WAKE_LOCK" />

                          <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />

                        </config-file>

                            <allow-intent href="market:*" />

                            <splash density="land-hdpi" src="www/assets/mobile/splash.png" />

                            <splash density="land-ldpi" src="www/assets/mobile/splash.png" />

                            <splash density="land-mdpi" src="www/assets/mobile/splash.png" />

                            <splash density="land-xhdpi" src="www/assets/mobile/splash.png" />

                            <splash density="port-hdpi" src="www/assets/mobile/splash.png" />

                            <splash density="port-ldpi" src="www/assets/mobile/splash.png" />

                            <splash density="port-mdpi" src="www/assets/mobile/splash.png" />

                            <splash density="port-xhdpi" src="www/assets/mobile/splash.png" />

                            <icon density="ldpi" src="www/assets/mobile/android/ldpi/ic_launcher.png" />

                            <icon density="mdpi" src="www/assets/mobile/android/mdpi/ic_launcher.png" />

                            <icon density="hdpi" src="www/assets/mobile/android/hdpi/ic_launcher.png" />

                            <icon density="xhdpi" src="www/assets/mobile/android/xhdpi/ic_launcher.png" />

                            <icon density="xxhdpi" src="www/assets/mobile/android/xxhdpi/ic_launcher.png" />

                            <icon density="xxxhdpi" src="www/assets/mobile/android/xxxhdpi/ic_launcher.png" />

                        </platform>

                        <platform name="ios">

                            <allow-intent href="itms:*" />

                            <allow-intent href="itms-apps:*" />

                        </platform>

                        <engine name="android" spec="~6.1.2" />

                        <plugin name="cordova-hot-code-push-plugin" spec="~1.5.2" />

                        <chcp>

                            <config-file url="http://test.mojevademecum.sk/MOBILE/ANDROID/CURRENT/chcp.json" />

                            <auto-download enabled="false" />

                            <auto-install enabled="false" />

                        </chcp>

                        <plugin name="cordova-plugin-splashscreen" spec="~4.0.2" />

                        <plugin name="cordova-plugin-network-information" spec="~1.3.2" />

                        <engine name="ios" spec="~4.3.1" />

                        <plugin name="cordova-sqlite-evcore-extbuild-free" spec="~0.8.5" />

                    </widget>

                    • 8. Re: ios plugins not included to build
                      ryanskihead Adobe Employee

                      Yes you can see in the iOS build log that your plugins are successfully being installed. What specific plugin API call is failing?

                      • 9. Re: ios plugins not included to build
                        Animion1 Level 1

                        yes, but when it's builded just for ios it looks like this

                        Snímka obrazovky 2017-04-11 o 21.26.03.png

                        • 10. Re: ios plugins not included to build
                          ryanskihead Adobe Employee

                          I'm not sure what problem you're showing with that image. That is all fine.

                          • 11. Re: ios plugins not included to build
                            Animion1 Level 1

                            in android version column "Installed" is filled installed of versions of plugins. In IOS there are just n/a.

                            • 12. Re: ios plugins not included to build
                              ryanskihead Adobe Employee

                              I think you're misreading the table. There is no "Android Version" column.

                               

                              "Version" - the version string that you have specified in your config.xml

                              "Installed" - the specific version that was actually installed. "n/a" means we don't have this info.

                              • 13. Re: ios plugins not included to build
                                Animion1 Level 1

                                In images above there are the same plugins builded for ios and for android -  so Phonegap Build can't get version number of plugin installed for ios, for android it works fine, am I correct?