Corona Hangs During Build

Hi All

Man I hate being a newbie :slight_smile:

Have written a small app for testing; works well on the simulator on MY PC and Mac doing my first build to test on ipad and submitted the build but its been sitting there for about 20 minutes saying it is performing the build is that normal?  I cant quit and start again, I am using the trial version of Corona before I commit to purchase.

Have been trying a few different platforms and Corona was looking good until I started the build…any ideas?

Peter

And I cant quit Corona and cant restart the Mac cause Corona wont let it anyone got any suggestions on how to proceed?

Pull the plug from the wall? :wink:

Never seen something like this but I think sometimes build servers might have maintenance or something for brief moments during the weekend low times. Perhaps you caught a bad moment. Suggest killing the process using Activity Monitor on your Mac, doing a full Restart and then trying again. Good luck.

Thanks Ksan I will try it, I just bought the Mac to do some IOS development…I thought we didn’t have to pull the plaug on Macs :slight_smile:

Stopped the task and restated the Mac and tried again still hangs during the build phase, is there a log anywhere I can look at?  I cant build for the xcode sim but the app runs fine in the Corona sim.

I guess I better go re-read the docs again :slight_smile: I have tried quite a few platforms over the last couple of weeks to find one that actually works and its frustrating as all the platforms seem to fall over during the building phase even when you follow the instructions as closely as possible.

Just ran a build to see if the servers are down or something. It went fine. I am afraid something is not quite right on your end. Maybe a reinstall? 

OK I will try the re-install next but its brand new mac and the install seemed to work fine.

The provisioning docs talk about moving the provisioning profile to /Users/(your user)/Library/MobileDevice/Provisioning Profiles/ and that’s about the only step I cant seem to do but I can see a valid provisioning profile…

just checked the provisioning profiles via the terminal window and it is there…

I think I am going to have to admit defeat and move along to the next platform, I have been programming PCs for 20+ years and consider myself adept at many languages including c++  I am rather sad actually as I was very excited to get into iOS and Android programming.  I have worked through all the troubleshooting suggestions in the docs including checking file names and file locations ensuring provisioning is correct and double checked and triple checked all my certificates.

I even went and bought a brand new Macmini to do the builds on for Corona and to get up to speed with the Mac OS.  The only SDK I have been able to get working is DragonFire SDK it took all of 5 minutes and I had an app running on my Iphone for testing.  Unfortunately the API is pretty primitive and you cant do some of the more advanced sockets programming.

If anyone could offer any advice or tips I would appreciate it, I know I am not the sharpest tool in the shed but I am not the dullest either!

Kindest Regards

Peter

FYI I just tried building the Clock Sample App and that hangs during the build process, I cant be the only one having issues??? Can I? :slight_smile:

Its soooo frustrating, no one has had this issue before?  I just DE authorised both machines I am using and it still sits there during the build just telling me its Performing Build but nothing every happens

What am I missing? Help! :slight_smile:
 

You should be able todo OPTION-COMMAND-Escape and bring up a list of running apps and kill non-responding apps.

I’m not sure why it hung.  Builds should be under a minute or so in most cases.

Can you build on your PC? 

Thanks for the reply Ksan, I haven’t tried building on the PC for Android as I need it working on iOS first…

Thanks for the reply Rob, can you see anything from your side?  Where can I look for an error message or a log?

Hi @pk6.  I can’t see anything on my side.  Only certain engineers have access to that data.  If you’re on a Mac you should be starting Corona using the “corona-terminal” app in /Applications/CoronaSDK.  This will open a terminal window, which then starts up Corona SDK.  Messages from Corona end up in that terminal window.

Ok thanks Rob, I will try that.

I just purchased Corona thinking that the latest build might solve the problem but it didn’t :frowning:

I opened the terminal window during the build and it still hangs but here is the terminal window output:

Copyright © 2009-2013  C o r o n a   L a b s   I n c .

2013-06-03 08:36:50.285 Corona Simulator[300:707]     Version: 2.0.0

2013-06-03 08:36:50.285 Corona Simulator[300:707]     Build: 2013.1134

2013-06-03 08:36:50.287 Corona Simulator[300:707] The file sandbox for this project is located at the following folder:

    (/Users/Peter/Library/Application Support/Corona Simulator/MCP Build Folder-FE55F6223D6993A2EACDE452BF34693A)

2013-06-03 08:36:50.749 Corona Simulator[300:707] WARNING: Simulator does not support multitouch events

2013-06-03 08:37:17.099 Corona Simulator[300:707] Using Custom Build Id c37d18cfe79e3679aa32a78d432c845e

2013-06-03 08:37:17.178 Corona Simulator[300:707] *** -[NSPlaceholderString initWithUTF8String:]: NULL cString

2013-06-03 08:37:17.179 Corona Simulator[300:707] (

    0   CoreFoundation                      0x00007fff8d1c0b06 __exceptionPreprocess + 198

    1   libobjc.A.dylib                     0x00007fff90bf83f0 objc_exception_throw + 43

    2   CoreFoundation                      0x00007fff8d1c08dc +[NSException raise:format:] + 204

    3   Foundation                          0x00007fff88f5693c -[NSString initWithUTF8String:] + 74

    4   Corona Simulator                    0x000000010002ec0e start + 183182

    5   Corona Simulator                    0x000000010002e933 start + 182451

    6   Corona Simulator                    0x0000000100029d4a start + 163018

    7   Corona Simulator                    0x000000010002a8e6 start + 165990

    8   Corona Simulator                    0x000000010001511b start + 77979

    9   Corona Simulator                    0x000000010000de5f start + 48607

    10  Foundation                          0x00007fff88f24395 __NSFireDelayedPerform + 358

    11  CoreFoundation                      0x00007fff8d17d804 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20

    12  CoreFoundation                      0x00007fff8d17d31d __CFRunLoopDoTimer + 557

    13  CoreFoundation                      0x00007fff8d162ad9 __CFRunLoopRun + 1529

    14  CoreFoundation                      0x00007fff8d1620e2 CFRunLoopRunSpecific + 290

    15  HIToolbox                           0x00007fff90878eb4 RunCurrentEventLoopInMode + 209

    16  HIToolbox                           0x00007fff90878c52 ReceiveNextEventCommon + 356

    17  HIToolbox                           0x00007fff90878ae3 BlockUntilNextEventMatchingListInMode + 62

    18  AppKit                              0x00007fff91f03563 _DPSNextEvent + 685

    19  AppKit                              0x00007fff91f02e22 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128

    20  AppKit                              0x00007fff91efa1d3 -[NSApplication run] + 517

    21  AppKit                              0x00007fff91e9ec06 NSApplicationMain + 869

    22  Corona Simulator                    0x00000001000020b4 start + 52

    23  ???                                 0x0000000000000001 0x0 + 1

)

I cant see any obvious error message but hopefully someone else can?

Peter

Before I send this to the engineers, what version of OS-X is this happening on and what version of XCode do you have installed?

Also does this happen if you try and build one of our Sample apps?