Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-25-2011, 12:37 AM   #1 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 67
Ajaxx is on a distinguished road
Default Anyone know how to rename an app with Core Data?

Hi,
I have an app with Core Data that is getting to a point where i can see the finish line. I did renamed the app via "Project -> Rename" and by that lost the connection to the .xcdatamodel, it seems.

The .xcdatamodel and the delegate did not change name.

I have been testing a lot but cannot find the actual connection so i can run with the new name. I have checked all kind of things but cannot get it to work. I have also been trying to google but to no avail. I have also asked for help here, with code example: iphone - Problem with Core Data, after a rename of the app? - Stack Overflow but no solution.

I did rename the app back to the original and then it worked again so i assume it is some sort of connection to the name itself.

Anyone that have any idea how to make this work?
Ajaxx is offline   Reply With Quote
Old 01-25-2011, 01:18 AM   #2 (permalink)
Reading the Documentation
 
baja_yu's Avatar
 
Join Date: Sep 2010
Location: 45.255019,19.844908
Posts: 5,414
baja_yu has a spectacular aura about
Default

I open the project folder via muCommander, then go through all the files one by one, editing (F4) them and doing a find&replace to swat the old name for the new. Really a pain in the behind.
baja_yu is offline   Reply With Quote
Old 01-26-2011, 01:29 PM   #3 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 67
Ajaxx is on a distinguished road
Default

May i ask what the difference is vs. do a normal rename?
Ajaxx is offline   Reply With Quote
Old 01-26-2011, 01:34 PM   #4 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 79
xqtr is on a distinguished road
Default

Quote:
Originally Posted by Ajaxx View Post
May i ask what the difference is vs. do a normal rename?
Have you deleted the Build-map and the Applications/xxx-map and cleaned all targets?
xqtr is offline   Reply With Quote
Reply

Bookmarks

Tags
core data

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 364
12 members and 352 guests
7twenty7, Clouds, dre, EvilElf, iAppDeveloper, jeroenkeij, Mah6447, Morrisone, sacha1996, Sami Gh, stanny, toon4413
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,667
Threads: 94,121
Posts: 402,899
Top Poster: BrianSlick (7,990)
Welcome to our newest member, host number one
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:43 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0