Intelxdk 3759 IOS Build Fail

Get help using Construct 2

Post » Tue Jan 10, 2017 2:10 pm

I have the following error when building IOS app in Intelxdk 3759. The issue is with the 3rd Party plugin - Cordova Admob ads plugin, anyone know how to solve this?

** BUILD FAILED **

The following build commands failed:
CompileC build/Tom\ Cat\ Escape\ Run.build/Release-iphoneos/Tom\ Cat\ Escape\ Run.build/Objects-normal/armv7/AdMobPlugin.o Tom\ Cat\ Escape\ Run/Plugins/cordova-plugin-ad-admob/AdMobPlugin.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,.../cordova_project/platforms/ios/cordova/build-release.xcconfig,-project,Tom Cat Escape Run.xcodeproj,ARCHS=armv7 arm64,-target,Tom Cat Escape Run,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=.../cordova_project/platforms/ios/build/device,SHARED_PRECOMPS_DIR=.../cordova_project/platforms/ios/build/sharedpch
B
16
S
5
G
4
Posts: 36
Reputation: 3,124

Post » Tue Jan 10, 2017 3:00 pm

Come to think of it, your best bet is to post that on the Intel XDK Forum
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Mon Jan 23, 2017 8:44 am

Hi @carson leong

Have esaxt same Issue. Have you solved it ?
.. my android build from XDK/Cordova runs fine


Regards
B
33
S
17
G
11
Posts: 350
Reputation: 8,695

Post » Mon Jan 23, 2017 9:52 am

Haven't solve it yet. I ask in intelxdk forum and they said this:

Carson -- the error indicates that there is a problem with a compile step of "cordova-plugin-ad-admob" -- which appears to be due to the dependent plugin name "cordova-plugin-ad-admob-sdk" -- which is pulled in automatically by "cordova-plugin-ad-admob."

My hunch is the problem is due to a "hooks" script that is part of the "cordova-plugin-ad-admob-sdk" plugin, which appears to be creating some symbolic links in that plugin to deal with header files and some other files that are part of the AdMob SDK. Unfortunately, the XDK build system does not support hooks scripts, because they present a security risk to your account and the build servers. Likewise, I believe PhoneGap Build has a similar policy.

Thus, you will have to build locally using Cordova CLI if you want to use that plugin, it will not work with our build system (to build for iOS you need a Mac and Xcode, in addition to Cordova CLI). You might be able to force it to work with our system by making a local copy of those two plugins (e.g., clone them to your hard drive) and then make the modifications by hand that the hooks script is doing automatically, and then import those modified plugins using the "import local plugin" option of the XDK. For additional help with that process I recommend you check Stack Overflow, this is outside the scope of the support we're able to provide.

But, I don't know how to build locally using Cordova CLI, it seen hard to understanding for me.
B
16
S
5
G
4
Posts: 36
Reputation: 3,124


Return to How do I....?

Who is online

Users browsing this forum: KTML5 and 23 guests