IOS Error - The following core plugin is causing the build to fail and may need to be updated to a newer version: globalization
i new phone gap . trying build , upload phonegap project . struck following error while building . please me
it says
error - following core plugin causing build fail , may need updated newer version: globalization
some error information log
/project/xxx/plugins/org.apache.cordova.globalization/cdvglobalization.m -o /project/build/xxx.build/release-iphoneos/xxx.build/objects-normal/armv7/cdvglobalization .o
/project/xxx/plugins/org.apache.cordova.globalization/cdvglobalization.m:26:38: error: no visible @interface 'cdvplugin' declares selector 'initwithwebview:'
self = (cdvglobalization*)[super initwithwebview:thewebview];
the following build commands failed:
compilec build/xxx.build/release-iphoneos/xxx.build/objects-normal/armv7/cdvglobalization.o xxx/plugins/org.apache.cordova.globalization/cdvglobalization.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
my config.xml
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0"
id="com.xxx.classnet" version="1.0.2" ios-cfbundleidentifier="com.xxx.classnet">
<name>xxxeducation</name>
<description>share live feed of students daily classroom activities,
homeworks, behaviour , stuff matters parents.
</description>
<author href="https://www.companyname.com" email="support@companyname.com">xxxeducation pte ltd
</author>
<content src="index.html" />
<preference name="permissions" value="none" />
<preference name="orientation" value="default" />
<preference name="target-device" value="universal" />
<preference name="fullscreen" value="true" />
<preference name="webviewbounce" value="true" />
<preference name="prerendered-icon" value="true" />
<preference name="stay-in-webview" value="false" />
<preference name="ios-statusbarstyle" value="black-opaque" />
<preference name="detect-data-types" value="true" />
<preference name="exit-on-suspend" value="false" />
<preference name="show-splash-screen-spinner" value="true" />
<preference name="auto-hide-splash-screen" value="true" />
<preference name="disable-cursor" value="false" />
<plugin name="org.apache.cordova.battery-status" source="pgb"
spec="0.2.12" />
<plugin name="org.apache.cordova.camera" source="pgb" spec="0.3.6" />
<plugin name="org.apache.cordova.console" source="pgb" spec="0.2.13" />
<plugin name="org.apache.cordova.contacts" source="pgb" spec="0.2.16" />
<plugin name="org.apache.cordova.device" source="pgb" spec="0.3.0" />
<plugin name="org.apache.cordova.device-motion" source="pgb"
spec="0.2.11" />
<plugin name="org.apache.cordova.device-orientation" source="pgb"
spec="0.3.11" />
<plugin name="org.apache.cordova.dialogs" source="pgb" spec="0.3.0" />
<plugin name="org.apache.cordova.file" source="pgb" spec="1.3.3" />
<plugin name="org.apache.cordova.file-transfer" source="pgb"
spec="0.5.0" />
<plugin name="org.apache.cordova.geolocation" source="pgb" spec="0.3.12" />
<plugin name="org.apache.cordova.globalization" source="pgb"
spec="0.3.4" />
<plugin name="org.apache.cordova.inappbrowser" source="pgb"
spec="0.6.0" />
<plugin name="org.apache.cordova.media" source="pgb" spec="0.2.16" />
<plugin name="org.apache.cordova.media-capture" source="pgb"
spec="0.3.6" />
<plugin name="org.apache.cordova.network-information" source="pgb"
spec="0.2.15" />
<plugin name="org.apache.cordova.splashscreen" source="pgb"
spec="1.0.0" />
<plugin name="org.apache.cordova.vibration" source="pgb" spec="0.3.13" />
<icon src="icon.png" gap:platform="ios" />
<icon src="www/res/icon/blackberry/icon-80.png" gap:platform="blackberry" />
<icon src="www/res/icon/blackberry/icon-80.png" gap:platform="blackberry"
gap:state="hover" />
<icon src="icon-57.png" gap:platform="ios" width="57" height="57" />
<icon src="icon-72.png" gap:platform="ios" width="72" height="72" />
<icon src="icon-57-2x.png" gap:platform="ios" width="114" height="114" />
<icon src="icon-72-2x.png" gap:platform="ios" width="144" height="144" />
<icon src="www/res/icon/webos/icon-64.png" gap:platform="webos" />
<icon src="www/res/icon/windows-phone/icon-48.png" gap:platform="winphone" />
<icon src="www/res/icon/windows-phone/icon-173-tile.png"
gap:platform="winphone" gap:role="background" />
<gap:splash src="www/res/screen/blackberry/screen-225.png"
gap:platform="blackberry" />
<gap:splash src="screen-iphone-portrait.png" gap:platform="ios"
width="320" height="480" />
<gap:splash src="screen-iphone-portrait-2x.png"
gap:platform="ios" width="640" height="960" />
<gap:splash src="screen-iphone-portrait-568h.png"
gap:platform="ios" width="640" height="568" />
<gap:splash src="screen-iphone-portrait-568h-2x.png"
gap:platform="ios" width="640" height="1136" />
<gap:splash src="screen-ipad-portrait.png" gap:platform="ios"
width="768" height="1024" />
<gap:splash src="screen-ipad-landscape.png" gap:platform="ios"
width="1024" height="768" />
<gap:splash src="www/res/screen/windows-phone/screen-portrait.jpg"
gap:platform="winphone" />
<access origin="*" />
<plugin name="cordova-plugin-whitelist" version="1" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<allow-navigation href="http://*/*" />
<feature name="geolocation">
<param name="ios-package" value="cdvlocation" />
</feature>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
<access origin="*" subdomains="true" />
</widget>
you've specified globalization plugin version 0.3.4 here, not compatible cordova-ios 4.x, used pgb default. upgrade plugin newer version, @ least 1.x. latest globalization plugin version 1.0.4.
More discussions in PhoneGap Build
adobe
Comments
Post a Comment