Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24023] Packaging mobile app for iOS will fail with "An uncaught exception was thrown! p is not defined"

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-10-13T03:19:16.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sRelease 6.0.0
ComponentsiOS, Tooling
Labelsqe-6.0.0, regression
ReporterWilson Luu
AssigneeChris Barber
Created2016-10-12T22:48:16.000+0000
Updated2016-10-13T16:31:22.000+0000

Description

*Details:* Packaging mobile app for iOS will fail with "An uncaught exception was thrown! p is not defined" *Steps to reproduce:*

Create a mobile project with appc new

Package mobile app to iOS: appc run -l trace -p ios -T dist-adhoc

*Note:* You do not need to specify the provisioning profile or distribution name. *Actual:* Build will fail with:
2016-10-12T22:40:54.342Z | ERROR  | An uncaught exception was thrown!
p is not defined
2016-10-12T22:40:54.343Z | ERROR  | p is not defined
Also, see attachment for logs. *Expected:* Packaging mobile app should not fail.

Attachments

FileDateSize
log.txt2016-10-12T22:48:10.000+000018130

Comments

  1. Eric Wieber 2016-10-12

    I also encounter this issue with CLI 6.0.0-58. I am able to package with SDK 6.0.0.v20161010093913, but not the most recent 6.0.0.v20161012093025
  2. Chris Barber 2016-10-13

    This is a regression introduced by TIMOB-24008. :(
  3. Chris Barber 2016-10-13

    TiSDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8505 TiSDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8506 Note: this only affects dist-adhoc builds, so pretty easy to test.
  4. Chee Kiat Ng 2016-10-13

    PRS MERGED.
  5. Eric Wieber 2016-10-13

    Verified fixed, using: MacOS 10.12 (16A323) Studio 4.8.0.201610060953 Ti SDK 6.0.0.v20161013072802 Appc NPM 4.2.7 Appc CLI 6.0.0-58 Alloy 1.9.3 Xcode 8.0 (8A218a) I am able to package projects for adhoc and the app store without issue. The apps install and run as expected, as well.

JSON Source