Hi All,
ı can’t build to my corona projects today
when i try to build i get error (null)
my Xcode version 5.01
corona: Version 2013.1202 (2013.8.28)
do you have any idea about this issue?
Hi All,
ı can’t build to my corona projects today
when i try to build i get error (null)
my Xcode version 5.01
corona: Version 2013.1202 (2013.8.28)
do you have any idea about this issue?
hi guys,
my old files are building but my new files aren’t?
what is my new projects issues, how can i see??
Hi,
I had the same problems.
Rob pointed me to look in Consule. I found some old code assets not being used were having compile errors (old code)
Deleted the assets and closed down editor and simulator and then restarted. Now OK
Hope this helps.
Hello,
I’m having this issue and can’t seem to find a solution. Any suggestions? I’m on Corona Version 2013.1202 (2013.8.28) and Xcode Version 4.3.2 (4E2002)
Thanks,
Nick
Hi
This is what I did to resolve it in my case.
Opened up the Console.app.
It can be found in /Applications/Utilities/Console.app
Get the test ready to run and then go into console.app and under the view menu select Clear Display. This will avoid too much detail hanging around before the test and will make it clearer to see immediately what has happened.
Run you build until you get the null message.
Go back to the console.app and look at the display.
My test showed that I had an lua compile error on an x.lua file [a module that I was not using (old example code-with bugs)].
This was not reference during the normal simulator runs so it showed no errors during testing.
During the build process all modules are compiled. Hence that is when the code errors are found . Removing the unused code module solved the problem. Only after shutting down the editor, simulator and xcode and restarting to flush buffers/caches.
I have no idea why the null message, instead of a proper message is produced-a small bug I guess in the build process.
Thanks for the quick reply. So, I went through the process and found that I have a sprite sheet .lua file that is causing the compile error and build error…
11/4/13 9:27:05.544 AM Corona Simulator: COMPILE ERROR: Could not complete build because there were compile errors in Lua file (…/build/images/ferrisWheel/ferrisSheet.lua).
11/4/13 9:27:05.544 AM [0x0-0x160160].com.coronalabs.Corona_Simulator: BUILD ERROR: …/build/images/ferrisWheel/ferrisSheet.lua:46: unexpected symbol near ‘=’
The problem is that I’m not sure what to do at this point. I opened the .lua file in TextEdit to see if there was some weird code but as far as I can tell, I don’t really see anything weird. Although, I’m not a programmer so I may be missing something.
If you have a moment to look into this I would be incredibly grateful, however please don’t go out of your way. I appreciate your help thus far!
Nick
Hi Nick,
You will need a code editor that recognizes the code format and also gives the line numbers.
I am a little confused how you might be building without a code editor-I assume you are building direct from the simulator.
I use Outlaw…
http://outlawgametools.com/latest-version/
Any way gthe clue is the error message
46: unexpected symbol near ‘=’
Go to about line 46 and see if you have left out something, or typed a funny character such as '., {[)( etc.
It is going to be a struggle if you are not a programmer as you will only be guessing.
Can you you copy paste a small section before and after line 46?
PS I am only another user here, not the real support guys. They are monitoring posts tho’ ;}
Here is my lua file code. I’m building a kids’ book with Kwik, so it’s compiling my build folder for me. This sprite sheet file was compiled with Texture Packer, not Kwik.
Line 46 seems to be the second to last line - “sheetContentWidth = 2378,”
The only thing I see is that it ends with a comma and the line after it does not.
Thanks!
-- created with TexturePacker (http://www.texturepacker.com) frames = { { x=2, y=2, width=295, height=345 }, -- ferrisWheel\_01 { x=299, y=2, width=295, height=345 }, -- ferrisWheel\_02 { x=596, y=2, width=295, height=345 }, -- ferrisWheel\_03 { x=893, y=2, width=295, height=345 }, -- ferrisWheel\_04 { x=1190, y=2, width=295, height=345 }, -- ferrisWheel\_05 { x=1487, y=2, width=295, height=345 }, -- ferrisWheel\_06 { x=1784, y=2, width=295, height=345 }, -- ferrisWheel\_07 { x=2081, y=2, width=295, height=345 }, -- ferrisWheel\_08 { x=2, y=349, width=295, height=345 }, -- ferrisWheel\_09 { x=299, y=349, width=295, height=345 }, -- ferrisWheel\_10 { x=596, y=349, width=295, height=345 }, -- ferrisWheel\_11 { x=893, y=349, width=295, height=345 }, -- ferrisWheel\_12 { x=1190, y=349, width=295, height=345 }, -- ferrisWheel\_13 { x=1487, y=349, width=295, height=345 }, -- ferrisWheel\_14 { x=1784, y=349, width=295, height=345 }, -- ferrisWheel\_15 { x=2081, y=349, width=295, height=345 }, -- ferrisWheel\_16 { x=2, y=696, width=295, height=345 }, -- ferrisWheel\_17 { x=299, y=696, width=295, height=345 }, -- ferrisWheel\_18 { x=596, y=696, width=295, height=345 }, -- ferrisWheel\_19 { x=893, y=696, width=295, height=345 }, -- ferrisWheel\_20 { x=1190, y=696, width=295, height=345 }, -- ferrisWheel\_21 { x=1487, y=696, width=295, height=345 }, -- ferrisWheel\_22 { x=1784, y=696, width=295, height=345 }, -- ferrisWheel\_23 { x=2081, y=696, width=295, height=345 }, -- ferrisWheel\_24 { x=2, y=1043, width=295, height=345 }, -- ferrisWheel\_25 { x=299, y=1043, width=295, height=345 }, -- ferrisWheel\_26 { x=596, y=1043, width=295, height=345 }, -- ferrisWheel\_27 { x=893, y=1043, width=295, height=345 }, -- ferrisWheel\_28 { x=1190, y=1043, width=295, height=345 }, -- ferrisWheel\_29 { x=1487, y=1043, width=295, height=345 }, -- ferrisWheel\_30 { x=1784, y=1043, width=295, height=345 }, -- ferrisWheel\_31 { x=2081, y=1043, width=295, height=345 }, -- ferrisWheel\_32 { x=2, y=1390, width=295, height=345 }, -- ferrisWheel\_33 { x=299, y=1390, width=295, height=345 }, -- ferrisWheel\_34 { x=596, y=1390, width=295, height=345 }, -- ferrisWheel\_35 { x=893, y=1390, width=295, height=345 }, -- ferrisWheel\_36 { x=1190, y=1390, width=295, height=345 }, -- ferrisWheel\_37 { x=1487, y=1390, width=295, height=345 }, -- ferrisWheel\_38 { x=1784, y=1390, width=295, height=345 }, -- ferrisWheel\_39 { x=2081, y=1390, width=295, height=345 }, -- ferrisWheel\_40 }, sheetContentWidth = 2378, sheetContentHeight = 1756
Problem solved. I didn’t need to have that lua file in my build folder. I’m glad it wasn’t something more complicated. Thanks again for your help!
Nick
hi guys,
my old files are building but my new files aren’t?
what is my new projects issues, how can i see??
Hi,
I had the same problems.
Rob pointed me to look in Consule. I found some old code assets not being used were having compile errors (old code)
Deleted the assets and closed down editor and simulator and then restarted. Now OK
Hope this helps.
Hello,
I’m having this issue and can’t seem to find a solution. Any suggestions? I’m on Corona Version 2013.1202 (2013.8.28) and Xcode Version 4.3.2 (4E2002)
Thanks,
Nick
Hi
This is what I did to resolve it in my case.
Opened up the Console.app.
It can be found in /Applications/Utilities/Console.app
Get the test ready to run and then go into console.app and under the view menu select Clear Display. This will avoid too much detail hanging around before the test and will make it clearer to see immediately what has happened.
Run you build until you get the null message.
Go back to the console.app and look at the display.
My test showed that I had an lua compile error on an x.lua file [a module that I was not using (old example code-with bugs)].
This was not reference during the normal simulator runs so it showed no errors during testing.
During the build process all modules are compiled. Hence that is when the code errors are found . Removing the unused code module solved the problem. Only after shutting down the editor, simulator and xcode and restarting to flush buffers/caches.
I have no idea why the null message, instead of a proper message is produced-a small bug I guess in the build process.
Thanks for the quick reply. So, I went through the process and found that I have a sprite sheet .lua file that is causing the compile error and build error…
11/4/13 9:27:05.544 AM Corona Simulator: COMPILE ERROR: Could not complete build because there were compile errors in Lua file (…/build/images/ferrisWheel/ferrisSheet.lua).
11/4/13 9:27:05.544 AM [0x0-0x160160].com.coronalabs.Corona_Simulator: BUILD ERROR: …/build/images/ferrisWheel/ferrisSheet.lua:46: unexpected symbol near ‘=’
The problem is that I’m not sure what to do at this point. I opened the .lua file in TextEdit to see if there was some weird code but as far as I can tell, I don’t really see anything weird. Although, I’m not a programmer so I may be missing something.
If you have a moment to look into this I would be incredibly grateful, however please don’t go out of your way. I appreciate your help thus far!
Nick
Hi Nick,
You will need a code editor that recognizes the code format and also gives the line numbers.
I am a little confused how you might be building without a code editor-I assume you are building direct from the simulator.
I use Outlaw…
http://outlawgametools.com/latest-version/
Any way gthe clue is the error message
46: unexpected symbol near ‘=’
Go to about line 46 and see if you have left out something, or typed a funny character such as '., {[)( etc.
It is going to be a struggle if you are not a programmer as you will only be guessing.
Can you you copy paste a small section before and after line 46?
PS I am only another user here, not the real support guys. They are monitoring posts tho’ ;}
Here is my lua file code. I’m building a kids’ book with Kwik, so it’s compiling my build folder for me. This sprite sheet file was compiled with Texture Packer, not Kwik.
Line 46 seems to be the second to last line - “sheetContentWidth = 2378,”
The only thing I see is that it ends with a comma and the line after it does not.
Thanks!
-- created with TexturePacker (http://www.texturepacker.com) frames = { { x=2, y=2, width=295, height=345 }, -- ferrisWheel\_01 { x=299, y=2, width=295, height=345 }, -- ferrisWheel\_02 { x=596, y=2, width=295, height=345 }, -- ferrisWheel\_03 { x=893, y=2, width=295, height=345 }, -- ferrisWheel\_04 { x=1190, y=2, width=295, height=345 }, -- ferrisWheel\_05 { x=1487, y=2, width=295, height=345 }, -- ferrisWheel\_06 { x=1784, y=2, width=295, height=345 }, -- ferrisWheel\_07 { x=2081, y=2, width=295, height=345 }, -- ferrisWheel\_08 { x=2, y=349, width=295, height=345 }, -- ferrisWheel\_09 { x=299, y=349, width=295, height=345 }, -- ferrisWheel\_10 { x=596, y=349, width=295, height=345 }, -- ferrisWheel\_11 { x=893, y=349, width=295, height=345 }, -- ferrisWheel\_12 { x=1190, y=349, width=295, height=345 }, -- ferrisWheel\_13 { x=1487, y=349, width=295, height=345 }, -- ferrisWheel\_14 { x=1784, y=349, width=295, height=345 }, -- ferrisWheel\_15 { x=2081, y=349, width=295, height=345 }, -- ferrisWheel\_16 { x=2, y=696, width=295, height=345 }, -- ferrisWheel\_17 { x=299, y=696, width=295, height=345 }, -- ferrisWheel\_18 { x=596, y=696, width=295, height=345 }, -- ferrisWheel\_19 { x=893, y=696, width=295, height=345 }, -- ferrisWheel\_20 { x=1190, y=696, width=295, height=345 }, -- ferrisWheel\_21 { x=1487, y=696, width=295, height=345 }, -- ferrisWheel\_22 { x=1784, y=696, width=295, height=345 }, -- ferrisWheel\_23 { x=2081, y=696, width=295, height=345 }, -- ferrisWheel\_24 { x=2, y=1043, width=295, height=345 }, -- ferrisWheel\_25 { x=299, y=1043, width=295, height=345 }, -- ferrisWheel\_26 { x=596, y=1043, width=295, height=345 }, -- ferrisWheel\_27 { x=893, y=1043, width=295, height=345 }, -- ferrisWheel\_28 { x=1190, y=1043, width=295, height=345 }, -- ferrisWheel\_29 { x=1487, y=1043, width=295, height=345 }, -- ferrisWheel\_30 { x=1784, y=1043, width=295, height=345 }, -- ferrisWheel\_31 { x=2081, y=1043, width=295, height=345 }, -- ferrisWheel\_32 { x=2, y=1390, width=295, height=345 }, -- ferrisWheel\_33 { x=299, y=1390, width=295, height=345 }, -- ferrisWheel\_34 { x=596, y=1390, width=295, height=345 }, -- ferrisWheel\_35 { x=893, y=1390, width=295, height=345 }, -- ferrisWheel\_36 { x=1190, y=1390, width=295, height=345 }, -- ferrisWheel\_37 { x=1487, y=1390, width=295, height=345 }, -- ferrisWheel\_38 { x=1784, y=1390, width=295, height=345 }, -- ferrisWheel\_39 { x=2081, y=1390, width=295, height=345 }, -- ferrisWheel\_40 }, sheetContentWidth = 2378, sheetContentHeight = 1756
Problem solved. I didn’t need to have that lua file in my build folder. I’m glad it wasn’t something more complicated. Thanks again for your help!
Nick