On 3/3/16 12:00 PM, Britt Durbrow wrote: Britt; thanks for the quick reply.
I deleted everything from the folder that I did not create, then stripped them from the project. This allowed the 10.5 version to find the right plist. I then did a copy on the build target, which I renamed, then changed the results to 64 bit and the program also built the second target.
On the 10.10 machine I copied the working project folder. It took a bit of fiddling to get Xcode 7.1 to find the right settings. Once I did it built and ran. I fixed the bug. The 64 bit version is much faster. These files can be 100s of megabytes in size, They open much faster now.
As for the naming of the NSDocument subclass. I pretty much rely on online tutorials. Not sure what ARC is.
The project is open source (and open hardware) it has been around for over a decade on some obscure websites that deal with converting paper piano rolls to playable music (MIDI) I suppose I should upload it to my github account. (sheepdoll) I mostly have some quicklook (coverflow) plugins there as well as some embedded stuff. The hardware side of things is on iammp.org and mmdigest.comGallery/Tech under "USB Controller for CIS Optical Roll Reader" It is sort of an early Arduino (AVR 8bit) but with a parallel FIFO rather than a serial one. Currently I use a different OS to read the data to a SD card. Then do the postscript stuff under X11. It has been like hitting a moving target, to get all of this to work under OSX. I literally wasted years as some of the code was written as far back as OS7 (remember Quicktime MIDI architecture?)
-julie
But to answer your question… I’ve had all sorts of odd issues with migrating Xcode projects forwards over the years; so the first thing I would do is extract your source code files (including any xib/nib or other resource files) and rebuild the project, starting from a blank Cocoa Application template in Xcode. Remove any default-generated files like MyDocument.m, etc. Then, add back your source files and do a compile. Fix any warnings or errors; especially 64-bit warnings. Also, if you aren’t doing it already, don’t name your NSDocument subclass MyDocument - it will just lead to confusion should the Xcode template’s version somehow get included along with your code (which is my guess as to what is going on here). Oh, and was there a conversion to ARC involved? Is this an open-source project; or otherwise is there some way we could get a look at the project folder? Not having it in front of me makes troubleshooting it kinda hard… :-)
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com