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

sdkIQ for iPhone
($4.99)

Your First iPhone App
($1.99)

iPhone Code Generator
($9.99)

Dual Matches
($0.99)

Calcuccino Programmers' Calculator
($2.99)

SDKtoday
(free)

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, 05:13 PM   #1 (permalink)
Registered Member
 
tawpie's Avatar
 
Join Date: Jul 2008
Posts: 328
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, 11:57 AM   #2 (permalink)
Registered Member
 
tawpie's Avatar
 
Join Date: Jul 2008
Posts: 328
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, 11:02 AM   #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
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
» Stats
Members: 41,862
Threads: 49,770
Posts: 213,057
Top Poster: BrianSlick (3,139)
Welcome to our newest member, futurevilla216
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:03 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0