• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: migrating from 32bit to 64 bit can not run project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: migrating from 32bit to 64 bit can not run project


  • Subject: Re: migrating from 32bit to 64 bit can not run project
  • From: Britt Durbrow <email@hidden>
  • Date: Fri, 04 Mar 2016 01:13:26 -0800

>
> As for the naming of the NSDocument subclass.  I pretty much rely on online tutorials.  Not sure what ARC is.
>

Why, it’s’ the answer to the American Dream! It’s the Greatest Thing Since Sliced Bread! It’s the Solution To All Your Retain-Release Nightmares! It’s….

Automatic Reference Counting!

And, um, seriously… you gotta’ check it out! There’s lots of documentation on developer.apple.com <http://developer.apple.com/> about it, but I’d start here:

https://developer.apple.com/videos/play/wwdc2011/323/ <https://developer.apple.com/videos/play/wwdc2011/323/>




> 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
>

Er… you mean System 7, running on a 8Mhz 68000, with 1MB of RAM? Yes, I do… somewhere around here in a closet I’ve got an original 128K Mac, with a Levco MonsterMac 2MB upgrade in it (IIRC, they desoldered the 68000, stuck it on a daughter card, and stuck that card back in-between the CPU and logic board, and fitted a hacked ROM to make it work - it was kinda’ cute, as they modified the boot sequence to show two fangs on the smiling mac icon), and an SE with 8MB in it (IIRC, I haven’t fired the SE up in a while… probably ought to, though…). I’ve also had my hands on just about every other Mac ever made… even if I didn’t actually own it myself (friends, work, etc).

Anyway… if you post a link to your updated code, I’ll check it out.

For anybody else interested (and google’s spiders) — direct links:

http://iammp.org/designfiles.php
http://www.mmdigest.com/Gallery/Tech/index.html




>>
>>
>> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


References: 
 >Re: migrating from 32bit to 64 bit can not run project (From: Julie Porter <email@hidden>)

  • Prev by Date: Re: migrating from 32bit to 64 bit can not run project
  • Next by Date: Customizing a UISwitch?
  • Previous by thread: Re: migrating from 32bit to 64 bit can not run project
  • Next by thread: How to implement NSWindowRestoration protocol in Swift
  • Index(es):
    • Date
    • Thread