Software Archive
Read-only legacy content
17061 Discussions

BUILD FAILED! armv7s

Tony_Y_1
Beginner
459 Views

i use intelxdk 2807,when to build for ios,failed!

how to fix the problem or how to remove armv7s in build.js?because the build on cloud server

error log:

Ld build/SiteWebH5.build/Release-iphoneos/SiteWebH5.build/Objects-normal/armv7s/SiteWebH5 normal armv7s
    cd .../SiteWeb_App_HTML5_1/platforms/ios
    export IPHONEOS_DEPLOYMENT_TARGET=7
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Developer/android-sdk-macosx/tools:/usr/local/ant/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -L.../SiteWeb_App_HTML5_1/platforms/ios/build/device -L.../SiteWeb_App_HTML5_1/platforms/ios/SiteWebH5/Plugins/cordova-plugin-xgpush -F.../SiteWeb_App_HTML5_1/platforms/ios/build/device -filelist .../SiteWeb_App_HTML5_1/platforms/ios/build/SiteWebH5.build/Release-iphoneos/SiteWebH5.build/Objects-normal/armv7s/SiteWebH5.LinkFileList -dead_strip -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7 -framework AssetsLibrary .../SiteWeb_App_HTML5_1/platforms/ios/build/device/libCordova.a -framework CoreGraphics -framework MobileCoreServices -weak_framework ImageIO -framework CoreLocation -framework QuartzCore -framework AVFoundation -framework CoreVideo -framework MessageUI -framework SystemConfiguration -liconv -lXG-SDK -lz -lsqlite3 -framework CFNetwork -framework CoreTelephony -framework Security -Xlinker -dependency_info -Xlinker .../SiteWeb_App_HTML5_1/platforms/ios/build/SiteWebH5.build/Release-iphoneos/SiteWebH5.build/Objects-normal/armv7s/SiteWebH5_dependency_info.dat -o .../SiteWeb_App_HTML5_1/platforms/ios/build/SiteWebH5.build/Release-iphoneos/SiteWebH5.build/Objects-normal/armv7s/SiteWebH5
ld: file is universal (4 slices) but does not contain a(n) armv7s slice: .../SiteWeb_App_HTML5_1/platforms/ios/SiteWebH5/Plugins/cordova-plugin-xgpush/libXG-SDK.a file '.../SiteWeb_App_HTML5_1/platforms/ios/SiteWebH5/Plugins/cordova-plugin-xgpush/libXG-SDK.a' for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **


The following build commands failed:
    Ld build/SiteWebH5.build/Release-iphoneos/SiteWebH5.build/Objects-normal/armv7s/SiteWebH5 normal armv7s
(1 failure)
Command finished with error code 65: .../SiteWeb_App_HTML5_1/platforms/ios/cordova/build --release,--device
Error: .../SiteWeb_App_HTML5_1/platforms/ios/cordova/build: Command failed with exit code 65
    at ChildProcess.whenDone (/Developer/cordova/4.1.2/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:753:16)
    at Process.ChildProcess._handle.onexit (child_process.js:820:5)

0 Kudos
4 Replies
Rakshith_K_Intel
Employee
459 Views

We are looking into the issue, can you upload the full log file?

0 Kudos
Tony_Y_1
Beginner
459 Views
the plugin of 'cordova-plugin-xgpush' is not armv7s support in the '.a' file. so compile error! the attachment is the full log.
0 Kudos
Rakshith_K_Intel
Employee
459 Views

 we are looking into the issue, will let you as soon as we have an update or workaround, thanks!

0 Kudos
Tony_Y_1
Beginner
459 Views

Two months later,

the same error still exits.

how to do?

0 Kudos
Reply