Affects Version/s: None
Fix Version/s: Release 4.0.0
Mac OS 10.9.4
Xcode 6.0 GM
Titanium SDK version 3.4.0.v20140912120914
Appcelerator Studio, build: 126.96.36.199409231834
Sprint:2014 Sprint 20 Studio
While testing Field Service App (FSA) I repeatedly imported the sample, got it running, and then ran on simulator. For 3 runs, two failed service enablement (one test service, one cloud) on the initial creation attempt to enable services. Enabling after creation works.
According to Praveen this is due to the service enablement timing conflicting with the task of changing the default GUID to a unique one, which happens for imported samples. If the service enablement occurs too quickly (before the unique GUID is generated), then the service enablement will fail.
This does not seem to be a regression, as the process has not changed. But it is intermittent.
Studio log shows the following when failure occurs:
1) Import the FSA sample
2) Watch for service enablement to fail during the import process
If no failure, delete the FSA with "remove from disk" option checked and try again.
Log records failure, tiapp.xml editor shows failure to enable service
Service enabled correctly, with the appropriate GUID