[AC-4613] incompatible Titanium Modules 6.0.0 GA
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | n/a |
Status | Resolved |
Resolution | Invalid |
Resolution Date | 2016-11-17T14:41:46.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | feedback |
Reporter | Sathaphorn Kerdmalai |
Assignee | Shak Hossain |
Created | 2016-11-15T05:34:10.000+0000 |
Updated | 2016-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
File | Date | Size |
---|---|---|
manifest | 2016-11-17T01:03:17.000+0000 | 463 |
Screen Shot 2016-11-15 at 12.32.14.png | 2016-11-15T05:34:13.000+0000 | 16528 |
[~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?
i created by myself and i already changed sdk to 6.0.0GA.
Again, please attach the TRACE level log output. Can you also please verify the
apiversion
in each of your module'smanifest
files?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 callingappc run -p -ios --build-only
Here is manifest file. [^manifest] and i used ./build.py in each project to build module.
[~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 runappc 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.Thank you. That means i have to recreate all modules if i change to use 6.0.0 GA. Am i right?
You only need to update the iOS modules with apiversion 1 or stick with Titanium 5.5.1.GA.
Resolving as invalid since iOS modules built for apiversion 1 are indeed not compatible with Titanium SDK 6.