Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17644] Constant permission requests every time app is compiled to device using Yosemite

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2014-09-15T17:34:30.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCLI, Tooling
LabelsSDK3.4.0, Yosemite, iOS8, qe-3.4.0
ReporterMalcolm Hollingsworth
AssigneeChris Barber
Created2014-09-08T17:34:45.000+0000
Updated2017-03-24T17:54:35.000+0000

Description

Each time I compile an app using Ti SDK 3.4 and target a physical device I am asked to provide my Mac credentials before the process will place the app on the device. This occurs after the "image optimisation" console output and before any mention of the app being transferred to the device. The device is an iPhone 5 running iOS8b5. The dialog box context is as follows; OS X wants to make changes. Type an administrator's name and password to allow this. OS X wants to use the "System" keychain. The only two buttons offered are 'Deny' & 'Allow'. There is no option to always allow. Provided the correct details are entered the app will successfully transfer to the device and does not appear to suffer any issues directly related to the security dialog.

Comments

  1. Chris Barber 2014-09-08

    I added my iPhone Developer cert to the "login" keychain, then ran a device build and found a similar dialog: !https://www.evernote.com/shard/s75/sh/5e077f63-5314-45cf-8d1d-175ea47a6184/e3adb9837517d97e7004e48ddcf235b9/res/c27853e8-8d7d-40ba-9f15-854a4c55a7cd.png! When I click "Allow", it proceeds to install the application as expected. When I click "Always Allow", it will never prompt me again. I moved my cert to the "System" keychain, but unfortunately I had already allowed the cert and no longer prompts me. I suspect the "System" keychain version would not show the "Always Allow" button, but I'm not certain. I really don't think this is a Titanium bug. We've seen similar alerts in the past. If you move the cert to your "login" keychain and click "Always Allow", then you should never have this problem again. I'm going to resolve this as invalid. Please re-open if this turns out to be a valid issue.
  2. Malcolm Hollingsworth 2014-09-09

    I can confirm the problem was entirely due to the "iPhone Developer" certificate having been placed into the 'system' folder by default, rather than the 'login' folder which it has now been moved to. Not sure why 'system' was chosen as the default dialog, or if there was some instruction I missed with a clean Yosemite (or simply any OSX) - but either way dragging the the certificate from the 'system' folder and dropping it in the 'login' folder has resolved the problem, it just required one final set of user name and passwords to confirm the move and now there are no further request permissions during any app compiles.
  3. Ewan Harris 2014-09-09

    Attempted to reproduce on: Mac OSX 10.10 Appcelerator Studio, build: 3.4.0.201409032106 Titanium SDK build: 3.4.0.v20140907150914 Titanium CLI, build: 3.4.0-beta Alloy: 1.5.0-beta2 Was unable to reproduce the above issue and did not see any dialog asking me for my mac credentials before installing to device.
  4. Eric Merriman 2014-09-10

    Thanks for following up [~core13], we already were trying to reproduce, hence the later comment from [~eharris]. We'll close this for now and key an eye open for this issue especially with Yosemite.
  5. Lee Morris 2017-03-24

    Closing ticket as invalid with reference to the above comments.

JSON Source