Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 13    Views: 79

Nelson
Aspiring developer
Profile
Posts: 57
Reg: Jun 06, 2013
Viseu
2,220
08/17/15 04:34 AM (8 years ago)

xcode error SW_locationmenu could not read data

I'm having this error in xcode: " error: could not read data from '/Users/macbook/Desktop/teste-iOS-BTv3.0/build/teste.build/Debug-iphoneos/teste.build/c_cell-PartialInfo.plist': The file “SW_locationmenu_cell-PartialInfo.plist” couldn’t be opened because there is no such file. " when I open for the first time in xcode it does not give me any error. I change the SW_locationmenu_cell.xib SW_locationmenu.xib and folders before starting the xcode. but still I have no errors. Usually the error appears when closing the xcode and open it again. can you help me
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
08/17/15 07:56 AM (8 years ago)
If you have a 'test' target in your xcode package, you may want to remove that. There are some reasonable instructions here: http://stackoverflow.com/questions/26324163/xcode-how-to-delete-target-in-xcode-6-1 Cheers! -- Smug
 
Nelson
Aspiring developer
Profile
Posts: 57
Reg: Jun 06, 2013
Viseu
2,220
like
08/17/15 11:10 AM (8 years ago)
I remove the 'test' target in xcode, but now I can not Build or run the aplication.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
08/17/15 11:07 PM (8 years ago)
hmm... that's odd. removing the test target shouldn't have that kind of effect on the project as a whole... If I've caused you to mess your project up, I apologize. But you might be better off with a fresh download, and see if the problem is isolated, or if it follows you to the new project. Let me know; we'll figure it out somehow... Cheers! -- Smug
 
Nelson
Aspiring developer
Profile
Posts: 57
Reg: Jun 06, 2013
Viseu
2,220
like
08/18/15 05:28 PM (8 years ago)
Today is working normally. I think it was because I had the previous version of the plugin. After upgrading I had no more problems. I had version 1.6 and now I'm working with 1.8.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
08/18/15 05:46 PM (8 years ago)
Ah. That could help, lol! Glad it's working for you. If you have issues, don't be shy. :) Cheers! -- Smug
 
Nelson
Aspiring developer
Profile
Posts: 57
Reg: Jun 06, 2013
Viseu
2,220
like
08/31/15 02:20 AM (8 years ago)
Hello Smug, the problem came back again. And I was not working in this plugin.I had the project in xcode more than five days. but only now happened the error. This is a diferent app. do you have any idea what might be causing the problem? error: could not read data from '/Users/macbook/Desktop/municipio-iOS-BTv3.0/build/municipio.build/Debug-iphoneos/municipio.build/SW_locationmenu-PartialInfo.plist': The file “SW_locationmenu-PartialInfo.plist” couldn’t be opened because there is no such file.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
08/31/15 03:13 AM (8 years ago)
Open your project, and select each xib file in the plugin. Don't do any editing, just open the xib file, and wait a second or two. Then clean your project, and try a rebuild. Let me know if that helps or not. Cheers! -- Smug
 
Nelson
Aspiring developer
Profile
Posts: 57
Reg: Jun 06, 2013
Viseu
2,220
like
08/31/15 05:56 AM (8 years ago)
I tried but it did work. I will import again from BT and this time I will not change the SW_locationmenu_cell.xib SW_locationmenu.xib and folders before starting the xcode. May be that is the problem.
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
08/31/15 08:25 AM (8 years ago)
I have some mysterious plist errors too. Red error when trying to build. Try this: 1. Close project without quitting Xcode 2. In menu 'Window', select 'Projects' 3. You'll see a window with the derived data of all your projects 4. Use the button 'Delete' corresponding to the derived data of your project 5. Quit Xcode 6. Restart Xcode and load your project 7. Build I have to do this every time I clean a project. Don't ask me why! Cheers Jack
 
Nelson
Aspiring developer
Profile
Posts: 57
Reg: Jun 06, 2013
Viseu
2,220
like
08/31/15 01:29 PM (8 years ago)
I did what Smug and Jack said to do. Now it is working well and the error disappeared. Thank you both. I was beginning to pluck hairs from my head...
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
08/31/15 02:58 PM (8 years ago)
Great!
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
08/31/15 03:05 PM (8 years ago)
(Maybe some Xcode bug... I hadn't this issue before Xcode 6.4. In the previous versions, cleaning the project was enough to fix things most of the times. As Bob Dylan said long ago... The times, they are a-changing...)
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
08/31/15 03:22 PM (8 years ago)
hmm... I thought cleaning the project deleted the derived data. Good to know. Thanks Jack! You always have my back :) Cheers! -- Smug
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.