Xcode/SDL_image.xcodeproj/project.pbxproj
changeset 671 9149932d931e
parent 615 923efa629d1c
child 683 f1baffa48926
equal deleted inserted replaced
670:26aea6d5f710 671:9149932d931e
   399 			buildActionMask = 2147483647;
   399 			buildActionMask = 2147483647;
   400 			files = (
   400 			files = (
   401 			);
   401 			);
   402 			runOnlyForDeploymentPostprocessing = 0;
   402 			runOnlyForDeploymentPostprocessing = 0;
   403 			shellPath = /bin/sh;
   403 			shellPath = /bin/sh;
   404 			shellScript = "PRODUCT_NAME=SDL2_image\n\n# Sign framework\nif [ \"$SDL_CODESIGN_IDENTITY\" != \"\" ]; then\n    codesign --force --deep --sign \"$SDL_CODESIGN_IDENTITY\" $TARGET_BUILD_DIR/$PRODUCT_NAME.framework/Versions/A\nfi\n\n# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\nxcrun CpMac -r $TARGET_BUILD_DIR/$PRODUCT_NAME.framework build/dmg-tmp/\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nrm -rf build/dmg-tmp/.DS_Store\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname $PRODUCT_NAME -srcfolder build/dmg-tmp build/$PRODUCT_NAME.dmg\n\n# clean up\nrm -rf build/dmg-tmp";
   404 			shellScript = "PRODUCT_NAME=SDL2_image\n\n# Sign framework\nif [ \"$SDL_CODESIGN_IDENTITY\" != \"\" ]; then\n    codesign --force --deep --sign \"$SDL_CODESIGN_IDENTITY\" $TARGET_BUILD_DIR/$PRODUCT_NAME.framework/Versions/A || exit $?\nfi\n\n# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\ncp -r $TARGET_BUILD_DIR/$PRODUCT_NAME.framework build/dmg-tmp/\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nrm -rf build/dmg-tmp/.DS_Store\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname $PRODUCT_NAME -srcfolder build/dmg-tmp build/$PRODUCT_NAME.dmg\n\n# clean up\nrm -rf build/dmg-tmp\n";
   405 		};
   405 		};
   406 /* End PBXShellScriptBuildPhase section */
   406 /* End PBXShellScriptBuildPhase section */
   407 
   407 
   408 /* Begin PBXSourcesBuildPhase section */
   408 /* Begin PBXSourcesBuildPhase section */
   409 		BE1FA71C07AF4C44004B6283 /* Sources */ = {
   409 		BE1FA71C07AF4C44004B6283 /* Sources */ = {