This repository has been archived by the owner on Oct 27, 2019. It is now read-only.
forked from kineme/QCPatchXcodeTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes kineme#3 Add (optional) support for ARC
After creating a new SkankySDK project, use the **Refactor > Convert to Objective-C ARC…** command to convert your project to ARC.
- Loading branch information
1 parent
c531100
commit 137fb42
Showing
3 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
#!/bin/sh | ||
|
||
cp -R sdk/Project\ Templates /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File\ Templates | ||
cp -R sdk/File\ Templates /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/Project\ Templates | ||
mkdir -p /Library/Frameworks/SkankySDK.framework | ||
cd "$(dirname "$0")" # Allows this script to be run from any directory | ||
|
||
./uninstall.sh | ||
|
||
cp -R "sdk/Project Templates/Kineme SkankySDK" "/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/Project Templates" | ||
cp -R "sdk/File Templates/Kineme SkankySDK" "/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates" | ||
|
||
mkdir -p /Library/Frameworks/SkankySDK.framework/Headers | ||
cp -R include /Library/Frameworks/SkankySDK.framework/Headers | ||
cp -R resource /Library/Frameworks/SkankySDK.framework/Resources | ||
|
||
mkdir -p "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/SkankySDK.framework" | ||
cp -R include "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/SkankySDK.framework/Headers" | ||
cp -R include "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/SkankySDK.framework/Resources" | ||
|
||
mkdir -p "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/SkankySDK.framework" | ||
cp -R include "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/SkankySDK.framework/Headers" | ||
cp -R include "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/SkankySDK.framework/Resources" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters