I have a helper that needs to end up in /Contents/Resources configured in the Debug build as:
Deployment Location: YES Installation Build Products Location: / Installation Directory: /$(CONFIGURATION_BUILD_DIR)/MyApp.app/Contents/Resources This results in an alias being created at the root level of the build folder that points to the /Resources folder in the built app but when it runs in the debugger, [[NSBundle mainBundle] bundlePath] uses a path within the alias and not the real location of the app. It is as if Xcode is launching the alias and not the real app (even though the alias points to the real app). To make it work I have to do: Deployment Location: NO Per-Configuration Build Products Path: /$(CONFIGURATION_BUILD_DIR)/MyApp.app/Contents/Resources This builds the product in place without an alias in the root build directory and the NSBundle call resolves to the correct place. It seems that XCode 6 requires the latter method while Xcode 4 and maybe 5 worked with the former style. Can someone please explain what has happened here? _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
