[ https://issues.apache.org/jira/browse/CB-5568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-5568: --------------------------------- Component/s: (was: Plugins) > missing plugin features at config.xml on iOS > -------------------------------------------- > > Key: CB-5568 > URL: https://issues.apache.org/jira/browse/CB-5568 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS > Affects Versions: 3.2.0 > Environment: - Mac OS X 10.8.5 > - XCode 5.0.2 > Reporter: Orçun Topdağı > Priority: Blocker > > iOS config.xml has missing plugin related entries when cordova prepare is run > on OS X. > Here is the current situation as it gets interesting towards last steps: > Project has two platforms, iOS and Android. > I have added dialogs and vibration plugins using CLI. > - I remove iOS platform and add it again using CLI, iOS config.xml has > features added back correctly. > - I run cordova prepare now, everything is still working. > - I run cordova emulate, emulator runs and plugins are working. > - I run cordova prepare again (no changes what so ever) features are > *removed* from iOS config.xml once again. > - I have tested exiting emulator before running prepare again. > - I have tested adding and removing several other plugins before running > emulator and everything works until running cordova emulate. > Looking at file changes, only difference is at pbxproj which has different > unique identifiers for removed and added files for plugin implementations. > - Nothing works until I repeat removing and adding iOS platform. > - I have tested removing and adding plugins after running emulator. BTW, > Android config.xml is correctly modified during these changes. > - If I run cordova prepare on Windows, iOS config.xml is again corrected > which is good but not very useful. > Background info: > - installed cordova 3.1.0 on Windows, > - created the project on Windows > - added android platform on Windows > - added above plugins on Windows using CLI 3.1.0 > - updated cordova to 3.2.0 on Windows > - updated project on Windows > - installed cordova 3.2.0 on OSX > - added iOS platform on OSX > - i keep plugins and platforms directories under source control as I intend > to make changes, so adding and removing platforms before each build is not an > option. -- This message was sent by Atlassian JIRA (v6.1.4#6159)