我正在尝试使用clang交叉编译为64位armv8.我的铿锵版信息如下.
$ clang --version
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
Run Code Online (Sandbox Code Playgroud)
以下工作
clang -arch armv7
clang -arch arm64
Run Code Online (Sandbox Code Playgroud)
但是我还没有找到如何构建armv8 64位,或者即使它被支持.
如果它受支持,我该如何构建呢?如果不支持,clang中最好的近似值是什么?
谢谢!达蒙
从 Android 开发者网站https://developer.android.com/distribute/best-practices/develop/64-bit可以清楚地看出,从 2019 年 8 月 1 日开始,Google Play 上发布的应用程序将需要支持 64 位架构。
我们当前的应用程序具有armeabi-v7a、arm64-v8a、x86 ABI 的本机库,但没有x86-64。这是因为我们使用的 cordova 插件之一不提供 X86-64 支持。
考虑到有arm64-v8a支持,Playstore会拒绝应用程序更新还是通过它,或者我们将不得不放弃对x86的支持以保持合规性?
我正在制作一款我想要兼容所有旧设备的游戏,只要它们都在iOS4.0或更高版本上运行.我确实有一些特定于iOS5的功能.
现在在构建时我应该同时使用armv6以及armv7架构,还是我可以单独使用armv?我正在使用xcode 4.2
对此的任何解释都将非常感激.虽然我知道如何使它与旧设备兼容,但我需要澄清何时需要armv7.
提前致谢.
我有分配仪器的快照和有趣符号的地址:

我想知道,这个地址在代码中.我有相应的dSYM文件.我试图使用atosym命令行工具,但它给了我错误的符号(与我的应用程序无关).
怎么弄?
PS:二进制文件是由XCode 4.3.2构建的,代码语言是C++,armv7架构,发布构建配置.
试图更新我们的iOS6和iPhone 5应用程序,我们(目前)仍然无法完全摆脱Facebook Three20库.
在iPhone和iPad的模拟器中进行调试时,一切都运行得很好.尝试在iPhone 5上进行调试时,我们会遇到以下故障:
ld: warning: ignoring file ..../Build/Products/Debug-iphoneos/libThree20.a, file was built for archive which is not the architecture being linked (armv7s): ..../Build/Products/Debug-iphoneos/libThree20.a
Run Code Online (Sandbox Code Playgroud)
其次是:
Undefined symbols for architecture armv7s:
"_OBJC_CLASS_$_TTTabItem", referenced from:
Run Code Online (Sandbox Code Playgroud)
有没有办法为我的目标重新链接/重建Three20库,以确保它正确构建armv7并在iPhone 5上正常工作以进行调试?
我已经尝试搞乱了Projects的构建设置等,但是没有成功解决这个问题.
谢谢!
我正在做一个项目,一切顺利,直到我决定清理我的项目.
仅当我在模拟器上运行我的应用程序时才会出现以下错误(在真实设备上正常运行):
Libtool /Users/Yaman/Library/Developer/Xcode/DerivedData/Homeless-gujyzhsiwenufvedlinbbtrizcpd/Build/Products/Debug-iphonesimulator/libShareKit.a normal i386
cd "/Users/Yaman/Documents/iOS - App à vendre/Homeless/Submodules/ShareKit"
setenv IPHONEOS_DEPLOYMENT_TARGET 4.0
setenv 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/libtool -static -arch_only i386 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk -L/Users/Yaman/Library/Developer/Xcode/DerivedData/Homeless-gujyzhsiwenufvedlinbbtrizcpd/Build/Products/Debug-iphonesimulator -filelist "/Users/Yaman/Library/Developer/Xcode/DerivedData/Homeless-gujyzhsiwenufvedlinbbtrizcpd/Build/Intermediates/ShareKit.build/Debug-iphonesimulator/Static Library.build/Objects-normal/i386/ShareKit.LinkFileList" -ObjC -all_load -lCopy -lDelicious -lDiigo -lEmail "-lEvernote SDK" -lEvernote -lFacebook "-lFlickr SDK" -lFlickr -lFoursquareV2 "-lGoogle Reader" -lInstagram -lInstapaper -lJSONKit -lKippt -lLinkedIn -lLogout -lOAuth "-lOpen in Safari" -lPinboard -lPrint -lReachability "-lRead It Later" "-lSave to Album" -lShareKitCore "-lSina Weibo" -lSSKeyChain "-lText Message" -lTumblr -lTwitter -lVKontakte -o /Users/Yaman/Library/Developer/Xcode/DerivedData/Homeless-gujyzhsiwenufvedlinbbtrizcpd/Build/Products/Debug-iphonesimulator/libShareKit.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: -dynamic not specified, -all_load invalid …Run Code Online (Sandbox Code Playgroud) 嗨我正在尝试在我的应用程序中创建路由映射我得到了一些类文件来实现路由映射,所以我导入到我的项目后导入此问题显示这样的错误.
Undefined symbols for architecture armv7:
"_uregex_end", referenced from:
_rkl_performRegexOp in RegexKitLite.o
_rkl_search in RegexKitLite.o
_rkl_findRanges in RegexKitLite.o
"_uregex_appendReplacement", referenced from:
_rkl_replaceAll in RegexKitLite.o
"_uregex_groupCount", referenced from:
_rkl_getCachedRegex in RegexKitLite.o
"_uregex_appendTail", referenced from:
_rkl_replaceAll in RegexKitLite.o
"_u_strlen", referenced from:
_rkl_userInfoDictionary in RegexKitLite.o
"_uregex_reset", referenced from:
_rkl_replaceAll in RegexKitLite.o
"_uregex_close", referenced from:
_rkl_clearCacheSlotRegex in RegexKitLite.o
"_u_errorName", referenced from:
_rkl_NSExceptionForRegex in RegexKitLite.o
_rkl_userInfoDictionary in RegexKitLite.o
"_uregex_findNext", referenced from:
_rkl_search in RegexKitLite.o
_rkl_replaceAll in RegexKitLite.o
"_uregex_setText", referenced from:
_rkl_clearCacheSlotSetTo in RegexKitLite.o
_rkl_setCacheSlotToString in …Run Code Online (Sandbox Code Playgroud) 我在iOS 8项目中使用zBar库,我得到了这些编译器警告:
Undefined symbols for architecture armv7:
"_iconv", referenced from:
_qr_code_data_list_extract_text in libzbar.a(qrdectxt.o)
"_iconv_open", referenced from:
_qr_code_data_list_extract_text in libzbar.a(qrdectxt.o)
"_iconv_close", referenced from:
_qr_code_data_list_extract_text in libzbar.a(qrdectxt.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)
我遵循这个建议将框架按顺序排列,这就是我导入它们的方式:

我假设库libzbar.a是为armv6处理器创建的,因为我用armv7瞄准iOS 8,它会发生冲突.有没有办法在不改变我的项目架构目标的情况下解决这个问题?
当我在iPhone或模拟器上运行项目时,它可以正常运行。
当我尝试在ipad上运行它时,出现以下错误:
该文件是为arm64构建的,不是链接的体系结构(armv7)
设置为通用的设备。有人对我还要检查的东西有想法吗?
我的目标和项目构建设置都被设置为arm64 armv7 armv7s作为有效架构。
当我存档并上传构建时,iTunes Connect将其分类为仅arm64。在“支持的体系结构”下,iTunes Connect仅显示arm64。这样一来,我的应用就无法用于旧设备(iPhone 5,iPad 2,iPad Mini 1等)
有人遇到过吗?我在Xcode设置中支持armv7,但是该归档中未包含该支持。