I'm tracing a failure in MarsEdit on Mountain Lion back to funny behavior with iMedia's IMBObjectsPromise class and the _URLsByObject dictionary it uses to cache file URLs.
It seems that on ML something is causing the setting of the URL values to fail intermittently. I have confirmed that it has something to do with the fact that IMBObject is being used as the key. If I change the key to something like a string, then the values always set correctly.
Anyway, I'll be looking into this until I figure out what's wrong. Please let me know if you happen to already know, to save me the effort!
Daniel
Daniel
we are currently investigating how to get the iMedia framework sandboxed. We have identified several hurdles that can be worked around with XPC services and temporary entitlements. Since these entitlements are TEMPORARY we will eventually require a more permanent solution from Apple. I have filed several bugs at Apple and posted the contents on OpenRadar as well:
rdar://10962342 Versioned Sandbox Compliance
rdar://10962334 Accessing Media Files & Sandboxing
rdar://10962325 Scanning Folders for Media Files & Sandboxing
rdar://10962318 Accessing Media Databases & Sandboxing
rdar://10962312 Reading Foreign Preferences & Sandboxing
The first is pretty much a duplicate of what Daniel has already proposed. The others are iMedia specific. PLEASE FILE DUPLICATES of these bug reports as well. The more duplicates we get, the sooner Apple will listen to our needs! Also, in case of an app store rejection, having bug reports will helps us to explain why we need temporary exceptions for now. If I forgot anything important, please let me know.
Cheers,
Peter