Is this an Enterprise build or an SDK build?
Hi Rob,
Sorry, false alarm. Not sure how it happened, but somehow i reverted to Admob V1.
Ben.
Hello Rob,
Thank you so much for this reply. Its an Enterprise Build.
You’re running into the issue with trying to link iOS 8.3 apps with an Xcode that’s less than 6.3. This is a dependency that Apple introduced.
Install Xcode 6.3 (and specify iOS 8.3 in the Corona Simulator Build dialog) and you should be good to go.
Hi guys,
I have the same build error with admob v3 plugin
Yosemite, xcode 6.3.1, Corona 2015.2635 (and 2015.2576)
I’ve tried on Maverics - the same result.
May 18 23:00:21.524: \<result\>Undefined symbols for architecture i386: May 18 23:00:21.524: "\_OBJC\_CLASS\_$\_ASIdentifierManager", referenced from: May 18 23:00:21.524: objc-class-ref in libads-admob.a(GADDevice.o) May 18 23:00:21.524: BUILD ERROR: There was a problem linking the app. Check the console for more information. May 18 23:00:21.524: ld: symbol(s) not found for architecture i386 May 18 23:00:21.524: clang: error: linker command failed with exit code 1 (use -v to see invocation)\</result\> May 18 23:00:21.524: ERROR: Builder failed: Undefined symbols for architecture i386: May 18 23:00:21.524: "\_OBJC\_CLASS\_$\_ASIdentifierManager", referenced from: May 18 23:00:21.525: objc-class-ref in libads-admob.a(GADDevice.o) May 18 23:00:21.525: ld: symbol(s) not found for architecture i386 May 18 23:00:21.525: clang: error: linker command failed with exit code 1 (use -v to see invocation) May 18 23:00:21.533: iOS build failed (12)
@mitsik, can you post your build.settings file please?
Just to confirm you’re doing an SDK build or an Enterprise build?
SDK, not an Enterprise
[lua]
settings = {
orientation =
{
default = ‘portrait’,
supported =
{
‘portrait’,
},
},
android = {
supportsScreens =
{
smallScreens = true,
normalScreens = true,
largeScreens = true,
xlargeScreens = true,
},
usesPermissions = {
‘android.permission.INTERNET’,
‘android.permission.ACCESS_NETWORK_STATE’,
},
googlePlayGamesAppId = “327965644107”, – Your Google Play Games App Id
},
plugins =
{
[“CoronaProvider.native.popup.social”] =
{
publisherId = “com.coronalabs”
},
[“CoronaProvider.ads.admob”] =
{
publisherId = “com.coronalabs”
},
–[“plugin.google.play.services”] =
–{
– publisherId = “com.coronalabs”
–},
–[“plugin.gamecircle”] =
–{
– publisherId = “COM_INNOVATIVELEISURE”,
– supportedPlatforms = { [“android-kindle”] = true },
–},
[“CoronaProvider.gameNetwork.apple”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, [“iphone-sim”]=true },
},
[“plugin.notifications”] =
{
publisherId = “com.coronalabs”
},
},
iphone = {
plist = {
CFBundleShortVersionString=“1.0”,
CFBundleLocalizations = {
“en”
},
UIAppFonts = {
“Roboto.ttf”
},
UIApplicationExitsOnSuspend = true,
UIPrerenderedIcon = true,
CFBundleDisplayName = “Basketball Stars. Quiz”,
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles =
{
“Icon.png”,
“Icon@2x.png”,
“Icon-72.png”,
“Icon-72@2x.png”,
“Icon-Small-50.png” ,
“Icon-Small-50@2x.png” ,
“Icon-Small.png” ,
“Icon-Small@2x.png”,
“Icon-Small-40.png”,
“Icon-Small-40@2x.png”,
“Icon-76.png”,
“Icon-76@2x.png”,
“Icon-60.png”,
“Icon-60@2x.png”,
},
}
}
}
[/lua]
The admob plugin you have in there is the V1 plugin which no longer works. You need to use the V2 plugin. See:
https://docs.coronalabs.com/plugin/ads-admob-v2/index.html
Rob
I am hitting the same or similar issue, after upgrading to build 2015.2581 I am getting this error, when I comment out the following from the build settings it builds fine:
[“CoronaProvider.ads.admob”] =
{
publisherId = “com.coronalabs”,
},
Mar 14 07:35:02.316: LoadFrom: /Users/avneraharoni/Library/Application Support/Corona Simulator/GuruCool_PlaySchool_3.0-3126E3B21E82D05E341C7FA87D9210C2/Documents/userData.json
Mar 14 07:35:02.319: [AdsController] initialized
Mar 14 07:35:02.881: ENTERING MM: memory usage:3080260
Mar 14 07:36:29.464:
Copyright © 2009-2015 C o r o n a L a b s I n c .
Mar 14 07:36:29.464: Version: 3.0.0
Mar 14 07:36:29.464: Build: 2015.2581
Mar 14 07:36:29.476: Platform: Nexus One / x86_64 / 10.10.2 / Intel HD Graphics 3000 OpenGL Engine / 2.1 INTEL-10.0.19 / 2015.2581
Mar 14 07:36:29.536: Loading project from: ~/Desktop/GurucooliOSAndroid/_sourcecode/GuruCool_PlaySchool_3.0
Mar 14 07:36:29.537: Project sandbox folder: ~/Library/Application Support/Corona Simulator/GuruCool_PlaySchool_3.0-3126E3B21E82D05E341C7FA87D9210C2
Mar 14 07:36:31.254: WARNING: display.setStatusBarMode() not supported in the simulator for Nexus One device
Mar 14 07:36:31.255: WARNING: Disabling the idle timer reduces battery life on the device. Also, there is no timer on the simulator
Mar 14 07:36:31.255: lang: en
Mar 14 07:36:31.267: LoadFrom: /Users/avneraharoni/Library/Application Support/Corona Simulator/GuruCool_PlaySchool_3.0-3126E3B21E82D05E341C7FA87D9210C2/Documents/userData.json
Mar 14 07:36:31.268: WARNING: The ‘ads’ provider (admob) is not available on the simulator
Mar 14 07:36:31.269: [AdsController] initialized
Mar 14 07:36:31.821: ENTERING MM: memory usage:3080260
Mar 14 07:36:31.821: WARNING: The ‘ads’ library is not available on this platform.
Mar 14 07:36:31.822: WARNING: The ‘ads’ provider (admob) is not available on the simulator
Mar 14 07:36:31.822: WARNING: The ‘ads’ library is not available on this platform.
Mar 14 07:36:55.546: Using Custom Build Id 00000
Mar 14 07:37:35.624: Using additional build settings from: /Users/avneraharoni/Desktop/GurucooliOSAndroid/_sourcecode/GuruCool_PlaySchool_3.0/build.settings
Mar 14 07:37:35.637: Contents of ZIP file from server:
Mar 14 07:37:35.644: PreschoolEssentialsADS.app/
Mar 14 07:37:35.644: PreschoolEssentialsADS.app/embedded.mobileprovision
Mar 14 07:37:35.645: PreschoolEssentialsADS.app/MainWindow-iPad.nib
Mar 14 07:37:35.645: PreschoolEssentialsADS.app/Default-568h@2x.png
Mar 14 07:37:35.645: PreschoolEssentialsADS.app/resource.car
Mar 14 07:37:35.645: PreschoolEssentialsADS.app/PkgInfo
Mar 14 07:37:35.645: PreschoolEssentialsADS.app/CoronaResources.bundle/
Mar 14 07:37:35.645: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_android.png
Mar 14 07:37:35.645: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_onOff_mask.png
Mar 14 07:37:35.645: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_android_holo_dark@4x.png
Mar 14 07:37:35.646: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_android_holo_light@2x.png
Mar 14 07:37:35.646: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_android_holo_light@4x.png
Mar 14 07:37:35.646: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_android_holo_light.png
Mar 14 07:37:35.646: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_onOff_mask_android_holo.png
Mar 14 07:37:35.646: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_ios7@4x.png
Mar 14 07:37:35.646: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_ios7.png
Mar 14 07:37:35.646: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_ios@2x.png
Mar 14 07:37:35.647: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_android@2x.png
Mar 14 07:37:35.647: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_pickerWheel_mask.png
Mar 14 07:37:35.647: PreschoolEssentialsADS.app/CoronaResources.bundle/Info.plist
Mar 14 07:37:35.647: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_android_holo_dark.png
Mar 14 07:37:35.647: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_ios7@2x.png
Mar 14 07:37:35.647: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_android_holo_dark@2x.png
Mar 14 07:37:35.647: PreschoolEssentialsADS.app/CoronaResources.bundle/widget_theme_ios.png
Mar 14 07:37:35.647: PreschoolEssentialsADS.app/Info.plist
Mar 14 07:37:35.648: PreschoolEssentialsADS.app/_CodeSignature/
Mar 14 07:37:35.648: PreschoolEssentialsADS.app/_CodeSignature/CodeResources
Mar 14 07:37:35.648: PreschoolEssentialsADS.app/CoronaSDK3rdPartyLicenses.txt
Mar 14 07:37:35.648: PreschoolEssentialsADS.app/.build/
Mar 14 07:37:35.648: PreschoolEssentialsADS.app/.build/CoronaProvider.ads.admob/
Mar 14 07:37:35.648: PreschoolEssentialsADS.app/.build/CoronaProvider.ads.admob/metadata.lua
Mar 14 07:37:35.648: PreschoolEssentialsADS.app/.build/CoronaProvider.ads.admob/libads-admob.a
Mar 14 07:37:35.648: PreschoolEssentialsADS.app/.build/libtemplate/
Mar 14 07:37:35.649: PreschoolEssentialsADS.app/.build/libtemplate/Defaults.lua
Mar 14 07:37:35.649: PreschoolEssentialsADS.app/.build/libtemplate/libtemplate.a
Mar 14 07:37:35.649: PreschoolEssentialsADS.app/.build/libtemplate/Builder.lua
Mar 14 07:37:35.649: PreschoolEssentialsADS.app/.build/libtemplate/build.lua
Mar 14 07:37:35.649: PreschoolEssentialsADS.app/.build/libtemplate/BuilderUtils.lua
Mar 14 07:37:35.649: PreschoolEssentialsADS.app/.build/CoronaProvider.ads.iads/
Mar 14 07:37:35.649: PreschoolEssentialsADS.app/.build/CoronaProvider.ads.iads/libads-iads.a
Mar 14 07:37:35.649: PreschoolEssentialsADS.app/.build/CoronaProvider.ads.iads/metadata.lua
Mar 14 07:37:35.650: PreschoolEssentialsADS.app/MainWindow.nib
Mar 14 07:37:35.904: Server dir name: PreschoolEssentialsADS.app
Mar 14 07:37:35.904: Server app name: PreschoolEssentialsADS (local name: Preschool Essentials ADS)
Mar 14 07:37:35.910: ERROR: build command failed: mv -f “/Users/avneraharoni/Documents/Builds/iOS/PreschoolEssentialsADS.app/PreschoolEssentialsADS” “/Users/avneraharoni/Documents/Builds/iOS/PreschoolEssentialsADS.app/Preschool Essentials ADS”
Mar 14 07:37:35.911: ERROR: with exit code 1 and output:
Mar 14 07:37:35.915: mv: rename /Users/avneraharoni/Documents/Builds/iOS/PreschoolEssentialsADS.app/PreschoolEssentialsADS to /Users/avneraharoni/Documents/Builds/iOS/PreschoolEssentialsADS.app/Preschool Essentials ADS: No such file or directory
Mar 14 07:37:35.968: builder: buildOptions: {
Mar 14 07:37:35.968: “dstDir”:"/Users/avneraharoni/Documents/Builds/iOS/Preschool Essentials ADS.app",
Mar 14 07:37:35.968: “dstName”:“Preschool Essentials ADS”,
Mar 14 07:37:35.968: “dstPath”:"/Users/avneraharoni/Documents/Builds/iOS/Preschool Essentials ADS.app/Preschool Essentials ADS",
Mar 14 07:37:35.969: “librarySearchPaths”:["/Users/avneraharoni/Documents/Builds/iOS/Preschool Essentials ADS.app/.build/libtemplate"],
Mar 14 07:37:35.970: “pluginsDir”:"/Users/avneraharoni/Documents/Builds/iOS/Preschool Essentials ADS.app/.build",
Mar 14 07:37:35.970: “tmpDir”:"/var/folders/lk/2chnxpx13r3650n5pw_q9z0c0000gn/T/CLtmpgjTX6j",
Mar 14 07:37:35.970: “verbose”:false
Mar 14 07:37:35.970: }
Mar 14 07:37:36.482: ERROR: Builder failed: Undefined symbols for architecture armv7:
Mar 14 07:37:36.482: BUILD ERROR: There was a problem linking the app.
Check the console for more information.
Mar 14 07:37:36.483: “_OBJC_CLASS_$_ASIdentifierManager”, referenced from:
Mar 14 07:37:36.483: objc-class-ref in libads-admob.a(GADDevice.o)
Mar 14 07:37:36.483: objc-class-ref in libads-admob.a(GADGestureIdUtil.o)
Mar 14 07:37:36.483: ld: symbol(s) not found for architecture armv7
Mar 14 07:37:36.483: clang: error: linker command failed with exit code 1 (use -v to see invocation)
Mar 14 07:37:36.498: iOS build failed (12)
Hi avneraa1,
With latest version of corona, i think it only supports admob v2. Your build settings should contain the following lines.
["plugin.google.play.services"] = { publisherId = "com.coronalabs", },
Ben
This fixed it, thanks much!
Hello guys!
Have the same problem:
09.06.15 9:36:11,870 Corona Simulator[704]: BUILD ERROR: There was a problem linking the app.
Check the console for more information.
09.06.15 9:36:11,875 Corona Simulator[704]: iOS build failed (12)
Could not compile for xCode Simulator.
What is in your console log?
That’s all:
builder: buildOptions: { "dstDir":"/Users/Apple/Documents/Corona Builds/xxxxxxx.app", "dstName":"xxxxxxx", "dstPath":"/Users/Apple/Documents/Corona Builds/xxxxxxx.app/xxxxxxx", "librarySearchPaths":["/Users/Apple/Documents/Corona Builds/xxxxxxx.app/.build/libtemplate"], "pluginsDir":"/Users/Apple/Documents/Corona Builds/xxxxxxx.app/.build", "sdkType":"iphonesimulator", "settings":{ "excludeFiles":{ "android":["Icon.png","\*@2x.png","\*.nib","InfoPlist.strings"], "all":["GliderProperties.proj"], "iphone":["Icon-\*dpi.png"] }, "plugins":{ "facebook":{ "supportedPlatforms":{ "iphone-sim":true, "iphone":true }, "publisherId":"com.coronalabs" }, "CoronaProvider.analytics.flurry":{ "publisherId":"com.coronalabs" }, "plugin.openssl":{ "publisherId":"com.coronalabs" } }, "android":{ "usesExpansionFile":false, "usesPermissions":["android.permission.WRITE\_EXTERNAL\_STORAGE","com.android.vending.BILLING","com.android.vending.CHECK\_LICENSE","android.permission.INTERNET","android.permission.ACCESS\_NETWORK\_STATE","android.permission.ACCESS\_FINE\_LOCATION","android.permission.ACCESS\_COARSE\_LOCATION"], "usesFeatures":[{ "name":"android.hardware.location", "required":false },{ "name":"android.hardware.location.gps", "required":false },{ "name":"android.hardware.location.network", "required":false }], "supportsScreens":{ "largeScreens":true, "smallScreens":false, "requiresSmallestWidthDp":600, "xlargeScreens":true, "normalScreens":false }, "versionCode":"110" }, "iphone":{ "plist":{ "UIApplicationExitsOnSuspend":false, "CFBundleVersion":"1.2", "CFBundleDisplayName":"Great Steppe", "UIPrerenderedIcon":true, "CFBundleLocalizations":["en","ru"], "UIStatusBarHidden":true, "FacebookAppID":"1111111111111111", "UIAppFonts":["CharterITC-Bold.otf","CharterITC.otf"], "CFBundleIconFile":"Icon.png", "MinimumOSVersion":"6.1", "CFBundleIconFiles":["Icon.png","Icon@2x.png","Icon-60.png","Icon-60@2x.png","Icon-60@3x.png","Icon-72.png","Icon-72@2x.png","Icon-76.png","Icon-76@2x.png","Icon-120.png","Icon-Small.png","Icon-Small@2x.png","Icon-Small@3x.png","Icon-Small-40.png","Icon-Small-40@2x.png","Icon-Small-40@3x.png","Icon-Small-50.png","Icon-Small-50@2x.png"], "CFBundleURLTypes":[{ "CFBundleURLSchemes":["fb111111111111111"] }] } }, "orientation":{ "default":"landscapeRight", "supported":["landscapeLeft","landscapeRight"] } }, "tmpDir":"/var/folders/g\_/lw28l\_gn32gfgx\_hxmdhg29h0000gn/T/CLtmpG0WPMk", "verbose":0 } Analyzing plugins... Done. Compiling Slices... Compiling architecture: i386 \<execute\>cd "/var/folders/g\_/lw28l\_gn32gfgx\_hxmdhg29h0000gn/T/CLtmpG0WPMk/i386";unset LIBRARY\_PATH; export IPHONEOS\_DEPLOYMENT\_TARGET=6.1; export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin";/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk -ObjC -all\_load -fobjc-link-runtime -miphoneos-version-min=6.1 -L"/Users/Apple/Documents/Corona Builds/GreatSteppe.app/.build/libtemplate" -L"/Users/Apple/Documents/Corona Builds/GreatSteppe.app/.build/CoronaProvider.analytics.flurry" -L"/Users/Apple/Documents/Corona Builds/GreatSteppe.app/.build/facebook" -L"/Users/Apple/Documents/Corona Builds/GreatSteppe.app/.build/plugin.openssl" -framework AudioToolbox -framework AVFoundation -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -framework CoreMotion -framework CoreVideo -framework GameKit -framework GLKit -framework ImageIO -framework MapKit -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework OpenAL -framework OpenGLES -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework Accounts -weak\_framework Foundation -weak\_framework Twitter -lobjc -lsqlite3 -ltemplate -lanalytics-flurry -lfacebook -lplugin.openssl -o "/var/folders/g\_/lw28l\_gn32gfgx\_hxmdhg29h0000gn/T/CLtmpG0WPMk/i386/GreatSteppe"\</execute\> \<result\>Undefined symbols for architecture i386: "\_fwrite$UNIX2003", referenced from: \_int\_rsa\_verify in libplugin.openssl.a(rsa\_sign.o) \_test\_rc4\_init\_key in libplugin.openssl.a(eng\_openssl.o) \_TXT\_DB\_read in libplugin.openssl.a(txt\_db.o) \_read\_string in libplugin.openssl.a(ui\_openssl.o) \_read\_string\_inner in libplugin.openssl.a(ui\_openssl.o) \_ENGINE\_load\_gost in libplugin.openssl.a(gost\_eng.o) \_dtls1\_retransmit\_buffered\_messages in libplugin.openssl.a(d1\_both.o) ... ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)\</result\> ERROR: Builder failed: Undefined symbols for architecture i386: "\_fwrite$UNIX2003", referenced from: \_int\_rsa\_verify in libplugin.openssl.a(rsa\_sign.o) \_test\_rc4\_init\_key in libplugin.openssl.a(eng\_openssl.o) \_TXT\_DB\_read in libplugin.openssl.a(txt\_db.o) \_read\_string in libplugin.openssl.a(ui\_openssl.o) \_read\_string\_inner in libplugin.openssl.a(ui\_openssl.o) \_ENGINE\_load\_gost in libplugin.openssl.a(gost\_eng.o) \_dtls1\_retransmit\_buffered\_messages in libplugin.openssl.a(d1\_both.o) ... ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) 2015-06-09 10:33:59.401 Corona Simulator[704:5326] BUILD ERROR: There was a problem linking the app. Check the console for more information. 2015-06-09 10:33:59.407 Corona Simulator[704:5326] iOS build failed (12)
What version of Corona SDK are you using?
Corona SDK: Version 2015.2647 (2015.6.1)
xCode: Version 6.3
Yesterday was the same error with 2015.2625
Do you need the openSSL plugin?
If not, you might want to try and remove it.
Rob
And to verify this is an SDK build, not an Enterprise build?
Thanks
Rob
Yes, Rob, I need it. And everything works without openSSL.
No other solution, Rob?
And to verify this is an SDK build, not an Enterprise build?
This is SDK build.