Trouble building ios since updating to meteor 1.3

I am trying to build the iOS app and it is giving me the following errors.

From the research I have:

  • Remove meteor
  • Updated to meteor latest beta

When I run

'meteor build ios --debug --server=http:// --mobile-settings=mobile-config.js --verbose'

I get…

`Processing mobile-config.js                   
Writing new config.xml                        
Creating Cordova project                      
% Creating a new cordova project.             
% Copying assets."                            
Preparing Cordova project from app bundle     
Processing mobile-config.js                   
Copying resources for mobile apps             
Writing new config.xml                        
                                          
/Users/Kyle/.meteor/packages/meteor-tool/.1.3.2_1.bb0wfv++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/cordova-support/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:116
  throw error;
        ^
SyntaxError: Unexpected token A
    at Object.parse (native)
    at CordovaBuilder.copyWWW (/tools/cordova/builder.js:374:12)
    at CordovaProject.prepareFromAppBundle (/tools/cordova/project.js:189:13)
    at /tools/cli/commands.js:960:24
    at /tools/utils/buildmessage.js:359:18
    at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:352:34
    at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:350:23
    at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
    at Object.enterJob (/tools/utils/buildmessage.js:324:26)
    at /tools/cli/commands.js:951:20
    at /tools/utils/buildmessage.js:271:13
    at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:264:29
    at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:262:18
    at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:253:23
    at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
    at Object.capture (/tools/utils/buildmessage.js:252:19)
    at Object.main.captureAndExit (/tools/cli/main.js:273:29)
    at /tools/cli/commands.js:950:10
    at buildCommand (/tools/cli/commands.js:950:5)
    at Command.main.registerCommand._.extend.name [as func] (/tools/cli/commands.js:789:12)
    at /tools/cli/main.js:1402:23`

I just submitted to the app store while using 1.3 and the only thing that has changed was uploading the code to the server.

Seems that there is an issue with my code somewhere. I used --debug and I was able to build it.

Hi, i have the same issue but i realy dont why, i can run it without errors but when i try to build it fails, did u find why u get this error?

I was able to reproduce it with an error in settings.json file

Yes i fixed my error, it was just i was linking mobile-config file as setting.js file