Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3523] Tooling: Custom Titanium Module - Doesn't keep other resources

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-08-19T22:03:22.000+0000
Affected Version/sRelease 2.0.1
Fix Version/sn/a
ComponentsiOS
Labelscore, hard_to_verify
ReporterMatthew Lanham
AssigneeIngo Muschenetz
Created2011-04-15T03:46:15.000+0000
Updated2017-03-23T20:24:14.000+0000

Description

When building a module, it seems that it doesn't copy over any resources other than .m/.h files, i.e. if i place an image, or nib in my xcode project this isn't available in the mainBundle of the application and therefore you cannot load nib's, i also noticed while debugging the nib issues, that it doesn't copy over images placed in Xcode, the contents of mainBundle remain similar:
[DEBUG] (
[DEBUG] "appicon.png",
[DEBUG] "debugger.plist",
[DEBUG] "Default-Landscape.png",
[DEBUG] "Default-Portrait.png",
[DEBUG] "Default.png",
[DEBUG] "Default@2x.png",
[DEBUG] flurry,
[DEBUG] "Info.plist",
[DEBUG] "KS_nav_ui.png",
[DEBUG] "KS_nav_views.png",
[DEBUG] modules,
[DEBUG] PkgInfo,
[DEBUG] "stylesheet.plist",
[DEBUG] "ti.flurry"
[DEBUG] )
/Users/swanify/Library/Application Support/iPhone Simulator/4.3/Applications/1B3A1AEF-830E-4253-BF2B-198DF7C6B70D/flurry.app
I used flurry as an example just to prove it wasn't something specific to my module, there should be an image named card-logos.png in there.

Comments

  1. Matthew Lanham 2011-04-15

    Just to add to the above, the reason i was checking the bundle was that i am trying to load a nib and getting the following error:

    [DEBUG] 2011-04-06 14:50:11.611 xxxxxxxxxxxx[12236:207] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle (loaded)' with name 'xxxxxxxxxxxxx''

  2. Varun Joshi 2012-05-16

    Tested this issue. It still exists.
  3. Chris Barber 2016-08-19

    I cannot reproduce this with Titanium SDK master branch (currently 6.1.0). It has been fixed for a long, long time, probably is the 4.0 era.
  4. Lee Morris 2017-03-23

    Closing ticket as "Cannot Reproduce" with reference to the above comments.

JSON Source