I am trying to get Denshion working and need AVFoundation in my project (as the demo is setup). Something I noticed though, if I copy AVFoundation from the demo project to mine it copies AVFoundation.framework only for Simulator 2.2. If I compile for anything else Device or other version my app crashes on run. The demo project doesn't crash on device or other versions. Any ideas?
AVFoundation explicit to version?
(3 posts) (1 voice)-
Posted 2 years ago #
-
some info here: http://forums.macrumors.com/showthread.php?t=731970
I tried adding the framework through target/getingo/general/addframework instead of just dragging from the demo project. Both do the same thing and include the framework from simulator 2.2 directory. Why isn't xcode getting the correct version of avfoundation depending on your the version you are building for? It does for other frameworks just fine.
If you search for AVFoundation you will find one for sim 2.2, 2.21, 3.0 and device 2.2, 2.21, and 3.0.
Posted 2 years ago # -
Ok, dumb me. When I first dragged avfoundation from the demo project to mine I copied it to the project folder, so the compiler would always grab the exact version I had there. I removed it from the project folder and then added it via target/getinfo/general/+
works great now.
Posted 2 years ago #
Reply
You must log in to post.