What if Batman was a summon in a Final Fantasy game?
TIL that even if you don’t remember spending $200 on a totally bad ass stylish Mega Man Jacket, you spent $200 on a totally bad ass stylish Mega Man Jacket.
iOS Frameworks, Workspaces, and Xcode 6
I’ve been doing a lot of work with iOS frameworks lately and since there isn’t a lot of info out there I’ll be sharing a few helpful bits as I come across them.
First up is more of a minor inconvenience than a real problem. If you’re trying to embed a framework from another project into an app target in a workspace and nothing happens, you may need to manually build the framework for device first. Since Xcode adds the framework to the project structure, I’m assuming it fails because the framework doesn’t technically exist on disk yet, but I think what should happen is the framework should be added but be highlighted red. Once they’ve been added, if you do a clean they’ll turn red and you should be all set.
Also, by default the framework that is added to your project is usually added with an absolute path or with a path relative to group, so unless you want it to only run on your machine, make sure you remember to change it to “Relative to Build Products”.
Finally, make sure your iOS framework has Build Active Architecture Only set to NO. Otherwise, it seems like the framework will only build for device, even when you’re running on the simulator.