Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20273] iOS: DB error after adhoc export in Xcode

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionHold
Resolution Date2019-10-02T18:21:53.000+0000
Affected Version/sRelease 5.1.0, Release 5.0.2, Release 5.1.2
Fix Version/sn/a
ComponentsiOS, Tooling
Labelsappstore, iOS, publish
Reporter Ricardo Ramirez
AssigneeUnknown
Created2016-01-26T17:34:18.000+0000
Updated2019-10-02T18:21:53.000+0000

Description

Issue Description

The applications is working fine once running with appcelerator but the xcode build generated by appcelerator causing problems in application submission to appstore. If you create the adhoc distribution package from Xcode, then 2 thins can happen:

Get the "app.js not found error"(

xcode_adhoc_applicaitonerror.PNG attached for your reference)

All styles,Images are not appearing in the application (xcode_adhoc_missing styles images overlapping error.png attached for your reference)

If you create the adhoc distribution package from Studio, then when this things can happen:

DB alert error (

sqllite_databaseInstallfailed-error.png attached for your reference)

The application is not installing correctly and can't be launched after sync from iTunes

Steps to reproduce

Download the test-case here: https://drive.google.com/file/d/0BwTWo-c2a0b9ZnpaRGhhQzlGbWs/view?usp=sharing

Run for simulator

Open the solution in xcode

Product --> Archive

go to Organizer --> select the Archive that is created --> export as AD-Hoc Distribution (don't use Production provision profiles)

ipa will be created.

Put the ipa file in itunes and install the application on iphone.

After these steps application will be installed on the device and you can see the database installation error and the Image disappearance and Layout distortion.

//From Studio

Package the app as Distribute AdHoc / Enterprise

Import to Itunes the generated ipa

Sync to the iphone

Try to open the app

After these steps application will not be correctly installed on the device or if it get installed the the DB error will appear.

Attachments

FileDateSize
sqllite_databaseInstallfailed-error.png2016-01-26T17:14:43.000+0000210750
xcode_adhoc_applicaitonerror.PNG2016-01-26T17:19:57.000+000087584
xcode_adhoc_missing styles images overlapping error.PNG2016-01-26T17:20:39.000+000067572

Comments

  1. Ricardo Ramirez 2016-02-11

  2. Ricardo Ramirez 2016-05-20

    [~cng] But the images issue is now resolved ?
  3. Ajith Rohini 2016-06-06

    [~rmitro] Any update on Kiat's comment ?
  4. Alan Hutton 2019-10-02

    Closing issue as “Hold”. We no longer have access to the test case.

JSON Source