Closed arjankuijpers closed 8 years ago
Hello,
Remove the plugin and reinstall it by only inputting the plugin id:
com.admob.plugin
(Do not input version)
Now rebuild your app.
If the build fails create a new project , copy your app files in it and install admob as mentioned above. At this point, It can not fail, but if it does there is a plugin that causing the issue, try to remove them one by one and rebuild.
remove armv7s from your xcode project setting ,it is not reqired.
Go with admob-google solution first :)
Not seeing a option in Intel XDK to disable armv7s.
In Project tab>Plugin Managements
You just remove it.
the whole plugin ..?
I think it's AppVersion that you need to delete
by the way did you touch Launch Icons and Splash Screens ? You can fill in the icons but avoid Splash screen because whenever i try to setup splash screens I get error compiling the app, so I had to create new project and drag my html files into it and compiling works.
I am facing the same error and tried to remove and reinstall as admob-google mentioned, but without luck. I can build the iOS app without errors if the admit-plugin is not part of the app. So I think the armv7s could be at admob plugin. Is there any way to disable it? Thanks, Uwe
Create a new fresh project and add only admob, and also do not fill the Splash screens.
Do you think that this is a solution? I need the plugin working at my app Cheers Uwe
I also use intel xdk and it is buggy as hell, and at least that seems to solve for me.
@gregstein which version of XDK do you use and so using Early Access version .. the versioning of EA is different.
@arjankuijpers I always update to the latest one and make sure i use higher version of cordova v.4.1.1 or v.5 or above. Do not use lower versions sooner google play will stop the support for that.
new blank project without plugins succeeding iOS builds, com.admob.plugin added trough git (master) fails log: https://gist.github.com/arjankuijpers/14c810d14992d4968e6b
Please change to cordova CLI 4.1.2 version: http://i.imgur.com/ugY1S0C.png
and try to re-upload and re-build
it is no longer supported to use that version
Odd! Remove admob google and try this plugin : https://github.com/appfeel/admob-google-cordova instead, see if it works or u get same results. @
install like this: http://i.imgur.com/oOoWoXh.png
fails aswell
create another empty project and try to rebuild with that plugin again.
if it doesn't work, try this plugin too in another project: https://github.com/floatinghotpot/cordova-plugin-admob. Also keep the name of the app as default so u know what's the problem.
If all these plugins fail. 100% the early access version that is causing it.
Had the same thing with the stable version, but I will try the normal before confirming that.
if its not to much to ask: could you create an XDK project with com.admob.plugin ? and zip this (and attach file). then I can validate if this problem is my setup.
sure
Here is the link to the sample project:http://www.mediafire.com/download/v526rr6hf4cs345/admobsample.zip
and here is a success android build screen with that project: http://prntscr.com/a2euvi
normal fails as well at xdk 2893, havnt tried your zip yet.
your Zip also fails, have you tried building iOS ?, because the screenshot you added is from Android and my plugins work on Android aswell but it need to be working both platforms.
We may add armv7s support
that would be great, because this is really a plugin I want to use before the others
if its not that hard, I could take a look to help, but I dont know where to begin :)
Hi, if I understand the error message correct there is a compiler/linker flag to create also for armv7s architecture. But with using xcode 6 and iOS 8 apple removed armv7s. Please take a look at https://github.com/openframeworks/openFrameworks/issues/3423 if you update the flag to armv7 it should build without error. Cheers, Uwe
Well, you can solve this when you build with xcode but with Intel XDK you can't change Intel build settings. And Xcode stuff gets done on server side and is not in your control.
I don't know if the plugin creator can do anything to fix this without Intels support to change the build archs
I the commit history there is a commit named add support for armv7s #beaa0c so isnt it already supported ?
I cant fully understand if the plugin needs to support armv7s or needs to drop this (if it already supports)
From your debug post I can see: Build settings from command line: ARCHS = armv7 armv7s arm64 This will be used for the "ld" command and its failing because of missing armv7s. So my last comment was wrong. The armv7s slice is missing at AdmobAPI file. maybe the maintainer can recompile with added arch flag armv7s
is it maintained by google or is it a creation of this Admob project.. otherwise I could change and compile it myself right ? framework name used by this project: AdmobAPI.framework framework name downloaded from Google Admob download pages: GoogleMobileAds.framework
if so it would be great to include this framework as well in this project, so people can also contribute.
Sorry I don't know if this is maintaned by google. The file included at this plugin is a compiled binary.
thats why I ask :) but its a question for the maintainer I guess. @admob-google
wait
upgraded
sorry to say but the build is also failing with upgraded plugin:
ld: file is universal (4 slices) but does not contain a(n) armv7s slice: SuggestMe/Plugins/admob/AdmobAPI.framework/AdmobAPI file 'SuggestMe/Plugins/admob/AdmobAPI.framework/AdmobAPI' for architecture armv7s
if you need the complete build log I can send it.
upgraded ,5.4.1
i'm currently using a early access version of XDK (2866) and this plugin is not building (with my settings). gettting an error while building:
file is universal (2 slices) but does not contain a(n) armv7s slice.
/Plugins/com.admob.plugin/AdmobAPI.framework/AdmobAPI file 'Appname/Plugins/com.admob.plugin/AdmobAPI.framework/AdmobAPI' for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)
\ BUILD FAILED **