CIDetector does not detect on iPhone 5s when not compiled for arm64
| Originator: | jack | ||
| Number: | rdar://15201069 | Date Originated: | Oct. 10, 2013 |
| Status: | Open | Resolved: | |
| Product: | Product Version: | ||
| Classification: | Reproducible: | Always |
Summary:
CIDetector works when compiled for arm64 but not otherwise.
Only reproducible on iPhone 5s
Steps to Reproduce:
1. Create a project with CIDetector functionality
2. Set the "Architectures" Build Setting to "Standard Architectures (armv7,armv7s)
3. Run the app on the iPhone 5s
Expected Results:
The CIDetector should work properly and detect faces in a photo
Actual Results:
The CIDetector retruns nil and outputs the following to log:
FaceCore: Throwing runtime error exception: dlopen(/System/Library/PrivateFrameworks/FaceCore.framework/fcl-fc-3.dat, 2): no suitable image found. Did find:
/System/Library/PrivateFrameworks/FaceCore.framework/fcl-fc-3.dat: mach-o, but wrong architecture
2013-10-10 16:52:23.561 FaceLiftV2 Pro[829:1603] Face detection finding face error: Error Domain=FCRFaceDetectorErrorDomain Code=2 "dlopen(/System/Library/PrivateFrameworks/FaceCore.framework/fcl-fc-3.dat, 2): no suitable image found. Did find:
/System/Library/PrivateFrameworks/FaceCore.framework/fcl-fc-3.dat: mach-o, but wrong architecture" UserInfo=0x14ef13b0 {NSLocalizedDescription=dlopen(/System/Library/PrivateFrameworks/FaceCore.framework/fcl-fc-3.dat, 2): no suitable image found. Did find:
/System/Library/PrivateFrameworks/FaceCore.framework/fcl-fc-3.dat: mach-o, but wrong architecture}
Version:
iOS 7.0.1
Notes:
Configuration:
iPhone 5S (arm64 architecture)
Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!