Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 17, 2007, 01:09 PM   #1
ATG
macrumors regular
 
Join Date: Aug 2005
Executable Rename

I just changed the name of my executable (Cocoa, Xcode 2.x) and was horror struck when the finder said: "This application is damaged or corrupted" (or something along those lines) when I tried to open it.

What the **** just happened and how do I fix this?!?!?

EDIT: Just fixed it. Looks like Xcode forgot to actually rename the executable . I mean, what's the point of having a field for executable name if it doesn't rename the file when you change it?
ATG is offline   0 Reply With Quote
Old Jan 17, 2007, 04:38 PM   #2
Sayer
macrumors 6502a
 
Sayer's Avatar
 
Join Date: Jan 2002
Location: Austin, TX
You have to build a fresh copy of the App when you make changes like that. Just typing in stuff doesn't actually change anything on disk in the actual application, until you build a fresh copy.

At least this isn't Project Builder times, when it would simply refuse to build a fresh binary even though obvious changes requiring a recompile to object files were made.
__________________
Obama is a true statesman whose experience as a state senator, half-term US Senator & guest lecturer in a Constitutional Law class has fully prepared him to take control of our nuclear arsenal.-Me
Sayer is offline   0 Reply With Quote
Old Jan 21, 2007, 07:45 AM   #3
ATG
Thread Starter
macrumors regular
 
Join Date: Aug 2005
Sorry for the late reply.

I did do a fresh build - twice. I even deleted everything in the build folder to make sure it wasn't caching anything.
ATG is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Unix Executable File purpleinnej Mac Applications and Mac App Store 3 Aug 16, 2013 06:50 AM
Creating a project with two or more executable mehdies Mac Programming 2 Apr 13, 2013 12:32 AM
Verifying whether a .sh text file is executable alec6542 Mac Basics and Help 2 Mar 17, 2013 06:02 PM
Saving a cocoa application to like an executable. RookieAppler Mac Programming 16 Feb 11, 2013 11:02 AM
General: Opening the executable in an IPA StevenMeyer Jailbreaks and iOS Hacks 1 Oct 9, 2012 11:40 AM

Forum Jump

All times are GMT -5. The time now is 12:09 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC