- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to build an iOS adHoc app for cordova 4.1.2. Yesterday I updated my intel xdk to v2323 which updated the intel app security plugin to v1.3 and since then my iOS builds are failing whereas my android builds are working totally fine.
Following is the error message I am receiving:
Ld build/appname.build/Release-iphoneos/appname.build/Objects-normal/armv7s/appname normal armv7s
cd .../projectname/platforms/ios
export IPHONEOS_DEPLOYMENT_TARGET=5.1.1
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.../projectname/platforms/ios/build/device -L.../projectname/platforms/ios/appname/Plugins/com.intel.security -F.../projectname/platforms/ios/build/device -filelist .../projectname/platforms/ios/build/appname.build/Release-iphoneos/appname.build/Objects-normal/armv7s/appname.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=5.1.1 -framework AssetsLibrary .../projectname/platforms/ios/build/device/libCordova.a -framework CoreGraphics -framework MobileCoreServices -framework CoreMotion -weak_framework AudioToolbox -framework StoreKit -framework AVFoundation -framework CoreVideo -framework MessageUI -framework QuartzCore -framework SystemConfiguration -liconv -weak_framework Social -weak_framework ImageIO -framework CoreLocation -lsService -lkeyStore -lcrypto -lcurl -ljansson -lc++ -lstdc++ -Xlinker -dependency_info -Xlinker .../projectname/platforms/ios/build/appname.build/Release-iphoneos/appname.build/Objects-normal/armv7s/appname_dependency_info.dat -o .../projectname/platforms/ios/build/appname.build/Release-iphoneos/appname.build/Objects-normal/armv7s/appname
ld: file is universal (4 slices) but does not contain a(n) armv7s slice: .../projectname/platforms/ios/appname/Plugins/com.intel.security/libsService.a file '.../projectname/platforms/ios/appname/Plugins/com.intel.security/libsService.a' for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Ld build/appname.build/Release-iphoneos/appname.build/Objects-normal/arm64/appname normal arm64
cd .../projectname/platforms/ios
export IPHONEOS_DEPLOYMENT_TARGET=5.1.1
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 arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -L.../projectname/platforms/ios/build/device -L.../projectname/platforms/ios/appname/Plugins/com.intel.security -F.../projectname/platforms/ios/build/device -filelist .../projectname/platforms/ios/build/appname.build/Release-iphoneos/appname.build/Objects-normal/arm64/appname.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=5.1.1 -framework AssetsLibrary .../projectname/platforms/ios/build/device/libCordova.a -framework CoreGraphics -framework MobileCoreServices -framework CoreMotion -weak_framework AudioToolbox -framework StoreKit -framework AVFoundation -framework CoreVideo -framework MessageUI -framework QuartzCore -framework SystemConfiguration -liconv -weak_framework Social -weak_framework ImageIO -framework CoreLocation -lsService -lkeyStore -lcrypto -lcurl -ljansson -lc++ -lstdc++ -Xlinker -dependency_info -Xlinker .../projectname/platforms/ios/build/appname.build/Release-iphoneos/appname.build/Objects-normal/arm64/appname_dependency_info.dat -o .../projectname/platforms/ios/build/appname.build/Release-iphoneos/appname.build/Objects-normal/arm64/appname
** BUILD FAILED **
The following build commands failed:
Ld build/appname.build/Release-iphoneos/appname.build/Objects-normal/armv7s/appname normal armv7s
(1 failure)
Command finished with error code 65: .../projectname/platforms/ios/cordova/build --release,--device
Error: .../projectname/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)
Please help me figure out the cause of this error.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have replicated this and let the developers know. We should get this fixed soon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fixed! Try building your app again and it should work now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot. I can successfully build cordova iOS apps now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The same error still exists, v2893
how to do? Abandon the xdk platform?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tony ~
You need to provide us with more information for us to be able to assist you. Please attach your build log and elaborate on the issue you are facing.
![](/skins/images/45C6C2D737ED71F4C51F0145C8CB1E9C/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page