Software Archive
Read-only legacy content
17060 Discussions

Issue when building iOS

Hamilton_Tenório_da_
Valued Contributor I
1,164 Views

I am trying to do a build to iOS, but I am receiving a error that I can´t understand.

The screen shows it:

The build failed. An error occurred while building the application. Verify your build assets are correct and try again.

You can view the detailed log of the iOS build here
Build Log:
Building a Cordova 4.1.2 application.
Warning: We are deprecating the Intel XDK Cordova CLI 4.1.2 build system. This means that the CLI 4.1.2 build option will be retired at a future date (currently planned for March, 2016). We recommend that you start moving your projects to use the Intel XDK Cordova CLI 5.1.1 build option in preparation for the eventual discontinuation of the CLI 4.1.2 build option. Once CLI 4.1.2 is retired, you will no longer be able to use the Intel XDK to build using Cordova CLI 4.1.2.
The application name is "Fale para Bate-Papo v 2.0.0"
The package name is "com.hamiltonhtsnet.com.br.faleparabatepapo"
Will use the provisioning profile for "production"
Plugin "org.apache.cordova.speech.speechrecognition" (0.1.1) installed.
Plugin "org.apache.cordova.device" (0.2.13) installed.
Plugin "org.apache.cordova.splashscreen" (0.3.5) installed.
Plugin "com.google.admobsdk" (6.12.2) installed.
Plugin "com.google.playservices" (19.0.0) installed.
Plugin "com.rjfun.cordova.plugin.admob" (2.1.7) installed.
Plugin "org.apache.cordova.geolocation" (0.3.11) installed.
Plugin "org.apache.cordova.device-motion" (0.2.11) installed.
Plugin "uk.co.ilee.shake" (0.4.0) installed.
Plugin "cc.fovea.plugins.inapppurchase" (3.4.1) installed.
Plugin "org.chromium.common" (1.0.6) installed.
Plugin "com.google.payments" (2.1.0) installed.
Plugin "org.apache.cordova.vibration" (0.3.12) installed.
Plugin "org.apache.cordova.network-information" (0.2.14) installed.
Plugin "com.brodysoft.sqlitePlugin" (1.0.6) installed.
Plugin "com.cmackay.plugins.googleanalytics" (0.1.15) installed.
Plugin "cordova-plugin-appavailability" (0.4.2) installed.
Plugin "cordova-plugin-x-socialsharing" (5.0.9) installed.
Targeting iOS version 6.
Error: A build error occurred. Check the build log.

 

The complete log is attached.

The only message inside the log that seems to be a error is:

ld: file is universal (4 slices) but does not contain a(n) armv7s slice: .../FaleParaBatePapo/platforms/ios/Fale para Bate-Papo v 2.0.0/Plugins/org.apache.cordova.speech.speechrecognition/libiSpeechSDK.a file '.../FaleParaBatePapo/platforms/ios/Fale para Bate-Papo v 2.0.0/Plugins/org.apache.cordova.speech.speechrecognition/libiSpeechSDK.a' for architecture armv7s

clang: error: linker command failed with exit code 1 (use -v to see invocation)

But I don´t know what it means...

 

0 Kudos
3 Replies
PaulF_IntelCorp
Employee
1,164 Views

I believe this error is being caused by the fact that our iOS build system does not yet support building with Xcode 7. You probably have a plugin that requires that version of Xcode to build. The only solution, until our build system is updated, is to try using an older version of the problem plugin. Based on the error message, it looks like it is the speech recognition plugin. To figure out which is the problem, remove your third-party plugins, one-by-one and build, until you determine which is causing the build problem. Then see if there's an older version of that plugin that will work.

Sorry, but no hard estimate on when our build system will start using Xcode 7, it is in process...

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
1,164 Views

I will try, but it is very odd. I built this same app in iOS some days ago (begining of January) with the same plugins. I made some little changes only in the code.

0 Kudos
Arjan_K_
Beginner
1,164 Views

Its a very annoying error:

because You cannot use some plugins (Xcode 7) is already a common used application and some plugins are only programmed with 7 and not earlier.

same error here: file does not contain an armv7s slice.

 

 

0 Kudos
Reply