Bug? iAdmob not working with the new Builder...

ilan

Expert
Licensed User
Parsing code. 0.05
Compiling code. 0.39
Compiling debugger engine code. 2.99
Building Xcode project 0.27
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = armv7
CODE_SIGN_IDENTITY = iPhone
CONFIGURATION_BUILD_DIR = /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/Payload
OTHER_CODE_SIGN_FLAGS = --keychain ilan
PRODUCT_NAME = Working Time
PROVISIONING_PROFILE = 91016a25-9a06-4b9c-b0c7-4ab34549ce66

=== BUILD TARGET B4iProject OF PROJECT B4iProject WITH CONFIGURATION Release ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build
write-file /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-own-target-headers.hmap
/bin/mkdir -p /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7
write-file /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/Working\ Time.LinkFileList
write-file /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-all-non-framework-target-headers.hmap
write-file /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-project-headers.hmap
write-file /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time.hmap
write-file /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-generated-files.hmap
write-file /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-all-target-headers.hmap

Create product structure
/bin/mkdir -p /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/Payload/Working\ Time.app

ProcessInfoPlistFile Payload/Working\ Time.app/Info.plist B4iProject/B4iProject-Info.plist
cd /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-infoPlistUtility /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/B4iProject/B4iProject-Info.plist -genpkginfo /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/Payload/Working\ Time.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -o /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/Payload/Working\ Time.app/Info.plist

ProcessPCH /var/folders/h5/0sczk6td4cx3k4w9mc_pmssw0000gn/C/com.apple.DeveloperTools/6.1-6A1052d/Xcode/SharedPrecompiledHeaders/B4iProject-Prefix-fkbnfnccxhrdotfhseoptgbddirr/B4iProject-Prefix.pch.pch B4iProject/B4iProject-Prefix.pch normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=7.0 -iquote /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-generated-files.hmap -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-own-target-headers.hmap -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-all-target-headers.hmap -iquote /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-project-headers.hmap -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/Payload/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/Payload -F../../Libs -MD -MT dependencies -MF /var/folders/h5/0sczk6td4cx3k4w9mc_pmssw0000gn/C/com.apple.DeveloperTools/6.1-6A1052d/Xcode/SharedPrecompiledHeaders/B4iProject-Prefix-fkbnfnccxhrdotfhseoptgbddirr/B4iProject-Prefix.pch.d -c /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/B4iProject/B4iProject-Prefix.pch -o /var/folders/h5/0sczk6td4cx3k4w9mc_pmssw0000gn/C/com.apple.DeveloperTools/6.1-6A1052d/Xcode/SharedPrecompiledHeaders/B4iProject-Prefix-fkbnfnccxhrdotfhseoptgbddirr/B4iProject-Prefix.pch.pch --serialize-diagnostics /var/folders/h5/0sczk6td4cx3k4w9mc_pmssw0000gn/C/com.apple.DeveloperTools/6.1-6A1052d/Xcode/SharedPrecompiledHeaders/B4iProject-Prefix-fkbnfnccxhrdotfhseoptgbddirr/B4iProject-Prefix.pch.dia

CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o B4iProject/main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=7.0 -iquote /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-generated-files.hmap -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-own-target-headers.hmap -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-all-target-headers.hmap -iquote /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-project-headers.hmap -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/Payload/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/Payload -F../../Libs -include /var/folders/h5/0sczk6td4cx3k4w9mc_pmssw0000gn/C/com.apple.DeveloperTools/6.1-6A1052d/Xcode/SharedPrecompiledHeaders/B4iProject-Prefix-fkbnfnccxhrdotfhseoptgbddirr/B4iProject-Prefix.pch -MMD -MT dependencies -MF /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.d --serialize-diagnostics /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.dia -c /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/B4iProject/main.m -o /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o

CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o B4iProject/b4i_main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=7.0 -iquote /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-generated-files.hmap -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-own-target-headers.hmap -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-all-target-headers.hmap -iquote /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Working\ Time-project-headers.hmap -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/Payload/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/Payload -F../../Libs -include /var/folders/h5/0sczk6td4cx3k4w9mc_pmssw0000gn/C/com.apple.DeveloperTools/6.1-6A1052d/Xcode/SharedPrecompiledHeaders/B4iProject-Prefix-fkbnfnccxhrdotfhseoptgbddirr/B4iProject-Prefix.pch -MMD -MT dependencies -MF /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.d --serialize-diagnostics /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.dia -c /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/B4iProject/b4i_main.m -o /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o

Ld Payload/Working\ Time.app/Working\ Time normal armv7
cd /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/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.1.sdk -L/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/Payload -L../../Libs -F/Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/Payload -F../../Libs -filelist /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/Working\ Time.LinkFileList -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7.0 -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liAdMob -framework AVFoundation -framework AudioToolbox -framework AdSupport -framework CoreGraphics -framework CoreTelephony -framework EventKit -framework EventKitUI -framework MessageUI -framework StoreKit -framework SystemConfiguration -lGoogleAdMobAds -liDebug -Xlinker -dependency_info -Xlinker /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/Working\ Time_dependency_info.dat -o /Users/<mypcname>/Downloads/B4iBuild-Server/UploadedProjects/ilan/Payload/Working\ Time.app/Working\ Time
ld: library not found for -lGoogleAdMobAds
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Error: ** BUILD FAILED **


The following build commands failed:
Ld Payload/Working\ Time.app/Working\ Time normal armv7
(1 failure)
 

ilan

Expert
Licensed User
thanx i didnot knew there is also a lib folder in my mac,
you mentioned that it would be possible to load full screen ads via native object, could you post a sample code plase

thank you
 

davepamn

Active Member
Licensed User
Will you provide the link for installation steps on the iMac?
I downloaded the jar and expected to have an one step installation process. It didn't seem to work that way.
 

quimacama

Member
Licensed User
This is no a bug. The distribution doesn't include third party libraries.

You need to download Google AdMob: https://developers.google.com/mobile-ads-sdk/download

Then copy libGoogleAdMobAds.a to the Libs folder (on the Mac computer!).

I buy a new mini Mac, I installed the macserver-2 with xcode7-beta and virtual box with win7. With the change of project.pbxproj.template I can debug my apps in the simulator and installed in my IPhone, but when I add IAdMob library to my project don't run. I download the sdk from https://developers.google.com/admob/ios/download but I don't find the libGoogleAdMobAds.a in this zip. What can I do ?
 

Similar Threads

  • Locked
  • Article
B4i Library iAdMob
Replies
109
Views
23K
Replies
199
Views
83K
Top