Tag: armv7

通过地址获取符号(符号化二进制,iOS构build)

我有一个有趣的符号地址分配仪器的快照: 我想知道,这个地址在代码中。 我有相应的dSYM文件。 我试图使用atosym命令行工具,但它给了我错误的符号(不涉及我的应用程序)。 如何得到它? PS:二进制文件是由XCode 4.3.2构build的,代码语言是C ++,armv7架构,发布构buildconfiguration。

导入RNCryptor后,架构armv7的未定义符号

我导入RNCryptor,可以在这里find: https : //github.com/rnapier/RNCryptor到我的应用程序。 不过,我在日志中收到了三个错误。 Undefined symbols for architecture armv7: "_SecRandomCopyBytes", referenced from: +[RNCryptor randomDataOfLength:] in RNCryptor.o "_kSecRandomDefault", referenced from: +[RNCryptor randomDataOfLength:] in RNCryptor.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) 我看到,这通常是导入的类不包含在目标中,但我已经检查了构build阶段,所有导入的类都在那里。 我不知道是什么原因造成的,我没有触及任何这些类的代码。 我也清理了几次目标。

支持armv6和armv7在同一个IPA

我有一个像这样configuration的XCode项目: 项目格式:XCode 3.1兼容 体系结构:标准(armv6 armv7) 基础SDK:最新的iOS(目前设置为iOS 4.2) 仅构build主动架构:未经检查 有效的架构:armv6 armv7 我的问题:产生的二进制文件(.ipa)中是否有2个可执行文件 – 每个架构都有一个可执行文件,或者每个体系结构只有一些不同的目标文件,还是更细粒度的分割? 只是好奇。 谢谢。

架构armv7的iOS转换跟踪链接器错误

我正在尝试将iOS版Google转化跟踪function添加到我的iPhone应用中。 该应用程序的基础SDK是iOS6该应用程序的有效架构是armv7,armv7s该应用程序的iOS部署目标是4.3我使用最新的xcode 4.5.2和OSX 10.8.2 该应用程序在appstore中,并适用于iPhone 3-4-5 当我尝试为此iOS链接添加Google转化跟踪时: https : //developers.google.com/mobile-ads-sdk/docs/admob/conversion-tracking 我有这个错误: Undefined symbols for architecture armv7: "_OBJC_CLASS_$_ASIdentifierManager", referenced from: objc-class-ref in libGoogleConversionTracking.a(PingUtil.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

苹果Mach-O链接器错误armv7s&libGoogleAdMobAds.a

我刚刚升级了我的应用程序在新的iPhone5模拟器上运行,但是当我尝试为我的iPhone 4S设备构build它时,出现Apple Mach-O Liner错误。 ld:文件是通用的(3片),但不包含(n)armv7s片:/ Users / Darren / Documents / Dev stuff /我的应用/ GoogleAdMobAdsSDKiOS-5.0.5 / libGoogleAdMobAds.a架构armv7s clang:error:linker命令失败,退出代码1(使用-v查看调用) 有人可以解释一下这个错误,以及如何解决它? 我在AdMob中使用adWhirl。 谢谢 编辑—我也得到这个文件libfacebook_ios_sdk.a的另一个项目中的错误

ld:在iOS 4.3上复制符号_objc_retainedObject,但不在iOS 5.0上

一些背景 – 我使用Diney的指南在http://db-in.com/blog/2011/07/universal-framework-iphone-ios-2-0/上构build了一个自定义框架 它为armv6 / armv7构build,它是一个基于ARC的框架,编译4.3的解构目标。 当我把结果框架在一个5.0项目,它的工作很好,但是当我把它放在一个4.3项目(ARC或非弧,没有关系),我得到以下,我不明白… 我也尝试手动添加libarclite.a,但它并没有改变任何东西。 ld:在/Users/freak4pc/Project/MyFramework.framework/MyFramework和/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/arc/libarclite_iphoneos.a(arclite.o)中复制符号_objc_retainedObject用于架构armv7 Command / Developer /Platforms/iPhoneOS.platform/Developer/usr/bin/clang失败,退出代码1 希望对此有帮助。 谢谢 夏嘉曦

MobileVLCKit在编译时失败

我正在尝试在我的应用程序中使用iOS的MobileVLCKit。 我遵循了为iOS构build框架的步骤。 我在Xcode 5中设置了部署到iOS 7的目标。 我用命令./buildMobileVLCKit.sh -f -l来编译shell文件来获得一个iOS框架。 我的terminal应用程序出现以下错误。 The following build commands failed: Libtool build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/libMobileVLCKit.a normal armv7 Libtool build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7s/libMobileVLCKit.a normal armv7s CreateUniversalBinary build/Release-iphoneos/libMobileVLCKit.a normal armv7\ armv7s 我尝试了谷歌的所有方式,但没有奏效。 试了一整天后,我提出了这个问题。 如果你以前使用过这个,请帮忙。

CommonCrypto不是为armv7 iOS开发的

我最近刚刚升级到新的XCode。 升级后,我的一些应用程序将不会生成。 我得到这个错误: ld: cannot link directly with /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/lib/system/libcommonCrypto.dylib. Link against the umbrella framework 'System.framework' instead. for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) 我已经尝试了一切 – 清洁,重新导入,更换架构… 请帮忙

Xcode 5和phonegap:构build设备上的链接器错误,但不适用于模拟器

我们的phonegap应用程序适用于iPhone模拟器,但在iPhone上构build应用程序时会产生链接器错误。 唯一改变的是安装testflight和一个testing应用程序。 我们已经删除了testflight和testing应用程序,但链接器错误依然存在。 有想法该怎么解决这个吗? 我们在Xcode 5和手机3.4。 错误: ld: warning: ignoring file /Users/c/Library/Developer/Xcode/DerivedData/s-fhgxmhdprdjvwahdbgwuagoragit/Build/Products/Debug-iphoneos/libCordova.a, file was built for archive which is not the architecture being linked (arm64): /Users/c/Library/Developer/Xcode/DerivedData/s-fhgxmhdprdjvwahdbgwuagoragit/Build/Products/Debug-iphoneos/libCordova.a Undefined symbols for architecture arm64: "_OBJC_CLASS_$_CDVWebViewDelegate", referenced from: objc-class-ref in CDVInAppBrowser.o "_OBJC_METACLASS_$_CDVViewController", referenced from: _OBJC_METACLASS_$_MainViewController in MainViewController.o "_OBJC_CLASS_$_CDVPlugin", referenced from: _OBJC_CLASS_$_CDVDevice in CDVDevice.o _OBJC_CLASS_$_CDVConnection in CDVConnection.o _OBJC_CLASS_$_LowLatencyAudio in LowLatencyAudio.o […]

我应该何时应用armv7s支持?

今天,当我尝试提交我的应用程序(更新)到appstore,组织者告诉我: “iPhone / iPod Touch:应用程序可执行文件包含不受支持的体系结构:armv7s” 我清楚地记得,它的最后一个版本是同时提交了armv7和armv7s,但现在主办方改变了主意? 删除armv7s标志很简单,但我的应用程序是通用的,将armv7s删除的应用程序运行在所有的iOS设备(例如iPhone 5)? 什么时候应该用aremv7s构build? 谢谢。 编辑:这里xcode版本是第一个4.5,然后我尝试4.5.1