Stuck on Connecting to Server for sample app ios device build for trial account.

I’ve extensively searched for this specific issue but have not found the exact problem. Some were close and helpful but did not solve the entire issue.

I downloaded the trial version of Corona, opened a sample app in the simulator(works in simulator), tried building for ios/device or xcode with a developer id. After pressing build there is the 30 second delay then it starts to connect to the server. It just sits on ‘connecting to server’.

The console print out had some other errors but they were fixed by pointing the xcode-select to the correct path.

Current console print out after that fix:

8/9/12 5:39:09.734 PM [0x0-0x6cd6cd].com.anscamobile.Corona_Simulator: Copyright © 2009-2012 C o r o n a L a b s I n c .
8/9/12 5:39:09.734 PM [0x0-0x6cd6cd].com.anscamobile.Corona_Simulator: Version: 2.0.0
8/9/12 5:39:09.734 PM [0x0-0x6cd6cd].com.anscamobile.Corona_Simulator: Build: 2012.840
8/9/12 5:39:09.760 PM [0x0-0x6cd6cd].com.anscamobile.Corona_Simulator: The file sandbox for this project is located at the following folder:
8/9/12 5:39:09.760 PM [0x0-0x6cd6cd].com.anscamobile.Corona_Simulator: (/Users/caseylitton/Library/Application Support/Corona Simulator/Bullet-4BCAB380849C768BFD78695E20E2B664)
8/9/12 5:43:19.000 PM Corona Simulator: *** -[NSPlaceholderString initWithUTF8String:]: NULL cString
8/9/12 5:43:19.002 PM Corona Simulator: (
0 CoreFoundation 0x9414fa67 __raiseError + 231
1 libobjc.A.dylib 0x97359149 objc_exception_throw + 155
2 CoreFoundation 0x940b7289 +[NSException raise:format:arguments:] + 137
3 CoreFoundation 0x940b71f9 +[NSException raise:format:] + 57
4 Foundation 0x9094c23e -[NSString initWithUTF8String:] + 90
5 Corona Simulator 0x00033441 Corona Simulator + 205889
6 Corona Simulator 0x0003314c Corona Simulator + 205132
7 Corona Simulator 0x0002e241 Corona Simulator + 184897
8 Corona Simulator 0x0002ed62 Corona Simulator + 187746
9 Corona Simulator 0x00015c60 Corona Simulator + 85088
10 Corona Simulator 0x0000e7d8 Corona Simulator + 55256
11 Foundation 0x9092c792 __NSFireDelayedPerform + 615
12 CoreFoundation 0x940672a6 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
13 CoreFoundation 0x94066c37 __CFRunLoopDoTimer + 743
14 CoreFoundation 0x94045cd0 __CFRunLoopRun + 1888
15 CoreFoundation 0x940451dc CFRunLoopRunSpecific + 332
16 CoreFoundation 0x94045088 CFRunLoopRunInMode + 120
17 HIToolbox 0x90ebb723 RunCurrentEventLoopInMode + 318
18 HIToolbox 0x90ec2a8b ReceiveNextEventCommon + 381
19 HIToolbox 0x90ec28fa BlockUntilNextEventMatchingListInMode + 88
20 AppKit 0x99bf80d8 _DPSNextEvent + 678
21 AppKit 0x99bf7942 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
22 AppKit 0x99bf3cb1 -[NSApplication run] + 911
23 AppKit 0x99e84bd9 NSApplicationMain + 1054
24 Corona Simulator 0x00003145 Corona Simulator + 8517
)
my provisions are in /user/(username)/library/MobileDevices/Provisioning Profile

my certificate in keychain are valid, xcode organizer has the correct profiles.

There was a great deal of forum posts about the build.settings causing this issue but this is a sample app.

I have never got a build to work. Today was my first attempt. I have built apps for devices using the same provisioning profiles but it was through xcode in ios sdk.

As I mentioned above, I set the sudo xcode-select to the correct path and that cleared up some error in the console.

I have reinstalled corona and had to put my email/password in a few times.

I could try using an older build but I only have a trial account.
Corona Build 2012:840
Xcode 4.3.2 [import]uid: 170087 topic_id: 29683 reply_id: 329683[/import]

I initially had that problem and still do at times. Have you went to the top and below build hit relaunch? That has fixed my problem each time [import]uid: 69302 topic_id: 29683 reply_id: 119166[/import]

I just tried that. It only relaunches the simulator and doesn’t change the connecting with server status. [import]uid: 170087 topic_id: 29683 reply_id: 119235[/import]

That’s weird because that is all I did before I purchased it. I know that the building does take longer when you are just testing. Try one more thing. Close out the simulator and hit build again a open your file and see if that works. [import]uid: 69302 topic_id: 29683 reply_id: 119239[/import]

I can’t really follow this. If I close the simulator I don’t have an option to build. It’s just like starting over. [import]uid: 170087 topic_id: 29683 reply_id: 119262[/import]

So are you saying that you do not already have a build folder with all your files in it? Because if you do you can close the simulator and select build and select your folder and whatever you have there will open up the same. [import]uid: 69302 topic_id: 29683 reply_id: 119267[/import]

I am building a sample app that came with corona simulator. Physics->bridge to be exact. So all the files are in that folder. If I close the simulator there is no option to build because that closes corona.

I open Corona simulator, pick a sample app from the start up screen, it opens in the simulator, then I go to file->build->ios and fill in the build info and click build. This is the only way I know to build an app in corona. [import]uid: 170087 topic_id: 29683 reply_id: 119273[/import]

nothing here [import]uid: 170087 topic_id: 29683 reply_id: 119274[/import]

If you are using the files that came with corona it should be downloaded on your computer. You would just have to open the folder that has those files once you go to build again. [import]uid: 69302 topic_id: 29683 reply_id: 119276[/import]

I resolved it. I just needed to refresh my xcode organizer. The app built fine after that. Thanks for your time. [import]uid: 170087 topic_id: 29683 reply_id: 119280[/import]