db:: 4.16::Re: ERROR: Ldap authentication failed for url ldap://isosup.iplanet.com:389/o=NetscapeRoot user id admin (151:Unknown error.) f8
Widget settings form goes herePages: 1/3
主题 : 模拟器运行没有问题,真机调试出现错误,Undefined symbols for architecture armv7:
级别: 新手上路
可可豆: 40 CB
威望: 40 点
在线时间: 40(时)
发自: Web Page
来源于&&分类
模拟器运行没有问题,真机调试出现错误,Undefined symbols for architecture armv7:&&&
真机调试出现如下错误 不知道什么原因
Ld &/Users/vblvbl/Library/Developer/Xcode/DerivedData/View_Switcher-bhdynrkvlomjbtgabtmyetmxgupe/Build/Products/Debug-iphoneos/View Switcher.app/View Switcher& normal armv7
&&&&cd /Users/vblvbl/Desktop/ems0524/client/trunk
&&&&setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
&&&&setenv PATH &/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin&
&&&&/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -L/Users/vblvbl/Library/Developer/Xcode/DerivedData/View_Switcher-bhdynrkvlomjbtgabtmyetmxgupe/Build/Products/Debug-iphoneos -L/Users/vblvbl/Desktop/ems0524/client/trunk/ZBarSDK -F/Users/vblvbl/Library/Developer/Xcode/DerivedData/View_Switcher-bhdynrkvlomjbtgabtmyetmxgupe/Build/Products/Debug-iphoneos -F/Users/vblvbl/Desktop/ems0524/client/trunk -filelist &/Users/vblvbl/Library/Developer/Xcode/DerivedData/View_Switcher-bhdynrkvlomjbtgabtmyetmxgupe/Build/Intermediates/View Switcher.build/Debug-iphoneos/View Switcher.build/Objects-normal/armv7/View Switcher.LinkFileList& -dead_strip -lxml2 -lxml2 -miphoneos-version-min=4.3 -lzbar -liconv -framework Security -lsqlite3.0 -lz.1.2.5 -framework MobileCoreServices -framework SystemConfiguration -framework CFNetwork -framework MapKit -framework CoreLocation -framework CoreGraphics -framework UIKit -framework Foundation -framework QuartzCore -o &/Users/vblvbl/Library/Developer/Xcode/DerivedData/View_Switcher-bhdynrkvlomjbtgabtmyetmxgupe/Build/Products/Debug-iphoneos/View Switcher.app/View Switcher&
ld: warning: ignoring file /Users/vblvbl/Desktop/ems0524/client/trunk/QuartzCore.framework/QuartzCore, file was built for unsupported file format which is not the architecture being linked (armv7)
Undefined symbols for architecture armv7:
&&&_CATransform3DScale&, referenced from:
&&&&&&-[ZBarReaderViewImpl observeValueForKeyPath:ofObject:change:context:] in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&_OBJC_CLASS_$_***CaptureDevice&, referenced from:
&&&&&&objc-class-ref in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&_CVPixelBufferGetHeight&, referenced from:
&&&&&&-[ZBarCVImage convertCVtoRGB] in libzbar.a(ZBarCVImage.o)
&&&_***CaptureSessionRuntimeErrorNotification&, referenced from:
&&&&&&-[ZBarReaderViewImpl initWithImageScanner:] in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&_OBJC_CLASS_$_CALayer&, referenced from:
&&&&&&objc-class-ref in YellowViewController.o
&&&&&&objc-class-ref in libzbar.a(ZBarReaderController.o)
&&&&&&objc-class-ref in libzbar.a(ZBarReaderView.o)
&&&_CVPixelBufferGetPlaneCount&, referenced from:
&&&&&&-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
&&&_kCVPixelBufferPixelFormatTypeKey&, referenced from:
&&&&&&-[ZBarCaptureReader initWithImageScanner:] in libzbar.a(ZBarCaptureReader.o)
&&&_***CaptureSessionErrorKey&, referenced from:
&&&&&&-[ZBarReaderViewImpl onVideoError:] in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&_CVPixelBufferRetain&, referenced from:
&&&&&&-[ZBarCVImage setPixelBuffer:] in libzbar.a(ZBarCVImage.o)
&&&_OBJC_CLASS_$_CATransaction&, referenced from:
&&&&&&objc-class-ref in libzbar.a(ZBarReaderController.o)
&&&&&&objc-class-ref in libzbar.a(ZBarReaderView.o)
&&&_OBJC_CLASS_$_CAAnimationGroup&, referenced from:
&&&&&&objc-class-ref in libzbar.a(ZBarReaderView.o)
&&&_CMSampleBufferIsValid&, referenced from:
&&&&&&-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
&&&_CVPixelBufferGetBytesPerRowOfPlane&, referenced from:
&&&&&&-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
&&&&&&-[ZBarCVImage convertCVtoRGB] in libzbar.a(ZBarCVImage.o)
&&&_OBJC_CLASS_$_***CaptureVideoPreviewLayer&, referenced from:
&&&&&&objc-class-ref in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&_***CaptureSessionWasInterruptedNotification&, referenced from:
&&&&&&-[ZBarReaderViewImpl initWithImageScanner:] in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&_***CaptureSessionDidStartRunningNotification&, referenced from:
&&&&&&-[ZBarReaderViewImpl initWithImageScanner:] in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&_CATransform3DMakeRotation&, referenced from:
&&&&&&-[StateView changeState:] in PullToRefreshTableView.o
&&&&&&-[ZBarReaderViewImpl initSubviews] in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&&&&-[ZBarReaderViewImpl observeValueForKeyPath:ofObject:change:context:] in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&_OBJC_CLASS_$_CAMediaTimingFunction&, referenced from:
&&&&&&objc-class-ref in libzbar.a(ZBarReaderController.o)
&&&&&&objc-class-ref in libzbar.a(ZBarReaderView.o)
&&&_CVPixelBufferGetHeightOfPlane&, referenced from:
&&&&&&-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
&&&_OBJC_CLASS_$_CABasicAnimation&, referenced from:
&&&&&&objc-class-ref in libzbar.a(ZBarReaderView.o)
&&&_kCAMediaTimingFunctionLinear&, referenced from:
&&&&&&-[ZBarReaderController updateBox:imageSize:] in libzbar.a(ZBarReaderController.o)
&&&&&&-[ZBarReaderView setZoom:] in libzbar.a(ZBarReaderView.o)
&&&&&&-[ZBarReaderView updateTracking:withSymbol:] in libzbar.a(ZBarReaderView.o)
&&&_CVPixelBufferGetWidth&, referenced from:
&&&&&&-[ZBarCVImage convertCVtoRGB] in libzbar.a(ZBarCVImage.o)
&&&_CMSampleBufferGetImageBuffer&, referenced from:
&&&&&&-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
&&&_CMSampleBufferGetNumSamples&, referenced from:
&&&&&&-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
&&&_***LayerVideoGravityResizeAspectFill&, referenced from:
&&&&&&-[ZBarReaderViewImpl initSubviews] in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&_OBJC_CLASS_$_***CaptureDeviceInput&, referenced from:
&&&&&&objc-class-ref in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&_OBJC_CLASS_$_CATextLayer&, referenced from:
&&&&&&objc-class-ref in YellowViewController.o
&&&_***CaptureSessionPreset640x480&, referenced from:
&&&&&&-[ZBarReaderViewImpl initWithImageScanner:] in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&_***CaptureSessionInterruptionEndedNotification&, referenced from:
&&&&&&-[ZBarReaderViewImpl initWithImageScanner:] in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&_CVPixelBufferRelease&, referenced from:
&&&&&&-[ZBarCVImage setPixelBuffer:] in libzbar.a(ZBarCVImage.o)
&&&_OBJC_CLASS_$_***CaptureVideoDataOutput&, referenced from:
&&&&&&objc-class-ref in libzbar.a(ZBarCaptureReader.o)
&&&_CVPixelBufferLockBaseAddress&, referenced from:
&&&&&&-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
&&&&&&-[ZBarCVImage convertCVtoRGB] in libzbar.a(ZBarCVImage.o)
&&&_kCAFillModeForwards&, referenced from:
&&&&&&-[ZBarReaderView updateTracking:withSymbol:] in libzbar.a(ZBarReaderView.o)
&&&_CMSampleBufferDataIsReady&, referenced from:
&&&&&&-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
&&&_OBJC_CLASS_$_***CaptureSession&, referenced from:
&&&&&&objc-class-ref in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&_CVPixelBufferGetBaseAddressOfPlane&, referenced from:
&&&&&&-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
&&&&&&-[ZBarCVImage convertCVtoRGB] in libzbar.a(ZBarCVImage.o)
&&&_CVPixelBufferUnlockBaseAddress&, referenced from:
&&&&&&-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
&&&&&&-[ZBarCVImage convertCVtoRGB] in libzbar.a(ZBarCVImage.o)
&&&_***CaptureSessionDidStopRunningNotification&, referenced from:
&&&&&&-[ZBarReaderViewImpl initWithImageScanner:] in libzbar.a(ZBarReaderViewImpl_Capture.o)
&&&_CVPixelBufferGetPixelFormatType&, referenced from:
&&&&&&-[ZBarCaptureReader captureOutput:didOutputSampleBuffer:fromConnection:] in libzbar.a(ZBarCaptureReader.o)
&&&_***MediaTypeVideo&, referenced from:
&&&&&&-[ZBarReaderViewImpl initWithImageScanner:] in libzbar.a(ZBarReaderViewImpl_Capture.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
级别: 圣骑士
UID: 107565
可可豆: 1565 CB
威望: 1616 点
在线时间: 459(时)
发自: Web Page
你肯定在哪搞得代码吧,&&缺少库
级别: 圣骑士
UID: 144596
可可豆: 660 CB
威望: 664 点
在线时间: 410(时)
发自: Web Page
我也出现过类似的问题,你把那个armv7改成armv6试试,不知道在哪的话,你得看看真机调试的教程了
级别: 侠客
可可豆: 525 CB
威望: 525 点
在线时间: 126(时)
发自: Web Page
呃,少了几个frameWork&&&&coreVideo,***Foundation......
级别: 骑士
可可豆: 1571 CB
威望: 1571 点
在线时间: 362(时)
发自: Web Page
回 3楼(梧桐) 的帖子
哎&&让我找了半天&&corevideo
级别: 新手上路
可可豆: 3 CB
威望: 3 点
在线时间: 7(时)
发自: Web Page
同样的问题
级别: 新手上路
可可豆: 102 CB
威望: 102 点
在线时间: 93(时)
发自: Web Page
回 3楼(梧桐) 的帖子
请问,怎么看出来是缺少coreVideo的呢?
级别: 侠客
UID: 65595
可可豆: 143 CB
威望: 441 点
在线时间: 180(时)
发自: Web Page
一般遇到这种问题,就是少了framework或者lib。还有就是模拟器不行,真机就行。偶尔改改armv X也行。
级别: 新手上路
UID: 160497
可可豆: 66 CB
威望: 64 点
在线时间: 25(时)
发自: Web Page
楼主 我也遇到了同样的问题啊 解决了吗 谢谢了
级别: 新手上路
可可豆: 117 CB
威望: 107 点
在线时间: 136(时)
发自: Web Page
谢谢3楼。但是还缺少两个, 还需要加 CoreMedia和coreVideo
Pages: 1/3
关注本帖(如果有新回复会站内信通知您)
发帖、回帖都会得到可观的积分奖励。
按"Ctrl+Enter"直接提交
关注CocoaChina
关注微信 每日推荐
扫一扫 关注CVP公众号
扫一扫 浏览移动版