Phonegap Build - Error - app不支持强制arm64(64位支持)架构

时间:2015-10-28 17:29:03

标签: android ios cordova phonegap-build

我正在使用Windows 7和vs2012制作Phonegap应用程序。

我已经成功上传了一个构建到Phonegap Build,但是我注意到Iphone正在拾取我的软件的旧版本,我将其保存在备份文件中。

我删除了旧软件的任何痕迹,现在我在尝试为IOS构建时遇到了上述错误。

Error - A plugin in your app does not support the compulsory arm64 (64-bit support) architecture. 

起初我以为是我有一些我不需要的插件,但我现在已经删除了所有可以看到的插件,但仍然会收到此错误。

这是我的配置文件;

<?xml version='1.0' encoding='utf-8'?>
<widget id="com.blah.blah" version="1.0.4" VersionCode="104" android-versionCode="2"
      ios-CFBundleVersion="1.0.4" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
    <name>Bleh App</name>
    <description>Bleh Application.</description>
    <author email="Bleh@bleh.com" href="http://phonegap.com">Bleh Limited</author>
    <content src="index.html" />

  <gap:config-file platform="ios" parent="CFBundleShortVesionString">
    <string>1</string>
  </gap:config-file>

    <gap:config-file platform="ios" parent="CFBundleVersion">
      <string>104</string>
    </gap:config-file>


  <config-file target="*-Info.plist" parent="CFBundleURLTypes">
    <array>
      <dict>
        <key>PackageName</key>
        <string>Bleh App</string>
      </dict>
      <dict>
        <key>CFBundleVersion</key>
        <string>1.0.4</string>
      </dict>

      <dict>
        <key>CFBundleShortVesionString</key>
        <string>107</string>
      </dict>
    </array>
  </config-file>




  <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" />
    <preference name="android-minSdkVersion" value="14" />
    <preference name="android-installLocation" value="auto" />
    <icon src="icon.png" />
    <icon gap:platform="android" gap:qualifier="ldpi" src="www/res/icon/android/icon-36-ldpi.png" />
    <icon gap:platform="android" gap:qualifier="mdpi" src="www/res/icon/android/icon-48-mdpi.png" />
    <icon gap:platform="android" gap:qualifier="hdpi" src="www/res/icon/android/icon-72-hdpi.png" />
    <icon gap:platform="android" gap:qualifier="xhdpi" src="www/res/icon/android/icon-96-xhdpi.png" />
    <icon gap:platform="blackberry" src="www/res/icon/blackberry/icon-80.png" />
    <icon gap:platform="blackberry" gap:state="hover" src="www/res/icon/blackberry/icon-80.png" />
    <icon gap:platform="ios" height="57" src="www/res/icon/ios/icon-57.png" width="57" />
    <icon gap:platform="ios" height="72" src="www/res/icon/ios/icon-72.png" width="72" />
    <icon gap:platform="ios" height="114" src="www/res/icon/ios/icon-57-2x.png" width="114" />
    <icon gap:platform="ios" height="144" src="www/res/icon/ios/icon-72-2x.png" width="144" />
    <icon gap:platform="webos" src="www/res/icon/webos/icon-64.png" />
    <icon gap:platform="winphone" src="www/res/icon/windows-phone/icon-48.png" />
    <icon gap:platform="winphone" gap:role="background" src="www/res/icon/windows-phone/icon-173-tile.png" />
    <gap:splash gap:platform="android" gap:qualifier="port-ldpi" src="www/res/screen/android/screen-ldpi-portrait.png" />
    <gap:splash gap:platform="android" gap:qualifier="port-mdpi" src="www/res/screen/android/screen-mdpi-portrait.png" />
    <gap:splash gap:platform="android" gap:qualifier="port-hdpi" src="www/res/screen/android/screen-hdpi-portrait.png" />
    <gap:splash gap:platform="android" gap:qualifier="port-xhdpi" src="www/res/screen/android/screen-xhdpi-portrait.png" />
    <gap:splash gap:platform="blackberry" src="www/res/screen/blackberry/screen-225.png" />
    <gap:splash gap:platform="ios" height="480" src="www/res/screen/ios/screen-iphone-portrait.png" width="320" />
    <gap:splash gap:platform="ios" height="960" src="www/res/screen/ios/screen-iphone-portrait-2x.png" width="640" />
    <gap:splash gap:platform="ios" height="1136" src="www/res/screen/ios/screen-iphone-portrait-568h-2x.png" width="640" />
    <gap:splash gap:platform="ios" height="1024" src="www/res/screen/ios/screen-ipad-portrait.png" width="768" />
    <gap:splash gap:platform="ios" height="768" src="www/res/screen/ios/screen-ipad-landscape.png" width="1024" />
    <gap:splash gap:platform="winphone" src="www/res/screen/windows-phone/screen-portrait.jpg" />
    <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>
    <engine name="ios" spec="~3.9.1" />
</widget>

我使用Phonegap CLI删除了附加到网站的所有插件。文件夹中有插件,但如果它们也被删除,它们没有做任何事情吗?

任何帮助将不胜感激!

*肯定删除了所有插件,还有一个标签仍在

1 个答案:

答案 0 :(得分:0)

最后,我不得不从Phonegap构建网站删除我的应用程序并重新上传。希望这个解决方案有助于某人。