Re: Very basic help, please
Re: Very basic help, please
- Subject: Re: Very basic help, please
- From: Shane Stanley <email@hidden>
- Date: Mon, 25 Jan 2016 22:16:07 +1100
On 25 Jan 2016, at 10:09 PM, Antonino Petriliggieri <email@hidden> wrote:
>
> So I opened Xcode and tried to make a new Cocoa-Applescript project, but before doing anything it shows an alert “Garbage collection is deprecated” and actually clicking it shows a build setting line with GCC_ENABLE_OBJC_GC = required.
>
> What I’m supposed to do? remove the line? remove the word “required"?
You can change it to "unsupported", but it would be preferable just to delete it.
>
> I removed the “required” and tried to Convert to ARC as suggested by the previous alert but it end with an error “No visible @interface for ‘NSBundle’ declares the selector ‘loadAppleScriptObjectiveCScripts’ that appears in main.m.
Your main.m should look like this:
#import <Cocoa/Cocoa.h>
#import <AppleScriptObjC/AppleScriptObjC.h>
int main(int argc, const char * argv[]) {
[[NSBundle mainBundle] loadAppleScriptObjectiveCScripts];
return NSApplicationMain(argc, argv);
}
> Also, please, since Xcode 7.2 includes only 'MacOSX10.11.sdk' is it possible to download previous systems SDKs?
No. Just set an earlier deployment target. Using ARC, 10.8 is the earliest you can support.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Requesting help, please (From: Brian Christmas <email@hidden>) |
| >Re: Requesting help, please (From: Shane Stanley <email@hidden>) |
| >Re: Requesting help, please (From: Brian Christmas <email@hidden>) |
| >Re: Requesting help, please (From: Shane Stanley <email@hidden>) |
| >Re: Requesting help, please (From: Brian Christmas <email@hidden>) |
| >Re: Requesting help, please (From: Shane Stanley <email@hidden>) |
| >Re: Requesting help, please (From: Brian Christmas <email@hidden>) |
| >Re: Requesting help, please (From: Shane Stanley <email@hidden>) |
| >Re: Requesting help, please (From: Brian Christmas <email@hidden>) |
| >Re: Requesting help, please (From: Shane Stanley <email@hidden>) |
| >Very basic help, please (From: Antonino Petriliggieri <email@hidden>) |