- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have added PushWoosh to an app that previously compiled OK.
I've added a new provisioning profile and certificate created from PushWoosh (Auto), but I get the following error on build for iOS. Android builds OK.
Ld build/myappname.build/Release-iphoneos/myappname.build/Objects-normal/arm64/myappname normal arm64 cd .../myappnameV9PUSH/platforms/ios export IPHONEOS_DEPLOYMENT_TARGET=8.0 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.../myappnameV9PUSH/platforms/ios/build/device -L.../myappnameV9PUSH/platforms/ios/myappname/Plugins/com.pushwoosh.plugins.pushwoosh -F.../myappnameV9PUSH/platforms/ios/build/device -filelist .../myappnameV9PUSH/platforms/ios/build/myappname.build/Release-iphoneos/myappname.build/Objects-normal/arm64/myappname.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=8.0 -framework AssetsLibrary .../myappnameV9PUSH/platforms/ios/build/device/libCordova.a -framework CoreGraphics -framework MobileCoreServices -weak_framework AudioToolbox -framework CoreLocation -weak_framework ImageIO -framework AVFoundation -liconv -framework CoreVideo -framework QuartzCore -framework CoreImage -weak_framework SystemConfiguration .../myappnameV9PUSH/platforms/ios/myappname/Plugins/com.pushwoosh.plugins.pushwoosh/Pushwoosh -framework Security -framework Storekit -lstdc++ -lz -Xlinker -dependency_info -Xlinker .../myappnameV9PUSH/platforms/ios/build/myappname.build/Release-iphoneos/myappname.build/Objects-normal/arm64/myappname_dependency_info.dat -o .../myappnameV9PUSH/platforms/ios/build/myappname.build/Release-iphoneos/myappname.build/Objects-normal/arm64/myappname Ld build/myappname.build/Release-iphoneos/myappname.build/Objects-normal/armv7s/myappname normal armv7s cd .../myappnameV9PUSH/platforms/ios export IPHONEOS_DEPLOYMENT_TARGET=8.0 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.../myappnameV9PUSH/platforms/ios/build/device -L.../myappnameV9PUSH/platforms/ios/myappname/Plugins/com.pushwoosh.plugins.pushwoosh -F.../myappnameV9PUSH/platforms/ios/build/device -filelist .../myappnameV9PUSH/platforms/ios/build/myappname.build/Release-iphoneos/myappname.build/Objects-normal/armv7s/myappname.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=8.0 -framework AssetsLibrary .../myappnameV9PUSH/platforms/ios/build/device/libCordova.a -framework CoreGraphics -framework MobileCoreServices -weak_framework AudioToolbox -framework CoreLocation -weak_framework ImageIO -framework AVFoundation -liconv -framework CoreVideo -framework QuartzCore -framework CoreImage -weak_framework SystemConfiguration .../myappnameV9PUSH/platforms/ios/myappname/Plugins/com.pushwoosh.plugins.pushwoosh/Pushwoosh -framework Security -framework Storekit -lstdc++ -lz -Xlinker -dependency_info -Xlinker .../myappnameV9PUSH/platforms/ios/build/myappname.build/Release-iphoneos/myappname.build/Objects-normal/armv7s/myappname_dependency_info.dat -o .../myappnameV9PUSH/platforms/ios/build/myappname.build/Release-iphoneos/myappname.build/Objects-normal/armv7s/myappname ld: file is universal (4 slices) but does not contain a(n) armv7s slice: .../myappnameV9PUSH/platforms/ios/myappname/Plugins/com.pushwoosh.plugins.pushwoosh/Pushwoosh file '.../myappnameV9PUSH/platforms/ios/myappname/Plugins/com.pushwoosh.plugins.pushwoosh/Pushwoosh' for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation) Ld build/myappname.build/Release-iphoneos/myappname.build/Objects-normal/armv7/myappname normal armv7 cd .../myappnameV9PUSH/platforms/ios export IPHONEOS_DEPLOYMENT_TARGET=8.0 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 armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -L.../myappnameV9PUSH/platforms/ios/build/device -L.../myappnameV9PUSH/platforms/ios/myappname/Plugins/com.pushwoosh.plugins.pushwoosh -F.../myappnameV9PUSH/platforms/ios/build/device -filelist .../myappnameV9PUSH/platforms/ios/build/myappname.build/Release-iphoneos/myappname.build/Objects-normal/armv7/myappname.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=8.0 -framework AssetsLibrary .../myappnameV9PUSH/platforms/ios/build/device/libCordova.a -framework CoreGraphics -framework MobileCoreServices -weak_framework AudioToolbox -framework CoreLocation -weak_framework ImageIO -framework AVFoundation -liconv -framework CoreVideo -framework QuartzCore -framework CoreImage -weak_framework SystemConfiguration .../myappnameV9PUSH/platforms/ios/myappname/Plugins/com.pushwoosh.plugins.pushwoosh/Pushwoosh -framework Security -framework Storekit -lstdc++ -lz -Xlinker -dependency_info -Xlinker .../myappnameV9PUSH/platforms/ios/build/myappname.build/Release-iphoneos/myappname.build/Objects-normal/armv7/myappname_dependency_info.dat -o .../myappnameV9PUSH/platforms/ios/build/myappname.build/Release-iphoneos/myappname.build/Objects-normal/armv7/myappname ** BUILD FAILED **
- Tags:
- HTML5
- Intel® XDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The build server is now updated to xcode7, the armv7s build issue should be resolved
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nick, can you attach the entire build log, I think the key lines are further north in that file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Paul
I have PM'd you with the log file.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nick -- no PM with a log. For something like a build log, please just attach it directly to your forum post. Use the "Attach Media" button below the edit window when you are creating a new post. Paul
- 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
I'm not seeing any useful information in that build log, :( This may be a case where Xcode 7 is required to build with this plugin. There are a few out there and our iOS build system has not yet been upgraded to use Xcode 7.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Paul
Thanks for the update.
Somewhat confused as I believe there are developers on this forum using PushWoosh in their projects, but I have been unable to pinpoint the cause of the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The confusion is probably due to the differences between the CLI 4 and CLI 5 build systems. We're seeing lots of situations where things that work well on CLI 4.1.2 don't work well on CLI 5.1.1, and vice versa.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I ran into something similar with a third-party library. I could be wrong, but I believe this is caused by incompatible build options between an underlying library associated with the plugin and the Intel XDK Build Service compile options.
In Xcode 6, Apple removed the armv7s architecture from the standard build settings. Because of this, the armv7s options is excluded from the creation of the a library (.a) associated with the plugin - more likely to happen with newer or frequently updated libraries. Because the Intel XDK Build Service includes the armv7s architecture option when compiling, an error is throw because the plugin library lacks support for it.
Here's an article discussing this condition:
https://www.cocoanetics.com/2014/10/xcode-6-drops-armv7s/
Solutions include getting the plugin/library developer to include armv7s in the compile/link options when building the underlying library. Or excluding armv7s from the Intel XDK build options (not sure how).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We're in the process of updating our iOS build systems so they use Xcode 7 rather than Xcode 6. I expect this to resolve most of these issues. Unfortunately, we are not allowed to publish a timeline as to when that change will happen. All I can say is that it is in process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same problem !
** BUILD FAILED ** The following build commands failed: Ld build/Pushwoosh-Sample.build/Release-iphoneos/Pushwoosh-Sample.build/Objects-normal/armv7s/Pushwoosh-Sample normal armv7s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same problem! I have been trying to get PushWoosh working again for three days with no success. I even tried switching my code over to Urban Airship without much success. Any ETA on when this might be resolved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We do not yet have an updated iOS build, that includes Xcode 7. In the meantime, your best bet is to use an older version of the plugin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The build server is now updated to xcode7, the armv7s build issue should be resolved

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page