CFBundleGetInfoString is deprecated

I am currently working on my first (possible) Mac App Store release.

And i am using App Wrapper from @Bob Keeney which says everything is fine so far except one thing:

Potential Issue: CFBundleGetInfoString is deprecated, use "Copyright" instead.

I think this one is related to my About Box which is created with the following code:

[code] Declare Function NSClassFromString Lib “Cocoa” (aClassName As CFStringRef) As Ptr
Declare Function SharedApplication Lib “Cocoa” Selector “sharedApplication” (receiver As Ptr) As Ptr

Dim sA As Ptr = NSClassFromString(“NSApplication”)
sA = SharedApplication(sA)

Declare Sub OrderFrontStandardAboutPanel Lib “Cocoa” Selector “orderFrontStandardAboutPanel:” _
(receiver As Ptr, iD As Ptr)

OrderFrontStandardAboutPanel(sA, Nil)[/code]

What do i have to add/remove to fix this possible issue, please?

App Wrapper comes from Sam Rowlands but …

CFBundleGetInfoString is one of the keys in the Plist. Should have nothing to do with your code.

Ooops! Sorry @Bob Keeney and @Sam Rowlands !!! :slight_smile:

And thank you @Norman Palardy

So, changing this via a BuildScript is needed i think. Correct?

Post Build - yes
I think you can correct this using App Wrapper

[quote=166412:@Sascha S]I am currently working on my first (possible) Mac App Store release.

And i am using App Wrapper from @Bob Keeney which says everything is fine so far except one thing:

Potential Issue: CFBundleGetInfoString is deprecated, use "Copyright" instead.

I think this one is related to my About Box which is created with the following code:

[code] Declare Function NSClassFromString Lib “Cocoa” (aClassName As CFStringRef) As Ptr
Declare Function SharedApplication Lib “Cocoa” Selector “sharedApplication” (receiver As Ptr) As Ptr

Dim sA As Ptr = NSClassFromString(“NSApplication”)
sA = SharedApplication(sA)

Declare Sub OrderFrontStandardAboutPanel Lib “Cocoa” Selector “orderFrontStandardAboutPanel:” _
(receiver As Ptr, iD As Ptr)

OrderFrontStandardAboutPanel(sA, Nil)[/code]

What do i have to add/remove to fix this possible issue, please?[/quote]

If it is only a warning, do not bother trying to fix it. Your app will go fine through the MAS review process.