Actually, when I open any iOS app created in Xcode 7.1 that was made using the 
Unique build setting, and set the build location to Legacy, all the project's 
files can't be found.  All the file path references within Xcode get a 
duplicate folder path of the project's name, simply by switching from Unique to 
Legacy.

Here's a simplified example of the actual file path of a file within the 
project:
/Users/zav/Developer/My-App copy/My-App/Utility Classes/Dictionary To 
XML/zavatone login 002.xml

Here's what Xcode 7.1 changes the file path to after I start Xcode, set the 
build location to Legacy and open up the project:
/Users/zav/Developer/My-App copy/My-App/My-App/Utility Classes/Dictionary To 
XML/zavatone login 002.xml

Notice the duplication of the folder, My-App/ once the build location is set to 
Legacy?

It also appears that the localizable files have moved their base folder's 
location.

Can someone explain what changes in the project's file paths when changing the 
build location from Unique to Legacy  or a valid strategy to minimize the pain 
in managing this?

I have two large projects, one of which must be built in legacy and has 4 .a 
files that I have to use and another large project that was created under the 
Unique build location.  

Setting the build location to legacy completely breaks the file paths in that 
project too.

Can someone tell me what Xcode is doing here?  Must the project be open at the 
time the build location preference is changed to prevent this?

Thanks.

Alex Zavatone



On Feb 24, 2016, at 3:01 PM, Alex Zavatone wrote:

> By any chance does setting the build location from Unique to legacy change 
> the structure of where Xcode thinks a newly created iOS project's base folder 
> is?
> 
> I have to use some super old code in an iOS project that is not using ARC and 
> it requires the legacy build location to build.  
> 
> I just created a little sample file to drop in to it and realized that I 
> needed to set the build location to legacy to get the olden code to run.
> 
> Now, I opened up my tiny project and all the localizable files (storyboards, 
> XIBs) can't be found.  Xcode is expecting them to be in a Base.lproj folder.
> 
> All I need to know is, "is this what is expected to happen?"
> 
> I have several new projects that I need to test within the non ARC project 
> that required legacy settings and I simply need to know what to expect so I 
> can change what I need to.
> 
> Thanks in advance.
> 
> - Alex Zavatone
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (Xcode-users@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/xcode-users/zav%40mac.com
> 
> This email sent to z...@mac.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to