Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Getting: (null) when trying to build for iOS simulator/device
Started by donkonstante May 27 2013 09:36 PM

* * * * * 1 votes
16 replies to this topic

Best Answer donkonstante , 28 May 2013 - 08:02 AM

Hi Brent, apparently my XCode got corrupted in the night. No clue how that happened... I just reinstalled it and it works again.

[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

donkonstante

[GLOBAL: userInfoPane.html]
donkonstante
  • Observer

  • 21 posts
  • Corona SDK

Hi guys, I'm getting the following error when trying to build:

 

Screen Shot 2013-05-28 at 12.35.43 AM.png



[TOPIC: post.html]
#2

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

Hi @donkonstante,

This is strange. What build number are you using? What version of OS X? Have you successfully built the particular app before? Please supply all of the necessary information you can think of (even some information that might seem unimportant), and we'll try to figure this out.

 

Thanks,

Brent



[TOPIC: post.html]
#3

donkonstante

[GLOBAL: userInfoPane.html]
donkonstante
  • Observer

  • 21 posts
  • Corona SDK

  Best Answer

Hi Brent, apparently my XCode got corrupted in the night. No clue how that happened... I just reinstalled it and it works again.



[TOPIC: post.html]
#4

jbtellez

[GLOBAL: userInfoPane.html]
jbtellez
  • Observer

  • 14 posts
  • Corona SDK

Hi Brent,

 

I'm having the same problem. I'm on OSX 10.8.4, Xcode 4.6.3 and Corona 2013.1137 with a Pro account. Please let me know if you need additional details and I'll get back to you ASAP!

 

Thanks,

 

JB Tellez

Director of Technology

Ripple Effects



[TOPIC: post.html]
#5

jbtellez

[GLOBAL: userInfoPane.html]
jbtellez
  • Observer

  • 14 posts
  • Corona SDK

Hi Brent,

 

I found the error when building from Corona terminal, which I forgot to do when I found the problem. There was a lua error. Sorry for the false alarm.

 

jb



[TOPIC: post.html]
#6

leonardoamoraleite

[GLOBAL: userInfoPane.html]
leonardoamoraleite
  • Observer

  • 6 posts
  • Corona SDK

In my case, I forgot "," in one page lua. :) 

Buld = Error null

 

Open Corona Terminal to see where is error. 



[TOPIC: post.html]
#7

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,605 posts
  • Enterprise

Make sure you don't have errors in any of your .lua files including ones your app doesn't use.  The build process compiles them all used or not and syntax errors will generate that screen.



[TOPIC: post.html]
#8

marsone

[GLOBAL: userInfoPane.html]
marsone
  • Contributor

  • 118 posts
  • Corona SDK

I started getting this same (null) error after downloading the Xcode5 beta to update one of our client's apps built in Xamarin. Just a few hours before, the code samples for vungle and iAds Corona implementation were working just fine. Now, I just get this null error, even after deleting Xcode5, reinstalling 4.6.3, and restarting.



[TOPIC: post.html]
#9

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

(sorry, that last post was me; was accidentally logged in to my test account)

 

Anyway, please confirm that your system knows it should be using 4.6.3 again. The system may not "pick up" that you want to revert to 4.6.3 just because you remove 5 Beta.

 

Best regards,

Brent Sorrentino



[TOPIC: post.html]
#10

marsone

[GLOBAL: userInfoPane.html]
marsone
  • Contributor

  • 118 posts
  • Corona SDK

Hi Brent,

 

Where exactly do I set that? I looked at Corona Preferences and but did not see an area to designate the path to the current Xcode SDK location. 



[TOPIC: post.html]
#11

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,605 posts
  • Enterprise

This is a command line command.  Run

 

xcode-select --print-path

 

If it doesn't point to /Applications/Xcode.app/Contents/Developer then run this command:

 

sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer



[TOPIC: post.html]
#12

marsone

[GLOBAL: userInfoPane.html]
marsone
  • Contributor

  • 118 posts
  • Corona SDK

Thanks Rob,

 

I typed those into the Terminal, and the path seems to be correct now. Now it works for the most part, but occasionally I do get a new error:

 

 

 

A device build error occurred on the server. 
 
BuildID: 5237b26d50d7f 
Error: 
 
 
Any thoughts? It happens maybe half of the time I try to Build for Xcode Simulator


[TOPIC: post.html]
#13

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,605 posts
  • Enterprise

Is there any more errors?  Can you open up the "Console" app and see if there are errors there from the Xcode simulator?



[TOPIC: post.html]
#14

neufdoigts

[GLOBAL: userInfoPane.html]
neufdoigts
  • Observer

  • 22 posts
  • Corona SDK

I had the same issue, getting Build (null) when doing the iOS build. What worked for me was refresh the mobile provision files, exit xcode, exit corona, then launch corona again and everything worked for me.



[TOPIC: post.html]
#15

wizardww

[GLOBAL: userInfoPane.html]
wizardww
  • Observer

  • 6 posts
  • Corona SDK

Hello, I have same problem when trying to build the sample code about Admob Ads from this link

https://github.com/coronalabs/plugins-sample-ads-admob

 

I have a URGENT project with Admob ads need to finish tmr, please help me. I used Version 2013.2100 (2013.12.7) Corona SDK

 

This is what happened in the Corona Terminal

 

http://s159.photobucket.com/user/luudui/media/ScreenShot2014-02-18at64328PM.png.html

 

Please help me, plz plz plzzzzzz

 

Thank you



[TOPIC: post.html]
#16

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,605 posts
  • Enterprise

It would be really helpful to capture the output text using copy/paste and paste the text in rather than only seeing a little bit of it in a screen capture.  Click and drag over all the text you want to select, CMD-C to copy, then here in the forum window CMD-V to paste it in.

 

Also a screen capture of your build screen might be helpful.  

 

Rob



[TOPIC: post.html]
#17

wizardww

[GLOBAL: userInfoPane.html]
wizardww
  • Observer

  • 6 posts
  • Corona SDK

Thank you Rob! I have resolved it myself :), After few hours with crazy feeling, I tried to reinstall Xcode and it work prefect @@, I have no idea about it. 




[topic_controls]
[/topic_controls]