Don't install the static library, search for the framework in the application bundle Frameworks directory.
authorSam Lantinga <slouken@libsdl.org>
Sun, 28 Oct 2012 13:32:43 -0700
changeset 596640c6012848b
parent 595 a351a8754651
child 598 131d1de92d4d
Don't install the static library, search for the framework in the application bundle Frameworks directory.
Xcode/SDL_mixer.xcodeproj/project.pbxproj
     1.1 --- a/Xcode/SDL_mixer.xcodeproj/project.pbxproj	Sat Oct 20 12:31:15 2012 -0700
     1.2 +++ b/Xcode/SDL_mixer.xcodeproj/project.pbxproj	Sun Oct 28 13:32:43 2012 -0700
     1.3 @@ -219,8 +219,8 @@
     1.4  		B2A42D0F03FAC6A400A8000A /* load_ogg.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = load_ogg.h; path = ../load_ogg.h; sourceTree = SOURCE_ROOT; };
     1.5  		BE1FA8AE07AF95F7004B6283 /* SDL2.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL2.framework; path = /Library/Frameworks/SDL2.framework; sourceTree = "<absolute>"; };
     1.6  		BE1FA90507AF96B2004B6283 /* Info-Framework__Upgraded_.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info-Framework__Upgraded_.plist"; sourceTree = "<group>"; };
     1.7 -		BE1FA90607AF96B2004B6283 /* SDL_mixer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = SDL_mixer.framework; path = SDL2_mixer.framework; sourceTree = BUILT_PRODUCTS_DIR; };
     1.8 -		BE1FA95407AF96B2004B6283 /* libSDL_mixer.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libSDL_mixer.a; path = libSDL2_mixer.a; sourceTree = BUILT_PRODUCTS_DIR; };
     1.9 +		BE1FA90607AF96B2004B6283 /* SDL2_mixer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SDL2_mixer.framework; sourceTree = BUILT_PRODUCTS_DIR; };
    1.10 +		BE1FA95407AF96B2004B6283 /* libSDL2_mixer.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL2_mixer.a; sourceTree = BUILT_PRODUCTS_DIR; };
    1.11  		BE1FA95807AF96B3004B6283 /* Create DMG */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "Create DMG"; sourceTree = BUILT_PRODUCTS_DIR; };
    1.12  		F51BFB0101F724BE01D3D55B /* native_midi.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = native_midi.h; sourceTree = "<group>"; };
    1.13  		F567D63B01CD881401F3E8B9 /* effect_position.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = effect_position.c; path = ../effect_position.c; sourceTree = SOURCE_ROOT; };
    1.14 @@ -272,8 +272,8 @@
    1.15  			isa = PBXGroup;
    1.16  			children = (
    1.17  				089C1665FE841158C02AAC07 /* Resources */,
    1.18 -				BE1FA90607AF96B2004B6283 /* SDL_mixer.framework */,
    1.19 -				BE1FA95407AF96B2004B6283 /* libSDL_mixer.a */,
    1.20 +				BE1FA90607AF96B2004B6283 /* SDL2_mixer.framework */,
    1.21 +				BE1FA95407AF96B2004B6283 /* libSDL2_mixer.a */,
    1.22  				BE1FA95807AF96B3004B6283 /* Create DMG */,
    1.23  			);
    1.24  			name = Products;
    1.25 @@ -513,7 +513,7 @@
    1.26  			name = Framework;
    1.27  			productInstallPath = "@executable_path/../Frameworks";
    1.28  			productName = SDL_mixer;
    1.29 -			productReference = BE1FA90607AF96B2004B6283 /* SDL_mixer.framework */;
    1.30 +			productReference = BE1FA90607AF96B2004B6283 /* SDL2_mixer.framework */;
    1.31  			productType = "com.apple.product-type.framework";
    1.32  		};
    1.33  		BE1FA90707AF96B2004B6283 /* Static Library */ = {
    1.34 @@ -532,7 +532,7 @@
    1.35  			name = "Static Library";
    1.36  			productInstallPath = /usr/local/lib;
    1.37  			productName = "Static Library";
    1.38 -			productReference = BE1FA95407AF96B2004B6283 /* libSDL_mixer.a */;
    1.39 +			productReference = BE1FA95407AF96B2004B6283 /* libSDL2_mixer.a */;
    1.40  			productType = "com.apple.product-type.library.static";
    1.41  		};
    1.42  		BE1FA95507AF96B2004B6283 /* Create DMG */ = {
    1.43 @@ -740,7 +740,7 @@
    1.44  				DYLIB_COMPATIBILITY_VERSION = 1;
    1.45  				DYLIB_CURRENT_VERSION = 13;
    1.46  				INFOPLIST_FILE = "Info-Framework__Upgraded_.plist";
    1.47 -				INSTALL_PATH = "@rpath";
    1.48 +				INSTALL_PATH = "@executable_path/../Frameworks";
    1.49  				LD_RUNPATH_SEARCH_PATHS = "@loader_path/Frameworks";
    1.50  				OTHER_LDFLAGS = (
    1.51  					"-framework",
    1.52 @@ -760,7 +760,7 @@
    1.53  				DYLIB_COMPATIBILITY_VERSION = 1;
    1.54  				DYLIB_CURRENT_VERSION = 13;
    1.55  				INFOPLIST_FILE = "Info-Framework__Upgraded_.plist";
    1.56 -				INSTALL_PATH = "@rpath";
    1.57 +				INSTALL_PATH = "@executable_path/../Frameworks";
    1.58  				LD_RUNPATH_SEARCH_PATHS = "@loader_path/Frameworks";
    1.59  				OTHER_LDFLAGS = (
    1.60  					"-framework",
    1.61 @@ -781,6 +781,7 @@
    1.62  				OTHER_LIBTOOL_FLAGS = "";
    1.63  				OTHER_REZFLAGS = "";
    1.64  				REZ_EXECUTABLE = YES;
    1.65 +				SKIP_INSTALL = YES;
    1.66  			};
    1.67  			name = Release;
    1.68  		};
    1.69 @@ -792,6 +793,7 @@
    1.70  				OTHER_LIBTOOL_FLAGS = "";
    1.71  				OTHER_REZFLAGS = "";
    1.72  				REZ_EXECUTABLE = YES;
    1.73 +				SKIP_INSTALL = YES;
    1.74  			};
    1.75  			name = Debug;
    1.76  		};