gpt4 book ai didi

ios - Applovin - 架构 armv7 的 undefined symbol

转载 作者:行者123 更新时间:2023-11-29 12:54:42 24 4
gpt4 key购买 nike

我已将 Applovin 集成到我的 Unity 项目中。然后我将我的项目导出到 iOS 并尝试构建它。我最终遇到了以下错误。

Ld /Users/macintoshuser/Library/Developer/Xcode/DerivedData/Unity-iPhone-ejrmcaclygycsecppqwiuptnzhsa/Build/Products/test.app/test normal armv7
cd /Users/macintoshuser/Documents/Freelance/WorldWarII_iOS
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
setenv PATH "/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode 2.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode\ 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode\ 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -L/Users/macintoshuser/Library/Developer/Xcode/DerivedData/Unity-iPhone-ejrmcaclygycsecppqwiuptnzhsa/Build/Products -L/Users/macintoshuser/Documents/WWII -L/Users/macintoshuser/Documents/WWII/Libraries -F/Users/macintoshuser/Library/Developer/Xcode/DerivedData/Unity-iPhone-ejrmcaclygycsecppqwiuptnzhsa/Build/Products -filelist /Users/macintoshuser/Library/Developer/Xcode/DerivedData/Unity-iPhone-ejrmcaclygycsecppqwiuptnzhsa/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/test.LinkFileList -dead_strip -weak_framework CoreMotion -weak-lSystem -stdlib=libstdc++ -fobjc-link-runtime -miphoneos-version-min=4.3 -framework UIKit -framework SystemConfiguration -framework StoreKit -framework MediaPlayer -framework CoreGraphics -framework CoreTelephony -framework AdSupport -framework Foundation -framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2 -lAppLovinSdk -lChartboost -liPhone-lib -framework AudioToolbox -framework CFNetwork -framework CoreLocation -weak_framework iAd -framework CoreMedia -framework CoreVideo -weak_framework AVFoundation -weak_framework CoreMotion -weak_framework GameKit -Xlinker -dependency_info -Xlinker /Users/macintoshuser/Library/Developer/Xcode/DerivedData/Unity-iPhone-ejrmcaclygycsecppqwiuptnzhsa/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/test_dependency_info.dat -o /Users/macintoshuser/Library/Developer/Xcode/DerivedData/Unity-iPhone-ejrmcaclygycsecppqwiuptnzhsa/Build/Products/test.app/test

Undefined symbols for architecture armv7:
"__AppLovinSetMaritalStatus", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinSetLanguage", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinSetKeywords", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinSetInterests", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinSetIncome", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinSetVerboseLoggingOn", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinSetGender", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinHasPreloadedInterstitial", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinSetCountry", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinSetAdWidth", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinSetEducation", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinSetCarrier", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinPutExtra", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinPreloadInterstitial", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinInitializeSdk", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinSetBirthYear", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinShowAd", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinSetSdkKey", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinIsInterstitialShowing", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinSetEthnicity", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinSetAdPosition", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinShowInterstitial", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"__AppLovinHideAd", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我一直在尝试不同的解决方案来修复我的代码,但似乎都无济于事。任何建议将不胜感激。

最佳答案

我只是将现有架构更改为仅 armv6 并且它有效。 Applovin Unity Plugin 有旧的库,只支持 armv6 架构。

关于ios - Applovin - 架构 armv7 的 undefined symbol ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21447703/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com