0

Installing scripts in blender on MacOSX

Posted by admin on Aug 22, 2009 in Mac

Needed to edit a script for Blender to figure out why I can’t get it to export textures in the x3d format.  All the help on the web say to look for it in .blender/scripts but I couldn’t find such a folder on my machine.  It wasn’t in my home directory and it wasn’t in the blender folder.  This folder is actually located inside the blender.app package.  So, to edit these files or copy them you can’t use finder.  Open up a terminal and cp to where you installed Blender.  I installed it in “Applications” in a “blender” folder.  So,

cd /Application/blender/blender.app/Contents/MacOS/.blender/scripts

This is where you will find all the scripts for blender.

 
3

code sign error The identity doesn’t match any valid certificate

Posted by jason on Aug 22, 2009 in Objective-C, iPhone

I am currently going through some tutorials for the SIO2 game engine I am currently evaluating.  I was able to run the code just fine on my iPhone simulator.  When I went to deploy this tutorial to my iPhone device, I got a “Code Sign error: The identity ‘iPhone Developer: Romain Marucchi-Foino (VC824XU999)’ doesn’t match any valid certificate/private key pair in the default keychain”.

To fix this so I could deploy, I clicked “Project > Edit Project Settings”. I changed the Code Signing Identity to point to my cert.  I got the same error. I searched the file system to try and figure out where that string was coming from.  In Visual Studio, sometimes I have to edit the project file with a text editor to fix weird issues like that.  So, I opened up the *.xcodeproj file to see if I could find it there.  I use TextMate for my Ruby code so I fired it up to open that and it turns out that *.xcodeproj is not a file but a package or directory or whatever Mac fanboys call it.  Inside I found the project file and found the string.  I wanted to figure out how to fix this through the UI so I didn’t just change the text there.  I did notice though that the old cert was listed under a different profile.

So, back in the project properties, I selected “All Settings” in the configuration drop down and changed the cert once again to my cert and everything worked!

UPDATE: Well, It happened to me again but this time, changing the code signing cert didn’t help.  I had to go into the actual project file by right/command clicking on myproject.xcodeproj and selecting “Show Package Contents”.  Edit project.pbxproj with a text editor.  Search for: “CODE_SIGN_IDENTITY[sdk=iphoneos*]” = “iPhone Developer: Romain Marucchi-Foino (VC824XU999)”;  Replace all of these with your own identity.  for me it was: CODE_SIGN_IDENTITY = “iPhone Developer: Jason Rowland (2RK77WERHG)”;  Save the file, and go back to xcode.  It will prompt you to reload from disk and say yes.  Maybe another day I’ll figure out where the setting is in the GUI but now that I know I can change these things with a text editor, I probably never will :(

Copyright © 2010 programming with passion All rights reserved. Theme by Laptop Geek.