Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6266] Some assets JS file are missing in final build (.iPA)

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2019-08-23T14:57:42.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsios
ReporterNaga harish M
AssigneeShak Hossain
Created2019-05-24T09:35:51.000+0000
Updated2019-08-23T14:57:43.000+0000

Description

When we are taking iOS device build (ad-hoc /prod). we identified that .iPA file does not bring all assets JS files (only few JS file I can see in .iPA). I am seeing those file in Resources > iphone > alloy folder. Here are the other useful details.. Operating System Name = Mac OS X Version = 10.14.3 Architecture = 64bit # CPUs = 8 Memory = 17179869184 Node.js Node.js Version = 8.9.3 npm Version = 6.0.0 Titanium CLI CLI Version = 5.1.1 Titanium SDK SDK Version = 8.0.0.GA SDK Path = /Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/1/mobilesdk/osx/8.0.0.GA Target Platform = iphone Command /usr/local/bin/node /Users/admin/.appcelerator/install/7.0.10/package/node_modules/titanium/lib/titanium.js build --platform ios.......

Comments

  1. Sharif AbuDarda 2019-05-24

    Hello [~nagaharish], can you please provide a sample project that is able to reproduce the issue in adhoc build? Thanks
  2. Naga harish M 2019-05-25

    Yes with adhoc and running device. Unfortunately, with the sample I can reproduce this issue. As I said few JS files are still working and not compile as alloy js files. If I creating sample project it is working well. There are many issues with the latest version of SDK it seems. I am unable to show PDF from the document in a web view in iOS. If required we will agree for screen share I will show what is the issue. Unfortunately, I can't share the code. We have a subscription is there any support from appc? For subscription partners? Thank you, Harish.
  3. Hans Knöchel 2019-05-27

    See TIMOB-26807 for details.
  4. Naga harish M 2019-05-28

    Thank you @Hans, I think pointed issue is related. I also done some R&D with build folder I can see there is some difference in index.json when build with 7.5.1 and 8.0. We have different workaround for now. I am copying my assets files manually to iPA and resign them again works fine. It is not a blocker for us but don't some extra steps do not look right. If it can be fixed in next release it will be very helpful to all.

JSON Source