Skip to content

Instantly share code, notes, and snippets.

@laiso
Created November 25, 2011 08:00
Show Gist options
  • Save laiso/1393026 to your computer and use it in GitHub Desktop.
Save laiso/1393026 to your computer and use it in GitHub Desktop.
Titanium Mobile SDK 1.7.5のiOS ビルドでDefault.png をコピーできなくてxcodebuild がコケる場合のパッチ
diff --git a/Titanium/mobilesdk/osx/1.7.5/iphone/builder.py b/Titanium/mobilesdk/osx/1.7.5/iphone/builder.py
index f1476f3..37cf938 100755
--- a/builder.py
+++ b/builder.py
@@ -1086,7 +1086,7 @@ def main(args):
if not os.path.exists(defaultpng_path):
defaultpng_path = os.path.join(project_dir,'Resources','Default.png')
if os.path.exists(defaultpng_path):
- shutil.copy(defaultpng_path,app_dir)
+ shutil.copy(defaultpng_path,iphone_resources_dir)
extra_args = None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment