Okay so i seem to be having teething problems using examples. Your test app works but I couldn’t see how to implement Lua/Interop in that. So, I start from scratch using your create new app guide and now I have errors and also differences in with what I see to what you show on your guide.
In your guide you say “Edit ViewController.h and add an import for CoronaCards:”
IE #import “CoronaCards/CoronaCards.h”
But on your example screenshot you also have #import “ViewController.h” which I don’t have so do I also add that too but i thought that would be in the m file? Do I remove import Cocoa? and also in your screenshot you have “@implementation View Controller” in the h file but I have got @interface ViewController : NSViewController
@end
Being new to this I expected the implementation to be in the m file so how come mine looks different?
My error is this:
Code signing error
CodeSign /Users/macbookpro/Library/Developer/Xcode/DerivedData/FirstTestStoryboard-eitzpylrimqkemgodfnpltesovna/Build/Products/Debug/FirstTestStoryboard.app/Contents/Frameworks/CoronaCards.framework/Versions/A
cd /Users/macbookpro/Documents/XcodeTests/FirstTestStoryboard
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
Signing Identity: “-”
/usr/bin/codesign --force --sign - --preserve-metadata=identifier,entitlements,resource-rules /Users/macbookpro/Library/Developer/Xcode/DerivedData/FirstTestStoryboard-eitzpylrimqkemgodfnpltesovna/Build/Products/Debug/FirstTestStoryboard.app/Contents/Frameworks/CoronaCards.framework/Versions/A
Warning: usage of --preserve-metadata with option “resource-rules” (deprecated in Mac OS X >= 10.10)!
/Users/macbookpro/Library/Developer/Xcode/DerivedData/FirstTestStoryboard-eitzpylrimqkemgodfnpltesovna/Build/Products/Debug/FirstTestStoryboard.app/Contents/Frameworks/CoronaCards.framework/Versions/A: code object is not signed at all
In subcomponent: /Users/macbookpro/Library/Developer/Xcode/DerivedData/FirstTestStoryboard-eitzpylrimqkemgodfnpltesovna/Build/Products/Debug/FirstTestStoryboard.app/Contents/Frameworks/CoronaCards.framework/Versions/A/Frameworks/ALmixer.framework
Command /usr/bin/codesign failed with exit code 1