Post

Replies

Boosts

Views

Activity

Xcode debugger leaking copyNextSampleBuffer()
Hi, We have multiple segments of existing code that pulls images out of videos using copyNextSampleBuffer(). That code has been working great for several years now. We've wrapped copyNextSampleBuffer() inside an autorelease pool and memory is good. If we run this existing code in the latest Xcode 12.1/12.2 the debugger crashes within 30 seconds due to memory issues. Upon further inspection CVPixelbuffers are being retained for an unknown reason. Nothing with this code has changed in well over a year. But, if we create a release build and deploy. Everything works correctly and there are no memory issues. Any ideas?
0
0
392
Nov ’20
OpenCV signing issue
Hi, I've been using OpenCV for quite some time now. Submitting builds to App Store and Testflight. But recently, I can no longer do that. Maybe due to Xcode 12? The iOS app builds and runs correctly on device, but if I try uploading to App Store connect I get a whole range of errors. Literally nothing has changed inside the app. These errors have just randomly appeared. App Store Connect Operation Error ERROR ITMS-90035: "Invalid Signature. Code object is not signed at all. The file at path [Frameworks/opencv2.framework/opencv2] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult App Store Connect Operation Error ERROR ITMS-90081: "This bundle is invalid. Applications built for more than one architecture require an iOS Deployment Target of 3.0 or later." App Store Connect Operation Error ERROR ITMS-90087: "Unsupported Architectures. The executable for Frameworks/opencv2.framework contains unsupported architectures '[x86_64, i386]'." App Store Connect Operation Error ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'Frameworks/opencv2.framework/Versions/A/opencv2' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure." App Store Connect Operation Error ERROR ITMS-90360: "Missing Info.plist value. A value for the key 'MinimumOSVersion' in bundle Frameworks/opencv2.framework is required."
0
0
665
Oct ’20