Fix the resource loading when the resources are in the application itself and not in the framework bundle. Changed the build to build all architectures.
Merging with Framework branch