F-Script
F-Script copied to clipboard
Xcode 4.1 on OS X 10.7
Xcode 4.1 projects can be modernised.
One effect of this is to set the Base SDK to Latest OS version - 10.7 in this case. This is the recommended configuration.
Unfortunately this seems to cause the following issue.
In file included from /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/Block.h:4, from /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:45, from /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:38, from /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6, from /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSAirplane.h:4, from /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSAirplane.m:4: /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSNSObject.h:15: error: expected ')' before 'NSNumber' /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSNSObject.h:22: error: cannot find interface declaration for 'NSObject'
CFBase.h wants to load the system Block.h however it persistently loads the project header. The issue doesn't arise using the 10.6 SDK as CFBase.h doesn't attempt to import Block.h
I couldn't get the build to load the correct system header so I reluctantly renamed the project header file to Block_fscript.h.
Thanks for the report. I plan to remove the Block class from F-Script as it as been superseded by FSBlock. This should eliminate the problem. Philippe
Le 25 juil. 2011 à 23:21, mugginsoft a écrit :
Xcode 4.1 projects can be modernised.
One effect of this is to set the Base SDK to Latest OS version - 10.7 in this case. This is the recommended configuration.
Unfortunately this seems to cause the following issue.
In file included from /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/Block.h:4, from /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:45, from /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:38, from /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6, from /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSAirplane.h:4, from /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSAirplane.m:4: /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSNSObject.h:15: error: expected ')' before 'NSNumber' /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSNSObject.h:22: error: cannot find interface declaration for 'NSObject'
CFBase.h wants to load the system <Block.h> however it persistently loads the project header. The issue doesn't arise using the 10.6 SDK as CFBase.h doesn't attempt to import <Block.h>
I couldn't get the build to load the correct system header so I reluctantly renamed the project header file to Block_fscript.h.
Reply to this email directly or view it on GitHub: https://github.com/pmougin/F-Script/pull/1
On 25 Jul 2011, at 22:31, pmougin wrote:
Thanks for the report. I plan to remove the Block class from F-Script as it as been superseded by FSBlock. This should eliminate the problem. Philippe
I thought that Block.m was rather long in the tooth but I didn't want to start extracting it. My fix will do in the interim.
Regards
Jonathan Mitchell
Developer Mugginsoft LLP http://www.mugginsoft.com
Le 25 juil. 2011 à 23:21, mugginsoft a écrit :
Xcode 4.1 projects can be modernised.
One effect of this is to set the Base SDK to Latest OS version - 10.7 in this case. This is the recommended configuration.
Unfortunately this seems to cause the following issue.
In file included from /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/Block.h:4, from /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:45, from /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:38, from /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6, from /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSAirplane.h:4, from /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSAirplane.m:4: /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSNSObject.h:15: error: expected ')' before 'NSNumber' /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSNSObject.h:22: error: cannot find interface declaration for 'NSObject'
CFBase.h wants to load the system <Block.h> however it persistently loads the project header. The issue doesn't arise using the 10.6 SDK as CFBase.h doesn't attempt to import <Block.h>
I couldn't get the build to load the correct system header so I reluctantly renamed the project header file to Block_fscript.h.
Reply to this email directly or view it on GitHub: https://github.com/pmougin/F-Script/pull/1
Reply to this email directly or view it on GitHub: https://github.com/pmougin/F-Script/pull/1#issuecomment-1649440