CoreVideo dependency on Metal breaks armv7 builds
| Originator: | derkjan | ||
| Number: | rdar://18498494 | Date Originated: | 30-09-2014 |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 12A365 |
| Classification: | Reproducible: | Always |
COREVIDEO_SUPPORTS_METAL is defined only as #if TARGET_OS_IPHONE (which is not enough, since armv7/s devices do not support Metal). Steps to Reproduce: 1. The build target is a real device and not the Simulator. 2. The linker flags include the “-ObjC” flag (this one is set by default in CocoaPods). 3. The code was compiled with SDK 8.0, and used by an app compiled for an earlier SDK (using XCode < 6.0). All information about this is in: http://www.appsee.com/blog/dev/xcode-new-link-frameworks-automatically-fix-framework-not-found-metal-for-architecture-armv7 https://github.com/card-io/card.io-iOS-SDK/issues/66 https://github.com/CocoaPods/CocoaPods/issues/2457 Expected Results: working app Actual Results: ld: framework not found Metal for architecture armv7
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!