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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.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 12-09-2008, 06:13 PM   #1 (permalink)
Registered Member
 
tawpie's Avatar
 
Join Date: Jul 2008
Posts: 347
Default oops, I renamed and then deleted Info.plist

yup. I was having "difficulties" with my bundle id, so I renamed the Info.plist file to something else, then later deleted the renamed version and put in a new Info.plist file. Interestingly, I get the following warning on build:

Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'.

Does anyone know what to do to address this warning?

TIA
tawpie is offline   Reply With Quote
Old 12-16-2008, 12:57 PM   #2 (permalink)
Registered Member
 
tawpie's Avatar
 
Join Date: Jul 2008
Posts: 347
Default SOLUTION!

As relayed to me on another board, this works!!!

1) Select your project's info.plist file (whatever its name), get info on it. This pops up the info window. Click on the Targets tab, and uncheck the box (in cas it's checked)

2) In XCode's outline panel (on the left), click on the small arrow next to your target. You should see the Copy Resource Bundle folder in grey. Browse it and delete any reference to both your old and new info.plist file if present.

And remember, next time you add an info.plist file to your project's resources, make sure you don't link it to the target (so that it won't be copied to the Copy Resource Bundle).
tawpie is offline   Reply With Quote
Old 10-13-2009, 12:02 PM   #3 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 8
Default

Quote:
Originally Posted by tawpie View Post
As relayed to me on another board, this works!!!

1) Select your project's info.plist file (whatever its name), get info on it. This pops up the info window. Click on the Targets tab, and uncheck the box (in cas it's checked)

2) In XCode's outline panel (on the left), click on the small arrow next to your target. You should see the Copy Resource Bundle folder in grey. Browse it and delete any reference to both your old and new info.plist file if present.

And remember, next time you add an info.plist file to your project's resources, make sure you don't link it to the target (so that it won't be copied to the Copy Resource Bundle).

Thanks for your suggestion,it works well now.:-)
uuguigui is offline   Reply With Quote
Old 04-20-2011, 06:08 PM   #4 (permalink)
Mohammad Kalim
 
Join Date: Mar 2010
Location: Karachi, Pakistan
Posts: 36
Default

@tawpie

thanks its great .. !! and its really helpfull .. i got the same error and get the solution really helpfull
__________________
AppzVenture

Intel Core i5 Macbook Pro, iPhone/iPad Application Development at AppzVenture
mk_fastian is offline   Reply With Quote
Old 07-27-2011, 09:44 AM   #5 (permalink)
Registered Member
 
Join Date: May 2010
Posts: 1
Thumbs up Thanks!

It's just a warning, but your post help me to solve it!
pitibalrog is offline   Reply With Quote
Old 08-10-2011, 07:25 AM   #6 (permalink)
Registered Member
 
Join Date: Sep 2009
Location: St. Louis, MO, USA
Posts: 32
Default Thanks again

You post helped me also.
FYI, for XCode 4:
Select your Target, then Build Phases. You will see the extra plist file under 'Copy Bundle Resources'. Just do a search to plist and remove it.

Thanks.
__________________
Check out my Apps
iphonedever is offline   Reply With Quote
Reply

Bookmarks

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: 863
20 members and 843 guests
ajaysharma, aziz, carpi, chiataytuday, cuonglak, dalenads28, DJFrail, fiftysixty, harsha_0409, ilmman, Ishika Verma, klbaiju, leahov, Morgan72, provalminsk, Shubhank, snackbox, suksmo, Vineesh, viperfan91
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,296
Threads: 89,032
Posts: 379,810
Top Poster: BrianSlick (7,086)
Welcome to our newest member, dalenads28
Powered by vBadvanced CMPS v3.1.0

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