Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Dynamic Libraries. Could it potentially Work?
-
After further testing I have been able to get it down to this
ERROR 3587 Failed to run preflight on the Framework: /private/var/mobile/Containers/Shared/AppGroup/877D6E00-D22C-4407-9A69-C27FA4B9356A/Documents/OpenCV/Frameworks/Realm.framework The bundle “Realm” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle. dlopen_preflight(/private/var/mobile/Containers/Shared/AppGroup/877D6E00-D22C-4407-9A69-C27FA4B9356A/Documents/OpenCV/Frameworks/Realm.framework/Realm): no suitable image found. Did find: /private/var/mobile/Containers/Shared/AppGroup/877D6E00-D22C-4407-9A69-C27FA4B9356A/Documents/OpenCV/Frameworks/Realm.framework/Realm: mmap() errno=1 validating first page of '/private/var/mobile/Containers/Shared/AppGroup/877D6E00-D22C-4407-9A69-C27FA4B9356A/Documents/OpenCV/Frameworks/Realm.framework/Realm' None
Which after doing a bit of research is related to code signing. So while it would be possible to have dynamically loaded libraries in iOS 8 and greater, they will only work if they have been code signed by @omz.
-
Huh. @omz might be able to provide code signed libraries without any bindings in the app, so people could use them. That'd be interesting. You could prevent app size increasing by using iOS 9's new feature that allows parts of the app to be downloaded as needed.
-
Cethric, did you sign the frameworks with your own developer key?
-
I did not sign that one. However I also tried with a blank Xcode iOS Cocoa Touch Framework which I did sign using the iPhone Developer key which Apple supply for free for any iOS 8 or greater application for development purposes. (It was introduced in the Xcode 7 beta) and I got the same result from it.
-
see https://forum.omz-software.com/topic/1984/realm-io-module
It is unclear to me whether this approach worked because it was signed with th same key used for pythonista
-
I am not quite sure what you mean?
@omz was able to use it as it was his key but I cannot because the keys are different. (Is what I think you mean by that...) -
He means he's unsure if it'd work for any developer key besides that of @omz
-
right, i am saying try the exact steps listed by omz, except use your key.
-
Following what @omz does exactly, fails for my returning
False
on load. -
This could be a great potential use case for In App Purchases in the future ;)