Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24241] iOS: Building to dist-appstore does not add the application to Xcode.

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-12-20T06:06:25.000+0000
Affected Version/sRelease 6.1.0, Release 6.0.1
Fix Version/sRelease 6.0.1
ComponentsiOS
Labelsqe-6.0.1
ReporterJosh Longton
AssigneeChris Barber
Created2016-12-19T18:17:11.000+0000
Updated2016-12-21T17:37:45.000+0000

Description

This is a {color:red}Regression {color}. This does not occur with 6.0.0.GA. When building for the Appstore, xcarchives are not viewable in the Xcode organizer.

Steps to reproduce:

Create an application

Package for dist-appstore using either:

Studio

appc run -p ios -T dist-appstore

Actual

The application Archive is added to /Users/<user>/Library/Developer/Xcode/Archives but does not show in Xcode Organizer.

Expected

The application should show in Xcode and the output directory

Attachments

FileDateSize
Screen Shot 2016-12-19 at 12.57.19 PM.png2016-12-19T20:59:54.000+0000140306

Comments

  1. Chris Barber 2016-12-19

    I'm unable to reproduce with Titanium SDK 6.0.1 or 6.1.0. I'm using Xcode 8.2 and iOS SDK 10.2. Note: The expected result in this ticket is not accurate. Yes, Xcode should be launched and the archive should be listed in the organizer, but there is no "output directory" when doing a dist-appstore build unless you count the Xcode archive directory. You're thinking of dist-adhoc.
  2. Eric Merriman 2016-12-19

    Hello [~cbarber] The ticket was edited to remove that -O option. I can reproduce with: Xcode 8.1 NPM Version: 2.15.1 Node Version: 4.6.2 Mac OS: 10.11.2 Appc CLI: 6.1.0 Appc CLI NPM: 4.2.8 Titanium SDK version: 6.0.1.v20161217061750 See screenshot
  3. Eric Merriman 2016-12-19

    The app does not appear in the list, app name is "testBarber"
  4. Chris Barber 2016-12-19

    Problem is caused by missing Info.plist when building an iOS app that does NOT have a watch app. If the app has a watch app, then the Info.plist file is generated as expected. Ti SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8699 Ti SDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8700
  5. Eric Wieber 2016-12-20

    Looks good. Merged.
  6. Eric Merriman 2016-12-20

    I was able to publish a newly created and an updated 5.5.x project and both appeared in the archive with: NPM Version: 2.15.1 Node Version: 4.6.2 Mac OS: 10.11.2 Appc CLI: 6.1.0 Appc CLI NPM: 4.2.8 Titanium SDK version: 6.0.1.v20161217061750 Appcelerator Studio, build: 4.8.0.201611092408 Xcode 8.2 GM
  7. Josh Longton 2016-12-21

    Verified as fixed, I am able to publish the application and it is added to the Xcode Archive Tested on: {noformat} macOS Sierra 10.12.1 Ti SDK 6.0.1.v20161219165108 Appc NPM 4.2.8 Appc CLI 6.1.0 Xcode 8.2, 8.1 {noformat} *Closing ticket*

JSON Source