Can't load OpenCV framework.
-
I thought I'd try to see what I could do with
objc_util
andopencv2.framework
. I downloadedopencv2.framework
, and tried to run this code in the same directory:from objc_util import * OpenCV = ObjCClass('NSBundle').bundleWithPath_('opencv2.framework') print OpenCV.isLoaded() OpenCV.load() print OpenCV.isLoaded()
It prints
False False
Is this because of the code-signing issues people were talking about last summer? (I think August? I remember being on vacation in California
:)
)
-
You won't be able to load any libraries signed with a different Team ID to Pythonista, asides Apple-signed code. The sandbox / AppleMobileFileIntegrity will deny it. You're stuck with system frameworks & libraries.
-
@stroughtonsmith thanks.