New topic: Strange Error
<http://forums.realsoftware.com/viewtopic.php?t=29741> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message DaveS Post subject: Strange ErrorPosted: Tue Aug 25, 2009 10:52 pm Joined: Sun Aug 05, 2007 10:46 am Posts: 1473 Location: San Diego, CA Just for the heck of it .... I ran CONSOLE.APP while I executed my application in the RB IDE And this message popped up [with my App as the Sender] NSDocumentController Info.plist warning : The values of CFBundleTypeRole entries must be 'Editor','Viewer','None' or 'Shell' My app has no code that explicitly reads or write a Plist file.... But that error pops out about a 3 or 4 times while the app is initializing.... and does not seem to cause a problem. However, I like "clean" executions..... Doe anyone know WHAT this is???? Messages appear running from the IDE or as a compiled app _________________ Dave Sisemore MacPro, RB2008r3.1 Top ZULU Post subject: Re: Strange ErrorPosted: Tue Aug 25, 2009 11:29 pm Joined: Mon Jul 31, 2006 1:44 am Posts: 1005 Add something like this to your application plist file: <key>CFBundleTypeRole</key> <string>Editor</string> - Google the Apple pages for more info - Here is something : http://developer.apple.com/documentatio ... uments.pdf _________________ ------------------------------------ Top DaveS Post subject: Re: Strange ErrorPosted: Wed Aug 26, 2009 12:41 am Joined: Sun Aug 05, 2007 10:46 am Posts: 1473 Location: San Diego, CA please read the message again. NSDocumentController Info.plist warning : The values of CFBundleTypeRole entries must be 'Editor','Viewer','None' or 'Shell' INFO.PLIST is internal to the application, and as an RB Developer I should never even know of its existence. The contents of that file should be 100% completely under the control of the RB Compiler. And under no circumstances should I have to muck with file internal to a compiled bundle after the fact. If I were an XCode Developer then the contents of the document you linked to would be appropriate, but again, the NSxxx objects should and are encapsulated within the scope of the RB Compiler. Also... IF this pertains to my APPLICATION Plist, where in the RB documentation does it indicate that such a Plist is required, and that it must be built and maintained manually and apart from the RB project file itself? The only thing in my code that is remotely Plist oriented is the Bundle ID that the User Guide "reccomends" you include. _________________ Dave Sisemore MacPro, RB2008r3.1 Top ZULU Post subject: Re: Strange ErrorPosted: Wed Aug 26, 2009 1:38 am Joined: Mon Jul 31, 2006 1:44 am Posts: 1005 I apologize, I noticed you was "running" in the IDE. So if there is some others that have the same issue in an compiled app, then follow my advice, or just don't do it. _________________ ------------------------------------ Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
