Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Ios Build : Undefined symbols for architecture armv7: "___isOSVersionAtLeast"
Started by nadar Nov 02 2017 03:14 AM

8 replies to this topic
appodeal build ios
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

nadar

[GLOBAL: userInfoPane.html]
nadar
  • Observer

  • 20 posts
  • Corona SDK

Hi, today I've this issue compiling with  appodeal plugin  with ios with all my app which I've tried to compile for iOS; I've  compiled last time the 28th of October with tha same configuration (Corona sdk 3145) with no problem :
 
Undefined symbols for architecture armv7:
  "___isOSVersionAtLeast", referenced from:
      ___38-[APDComplainView fillForInterstitial]_block_invoke.176 in libAppodeal.a(APDComplainView.o)
      _APDSafeArea in libAppodeal.a(APDGeometry.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
BUILD ERROR: There was a problem linking the app.
 
 
My configuration : 
Macos sierra 10.12.5; xCode version 8.3.3 
Corona sdk 3145, tried the 3163 too (not Enterprise both)
compiling ios sdk : 10.3
 
 
Something has been changed on appodeal plugin please? Have someone else experienced  the same issue?
Thank you in advance, bye
Simone
 
 
 
PS: here is the complete log, just cut it in the middle, anyway sorry the longness
 
Analyzing Lua plugins...
Examining plugin: CoronaProvider.native.popup.social
Examining plugin: plugin.appodeal
Examining plugin: plugin.facebook.v4
  Done.
 
Compiling Slices...
  Compiling architecture: armv7
  <execute>cd "/var/folders/kp/1ctmsrhx2bbd0t2k_ym9s90r0000gn/T/CLtmp7FNEzi/armv7";unset LIBRARY_PATH; 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/bin:/bin:/usr/sbin:/sbin";"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" -stdlib=libstdc++ -arch armv7 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk" -ObjC -all_load -fobjc-link-runtime -miphoneos-version-min=7.0 -std=c++11 -stdlib=libc++ -Xlinker -rpath -Xlinker @executable_path/Frameworks -L"/Users/simone/Desktop/build/PetsNet.app/.build/libtemplate" -L"/Users/simone/Desktop/build/PetsNet.app/.build/CoronaProvider.native.popup.social" -L"/Users/simone/Desktop/build/PetsNet.app/.build/plugin.appodeal" -L"/Users/simone/Desktop/build/PetsNet.app/.build/plugin.facebook.v4" -F"/Users/simone/Desktop/build/PetsNet.app/Frameworks" -framework AudioToolbox -framework AVFoundation -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -framework CoreMotion -framework CoreVideo -framework CoreText -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 JavaScriptCore -framework CoreBluetooth -framework WebKit -framework Accounts -weak_framework GameController -weak_framework AssetsLibrary -weak_framework Photos -weak_framework Foundation -weak_framework Twitter -weak_framework social -weak_framework SafariServices -weak_framework AdSupport -lobjc -lsqlite3 -ltemplate -lnative-popup-social -lAppodealPlugin -lAppodeal -lxml2 -lz -lc++ -lBolts -lFBSDKCoreKit -lFBSDKLoginKit -lFBSDKShareKit -lfacebook -o "/var/folders/kp/1ctmsrhx2bbd0t2k_ym9s90r0000gn/T/CLtmp7FNEzi/armv7/PetsNet"</execute>
  <result>ld: warning: directory not found for option '-F/Users/simone/Desktop/build/PetsNet.app/Frameworks'
ld: warning: object file (/Users/simone/Desktop/build/PetsNet.app/.build/libtemplate/libtemplate.a(main.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (/Users/simone/Desktop/build/PetsNet.app/.build/libtemplate/libtemplate.a(Rtt_IPhoneTemplate-Sub.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (/Users/simone/Desktop/build/PetsNet.app/.build/libtemplate/libtemplate.a(CoronaBeacon.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (/Users/simone/Desktop/build/PetsNet.app/.build/libtemplate/libtemplate.a(AppleWeakProxy.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (/Users/simone/Desktop/build/PetsNet.app/.build/libtemplate/libtemplate.a(Rtt_IPhonePlatformCore.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (/Users/simone/Desktop/build/PetsNet.app/.build/libtemplate/libtemplate.a(CoronaSystemResourceManager.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (/Users/simone/Desktop/build/PetsNet.app/.build/libtemplate/libtemplate.a(Rtt_IPhoneMediaProvider.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (/Users/simone/Desktop/build/PetsNet.app/.build/libtemplate/libtemplate.a(Rtt_AppleAudioRecorder.o)) was built for newer iOS version (8.0) than being linked (7.0)
......
......
ld: warning: object file (/Users/simone/Desktop/build/PetsNet.app/.build/plugin.appodeal/libAppodeal.a(FNFMediaPresentationDescription.mm.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (/Users/simone/Desktop/build/PetsNet.app/.build/plugin.appodeal/libAppodeal.a(FNFMpdTimelineEntry.mm.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (/Users/simone/Desktop/build/PetsNet.app/.build/plugin.appodeal/libAppodeal.a(FNFRepresentationDataDownloadTracker.m.o)) was built for newer iOS version (8.0) than being linked (7.0)
Undefined symbols for architecture armv7:
  "___isOSVersionAtLeast", referenced from:
      ___38-[APDComplainView fillForInterstitial]_block_invoke.176 in libAppodeal.a(APDComplainView.o)
      _APDSafeArea in libAppodeal.a(APDGeometry.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
BUILD ERROR: There was a problem linking the app.
 
Check the console for more information.
iOS build failed (12) after 481 seconds
ERROR: Build Failed: There was a problem linking the app.


[TOPIC: post.html]
#2

wolber

[GLOBAL: userInfoPane.html]
wolber
  • Observer

  • 5 posts
  • Corona SDK

Same problem!



[TOPIC: post.html]
#3

nadar

[GLOBAL: userInfoPane.html]
nadar
  • Observer

  • 20 posts
  • Corona SDK

Just tried with an older Corona sdk version (3069) but same error, something has been changed in appodeal plugin.
Maybe it's necessary to upgrade ios sdk to 11 , this evening I will try



[TOPIC: post.html]
#4

Bektur

[GLOBAL: userInfoPane.html]
Bektur
  • Contributor

  • 135 posts
  • Corona Staff

Try the latest 3167, we've been updating our build system to support Xcode 9 and 9.1



[TOPIC: post.html]
#5

nadar

[GLOBAL: userInfoPane.html]
nadar
  • Observer

  • 20 posts
  • Corona SDK

Ok, thank you Bektur, with xcode upgrading and 3167 now all it's ok, bye



[TOPIC: post.html]
#6

DevilSquid – René

[GLOBAL: userInfoPane.html]
DevilSquid – René
  • Contributor

  • 157 posts
  • Corona SDK

I get this error again. is this an error on Corona's side?
using version 2017.3184 and XCode 9.2

 

EDIT:

Ah sorry, my problem is not Appodeal related.



[TOPIC: post.html]
#7

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,743 posts
  • Corona Staff

@devilsquid, are you getting an Undefined symbol error or are you specifically getting the "___isOSVersionAtLeast"" error?

 

Rob



[TOPIC: post.html]
#8

DevilSquid – René

[GLOBAL: userInfoPane.html]
DevilSquid – René
  • Contributor

  • 157 posts
  • Corona SDK

I think it is the first one, and it was related to StarCrunch's impack plugin. When I deactivate that plugin compiling is ok.

Do you still need this exact info? Then I will do a test with impack again.



[TOPIC: post.html]
#9

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,743 posts
  • Corona Staff

If you feel you have found the source, now I don't.

 

But others are reporting the same error, but I just want to make sure when you say "I'm having the same error", that you mean you're having the very specific  "___isOSVersionAtLeast" string in the error message or  you're saying you're having the "Undefined symbols for architecture armv7:" message but the text after the colon is different. This means you're getting a different error, not the same error.

 

Rob




[topic_controls]
[/topic_controls]