Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4613] incompatible Titanium Modules 6.0.0 GA

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2016-11-17T14:41:46.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsfeedback
ReporterSathaphorn Kerdmalai
AssigneeShak Hossain
Created2016-11-15T05:34:10.000+0000
Updated2016-11-17T14:41:46.000+0000

Description

There is an error when i change sdk to 6.0.0 GA. it still working on 5.1.1 GA.

Attachments

FileDateSize
manifest2016-11-17T01:03:17.000+0000463
Screen Shot 2016-11-15 at 12.32.14.png2016-11-15T05:34:13.000+000016528

Comments

  1. Chris Barber 2016-11-15

    [~iblack.dum] Did you create or download those modules? I couldn't find them in our marketplace. Can you please paste the TRACE level log output?
  2. Sathaphorn Kerdmalai 2016-11-16

    i created by myself and i already changed sdk to 6.0.0GA.
  3. Chris Barber 2016-11-16

    Again, please attach the TRACE level log output. Can you also please verify the apiversion in each of your module's manifest files?
  4. Chris Barber 2016-11-16

    Also, how are you building your modules? Are you building them from Studio or from the CLI? If you're building them from the CLI, are you using the build.py or are you calling appc run -p -ios --build-only
  5. Sathaphorn Kerdmalai 2016-11-17

    Here is manifest file. [^manifest] and i used ./build.py in each project to build module.
  6. Chris Barber 2016-11-17

    [~iblack.dum] You're module is out-of-date and no longer compatible with Titanium. In Titanium SDK 6.0.0 we added apiversion validation. iOS is on apiversion 2 and yours is apiversion 1. You must update your module to the latest apiversion and APIs as well as use the Appc CLI to build your module. We unfortunately do not have a migration tool, however the upgrade shouldn't be too difficult. First, start by creating a new module project by running appc new and selecting new Titanium Module. After creating a new project, cd <my module>/iphone and run appc run -p ios --build-only. Make sure things build. Then copy your module source and resources over into the new module project and rebuild. There maybe a few hiccups, but it should work.
  7. Sathaphorn Kerdmalai 2016-11-17

    Thank you. That means i have to recreate all modules if i change to use 6.0.0 GA. Am i right?
  8. Chris Barber 2016-11-17

    You only need to update the iOS modules with apiversion 1 or stick with Titanium 5.5.1.GA.
  9. Chris Barber 2016-11-17

    Resolving as invalid since iOS modules built for apiversion 1 are indeed not compatible with Titanium SDK 6.

JSON Source