博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
"__BuglySetUserId", referenced from:---bugly 错误
阅读量:4599 次
发布时间:2019-06-09

本文共 3977 字,大约阅读时间需要 13 分钟。

Ld /Users/youyoulewan/Library/Developer/Xcode/DerivedData/Unity-iPhone-gzavjwcgmewityensvisnzxcabpn/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/Applications/hero.app/hero normal armv7
    cd "/Users/youyoulewan/Desktop/Unity XCode Project/Hero_iOS_20151224"
    export IPHONEOS_DEPLOYMENT_TARGET=5.1
    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++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk -L/Users/youyoulewan/Library/Developer/Xcode/DerivedData/Unity-iPhone-gzavjwcgmewityensvisnzxcabpn/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/BuildProductsPath -L/Users/youyoulewan/Desktop/Unity\ XCode\ Project/Hero_iOS_20151224 -L/Users/youyoulewan/Desktop/Unity\ XCode\ Project/Hero_iOS_20151224/Libraries -F/Users/youyoulewan/Library/Developer/Xcode/DerivedData/Unity-iPhone-gzavjwcgmewityensvisnzxcabpn/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/BuildProductsPath -F/Users/youyoulewan/Desktop/Unity\ XCode\ Project/Hero_iOS_20151224/../../../../Shared/Unity/client/Assets/Editor/XUPorter/Mods/Bugly -filelist /Users/youyoulewan/Library/Developer/Xcode/DerivedData/Unity-iPhone-gzavjwcgmewityensvisnzxcabpn/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/hero.LinkFileList -dead_strip -weak_framework CoreMotion -weak-lSystem -ObjC -stdlib=libstdc++ -fobjc-link-runtime -miphoneos-version-min=5.1 -lstdc++ -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2 -liPhone-lib -framework AudioToolbox -framework CFNetwork -framework MediaPlayer -framework CoreLocation -framework SystemConfiguration -weak_framework iAd -framework CoreMedia -framework CoreVideo -weak_framework AVFoundation -framework CoreGraphics -weak_framework CoreMotion -weak_framework GameKit -lz -lc++ -framework Security -framework Bugly -Xlinker -dependency_info -Xlinker /Users/youyoulewan/Library/Developer/Xcode/DerivedData/Unity-iPhone-gzavjwcgmewityensvisnzxcabpn/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/hero_dependency_info.dat -o /Users/youyoulewan/Library/Developer/Xcode/DerivedData/Unity-iPhone-gzavjwcgmewityensvisnzxcabpn/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/Applications/hero.app/hero
Undefined symbols for architecture armv7:
  "__BuglySetUserId", referenced from:
      RegisterMonoModules() in RegisterMonoModules.o
  "__BuglySetTag", referenced from:
      RegisterMonoModules() in RegisterMonoModules.o
  "__BuglySetExtraConfig", referenced from:
      RegisterMonoModules() in RegisterMonoModules.o
  "__BuglyReportException", referenced from:
      RegisterMonoModules() in RegisterMonoModules.o
  "__BuglyLogMessage", referenced from:
      RegisterMonoModules() in RegisterMonoModules.o
  "__BuglyInit", referenced from:
      RegisterMonoModules() in RegisterMonoModules.o
  "__BuglyDefaultConfig", referenced from:
      RegisterMonoModules() in RegisterMonoModules.o
  "__BuglySetKeyValue", referenced from:
      RegisterMonoModules() in RegisterMonoModules.o
  "__BuglyConfigCrashReporterType", 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)
 
 这个编译报错问题
是因为定义及实现C函数的静态库libBuglyBridge.a没有集成到Xcode工程导致。
如果楼主在Unity工程中手动集成iOS 静态库
请确保
Bugly.framework 和libBuglyBridge.a 都已成功集成,没有的话去下载个libBuglyBridge.a 导入
建议 楼主使用新版本的
Bugly Unity Plugin版本
采用XUPorter插件自动集成iOS SDK
 

转载于:https://www.cnblogs.com/hjjun/p/7060117.html

你可能感兴趣的文章
Linux-使用之vim编译安装出现的问题
查看>>
codevs 3314 魔法森林
查看>>
mac os x mysql 出现./mysql: unknown variable 'sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABL 问题...
查看>>
桐桐的贸易--WA
查看>>
历届试题 高僧斗法
查看>>
linux命令系列 stat & touch
查看>>
[Tools] Webstorm Github的配置与使用
查看>>
鬼谷子绝学
查看>>
Mongodb 笔记04 特殊索引和集合、聚合、应用程序设计
查看>>
使用Post/Redirect/Get实现Asp.net防止表单重复提交
查看>>
用Html5与Asp.net MVC上传多个文件
查看>>
lambda函数,常用函数,内置函数(string,zip()map()filter())的用法
查看>>
Xcode中匹配的配置包的存放目录
查看>>
JavaScript将具有父子关系的原始数据格式化成树形结构数据(id,pid)
查看>>
CSS3.0——背景属性
查看>>
超棒的CSS3动画页面过渡效果
查看>>
【转】性能测试、负载测试、压力测试的区别
查看>>
hdu5863_dp+矩阵快速幂
查看>>
运算符
查看>>
【转载】C语言中的undefined behavior/unspecified behavior - 序
查看>>