Hi,
I get the following build error when I build for Xcode simulator:
Using additional build settings from: /Users/Rebekah/Alan/spacewolf/code/mobile/apps/PhotoDeco/Original/corona/v1.0/project/PhotoDeco/build.settings
WARNING: Your SDK may be out of date b/c the following SDK directory could not be found: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
WARNING: Using the following SDK instead: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk
WARNING: Your SDK may be out of date b/c the following SDK directory could not be found: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
WARNING: Using the following SDK instead: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk
2014-09-18 21:04:08.336 Corona Simulator[38493:507] Runtime error
/Users/Rebekah/Alan/spacewolf/code/mobile/apps/PhotoDeco/Original/corona/v1.0/release/iOS/Snapbook.app/.build/libtemplate/Builder.lua:310: <error>{“status”:256,“message”:“ld: warning: ObjC object file (/Users/Rebekah/Alan/spacewolf/code/mobile/apps/PhotoDeco/Original/corona/v1.0/release/iOS/Snapbook.app/.build/libtemplate/libtemplate.a(main.o)) was compiled for iOS Simulator, but linking for MacOSX\nUndefined symbols for architecture i386:\n “start”, referenced from:\n implicit entry/start for main executable\n (maybe you meant: _OBJC_IVAR_$_GADAdFetcher._startOncePredicate, __ZN3Rtt7Display7RestartEv , __ZN3Rtt7Runtime15RestartRendererENS_17DeviceOrientation4TypeE , __ZN3Rtt7Runtime15RestartRendererEv , __ZN3Rtt27LuaEmitterObjectProxyVTable5startEP9lua_State , _timeout_getstart , _timeout_markstart , __ZN3Rtt7Display7RestartENS_17DeviceOrientation4TypeE , __ZN3Rtt7Display7RestartEii , _OBJC_IVAR_$_GADTiming._startTimestamp )\nld: symbol(s) not found for architecture i386\nclang: error: linker command failed with exit code 1 (use -v to see invocation)”}</error>
stack traceback:
C: in function ‘assert’
/Users/Rebekah/Alan/spacewolf/code/mobile/apps/PhotoDeco/Original/corona/v1.0/release/iOS/Snapbook.app/.build/libtemplate/Builder.lua:310: in function ‘checkError’
/Users/Rebekah/Alan/spacewolf/code/mobile/apps/PhotoDeco/Original/corona/v1.0/release/iOS/Snapbook.app/.build/libtemplate/Builder.lua:333: in function ‘build’
?: in function ‘buildExe’
?: in function <?:624>
How can I build for the Xcode simulator?
Corona SDK: 2014.2393
Xcode 6.0.1
Thanks