Ionic ruin ios --device armv7 build error


Hey, I just wanted to try ionic app in iphone 6 device. In simulator everything works just fine. I’m using cordova plugin cordova-plugin-admobpro and there is dependency to cordova-plugin-extension.

my CLI commands:
ionic star testIOS tabs
cd testIOS
ionic plugin add cordova-plugin-extension
ionic run ios --device

I will get this error:

The following build commands failed:
Ld build/device/ normal armv7
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/balicekt/Documents/Projects/GAME/testIOS/platforms/ios/cordova/build-debug.xcconfig,-project,testIOS.xcodeproj,ARCHS=armv7 armv7s arm64,-target,testIOS,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 armv7s arm64,CONFIGURATION_BUILD_DIR=/Users/balicekt/Documents/Projects/GAME/testIOS/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/balicekt/Documents/Projects/GAME/testIOS/platforms/ios/build/sharedpch

Could anyonw help me? I have no idea what could I do with it.


Have you added your device in provisioning profile in xcode? You need to perform some additional steps in xcode for running on device.


Yes I did. I finally found a solution! It was because of a bit code. I had to open .xcodeproj file and set in Build Settings -> Enable Bitcode -> NO