草庐IT

EXPORT_SYMBOL_GPL

全部标签

iphone - 架构 armv6 的 undefined symbol ,更新到 iOS 4.3

我正在使用新的xcode4将应用程序从iOS4.2升级到4.3。除了将iOS设置为4.3之外,没有做任何更改,我创建了权利并开始了!我收到的消息是:Undefinedsymbolsforarchitecturearmv6:"function",referencedfrom:我尝试清理项目,重新安装xcode。我还卸载了xcode4演示版。我还尝试设置为优化的armv7。我很乐意得到一些帮助,我被卡住了。真的。非常感谢! 最佳答案 以下是我遇到这个问题的原因:我从另一个项目添加了一个.h、.m和NIB,方法是将它们拖到我的项目导航器上

swift - `swift test` 产生 "symbol(s) not found for architecture x86_64"链接器错误

我目前正在尝试将对Swift包管理器的支持添加到side-projectI'vebeenworkingon在尝试运行我为该项目进行的单元测试时遇到了麻烦。在XCode中运行它们时,我可以毫无问题地构建和运行我的所有单元测试;但是,当我尝试使用swifttest通过包管理器运行测试时,出现以下链接器错误:ld:symbol(s)notfoundforarchitecturex86_64:0:error:linkcommandfailedwithexitcode1(use-vtoseeinvocation) 最佳答案 我结束了figur

ios - 如何调试 iOS 框架 dyld "lazy symbol binding failed"崩溃

我正在OSX10.11.6上使用Xcode8.2.1为iOS10.2构建iPad应用程序,当我尝试调用使用由Carthage构建的特定依赖项的代码时,应用程序崩溃并且似乎表明框架二进制文件不在内存中,如预期的那样:dyld:lazysymbolbindingfailed:Symbolnotfound:__TFC12ObjectMapper6MapperCfT7contextGSqPS_10MapContext___GS0_x_Referencedfrom:/Users/me/Library/Developer/CoreSimulator/Devices//data/Containers

ios - ld : 1 duplicate symbol for architecture arm64

我正在尝试将ZaiusiOSSDK集成到我的应用中。因此,当我添加SDK并尝试运行时,出现以下错误。duplicatesymbol_kReachabilityChangedNotificationin:/Users/mp/Library/Developer/Xcode/DerivedData/Hubble-dgvyhoahvstjstejqrwunfpqzokr/Build/Products/Debug-iphoneos/HubbleIosFramework.framework/HubbleIosFramework(ZReachability.o)/Users/mp/Library/D

ios - RxTest:体系结构 x86_64 和 arm64 的 undefined symbol

我正在尝试运行第16章中的以下测试:使用RxTest测试ofRaywenderlichRxSwift书:importXCTestimportRxSwiftimportRxTest@testableimportTestingclassTestingViewModel:XCTestCase{varviewModel:ViewModel!varscheduler:ConcurrentDispatchQueueScheduler!overridefuncsetUp(){super.setUp()viewModel=ViewModel()scheduler=ConcurrentDispatchQ

macos - Swift: undefined symbol :iTunesApplication

我现在正在尝试创建SwiftOSX应用程序,但发现使用ScriptingBridge有困难。我包含了正确的iTunes.h文件,当我将“iTunesApplication”写为类型时,Xcode没有给出任何错误。但是,当我编译(运行)应用程序时,它给我错误:(有人知道这个问题吗?Undefinedsymbolsforarchitecturex86_64:"_OBJC_CLASS_$_iTunesApplication",referencedfrom:__TFC12LoveYouChloe11AppDelegate10showWindowfS0_FPSs9AnyObject_T_inAp

ios - Xcode 6 Beta 5 swift Playground : Cannot find symbol for CGRectMake()

自从更新到Xcode6beta5后,我的Playground代码将不再编译/运行和记录:Playgroundexecutionfailed:error:Couldn'tlookupsymbols:_CGRectMake它应该足够简单并且在以前的版本上运行良好。到目前为止,我唯一运行的代码如下:importFoundationimportUIKitimportXCPlaygroundimportQuartzCoreletframeRect:CGRect=CGRectMake(0,0,500,500)varcustomView=UIView(frame:frameRect)只是想知道是否有

ios - 架构 armv7 (WebRTC) 的 undefined symbol

目前,我正在Xcode6beta7上使用Swift为iPad(iOS7)构建WebRTC应用程序。我不断收到这些错误。我添加了错误的库吗?它找不到它们吗?这是它打印的错误:Undefinedsymbolsforarchitecturearmv7:"std::string::_Rep::_S_empty_rep_storage",referencedfrom:+[RTCMediaConstraintsconstraintsFromArray:]inlibjingle_peerconnection_objc.a(RTCMediaConstraints.o)std::vector>::_M_

ios7 - 迪尔德 : Symbol not found: _OBJC_CLASS_$_NSHTTPURLResponse

我使用Xcode6Beta2编写了一个Swift应用程序,它使用CFNetwork类(例如NSURLRequest和NSHTTPURLResponse)进行一些网络连接。该应用程序在iOS8上运行良好,但是,当我尝试在iOS7设备或运行iOS7的模拟器中运行它时,启动该应用程序时出现以下错误:dyld:Symbolnotfound:_OBJC_CLASS_$_NSHTTPURLResponseReferencedfrom:/Users/patrick/Library/Developer/CoreSimulator/Devices/B0A61F43-A67C-4803-8F5D-77C3

ios - 架构 arm64 的 Xcode 9 GM undefined symbol

在Xcode9的GM版本中,我遇到了一些编译时错误,因为undefinedsymbolsforarchitecturearm64,即AVFoundationwith:AVCapturePhotoOutput().supportedFlashModesAVCapturePhotoSettings().availablePreviewPhotoPixelFormatTypes在这两种情况下,使用他们的“未记录”__supportedFlashModes/__availablePreviewPhotoPixelFormatTypes构建都很好。有人在其他框架中遇到过同样的问题吗?APIdoe