Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5055] Can't profile app in Instruments - cannot acquire necessary permissions

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2017-07-19T19:22:38.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
Reportereric harms
AssigneeShak Hossain
Created2017-06-23T18:11:53.000+0000
Updated2017-07-19T19:22:38.000+0000

Description

Hello, Not sure if this is a bug or not, but I am having a very hard time finding an answer on this, and I can't profile my app so for me it's pretty important. I am trying to run Xcode Allocations on my app on my device, and I'm receiving the error message in the attached image. I followed the instructions for running Instruments here https://docs.appcelerator.com/platform/latest/#!/guide/Managing_Memory_and_Finding_Leaks-section-src-29004941_ManagingMemoryandFindingLeaks-MonitoringallocationsoniOS I can't find any information on this error message, or anyone that has had this issue. My app is correctly signed and the certs and profiles are up to date. To reproduce, I simply run Allocations and hit record on my app. If I try to record a running app on my device with live view on, the app crashes. If I build a non-live view version I just get the error message in Allocations. My build script that is generated when I run my build script via bash /Users/xxxxx/.nvm/versions/node/v4.2.2/bin/node /Users/xxxxx/.appcelerator/install/6.2.0/package/node_modules/titanium/lib/titanium.js build -b -p ios -T dist-adhoc -R DISTCERT --sdk 6.0.4.GA -V DEVCERT -P b5a97126-705a-4bb5-8d12-ef8301be5e8d -O /Users/xxxxx/Documents/Appcelerator_Studio_Workspace/PROJECTNAME/dist --config-file /var/folders/ql/wkc3wf7s0cgbkl3hnct6sdcr0000gp/T/build-1498239722781.json --log-level info --no-banner --project-dir /Users/xxxxx/Documents/Appcelerator_Studio_Workspace/PROJECTNAME Please advise. Thanks

Attachments

FileDateSize
Device_results 2017-06-29 at 11.37.30 PM.png2017-06-29T17:41:00.000+0000244991
Screen Shot 2017-06-23 at 10.46.32 AM.png2017-06-23T17:54:25.000+000038683
Test-Results 2017-06-25 at 3.07.38 AM.png2017-06-24T21:14:42.000+0000213949

Comments

  1. Mostafizur Rahman 2017-06-24

    Hello eric harms, I have tested this issue on latest SDK 6.1.0.GA and cannot reproduce it as an issue. *Testing environment:* Ti SDK: 6.1.0.GA Appcelerator Command-Line Interface, version 6.2.0 iOS simulator: iPhone 6s (iOS 10) *Testing Results:* Check the results on attachement image: !Test-Results 2017-06-25 at 3.07.38 AM.png|thumbnail! N.B. If I build a non-live view version I just get the out comes in Allocations. Thanks
  2. eric harms 2017-06-25

    Hi, Can you try with a device? Thanks
  3. eric harms 2017-06-25

    I can confirm it works for me on a simulator. However we have some things in the app such as the camera, which does not work in the simulator, so I'd prefer if I could perform tests on a device so that I can get through a full use case. Thanks
  4. Mostafizur Rahman 2017-06-29

    Hi [~eric.harms@gmail.com] I have tested on real devices iPod 5G and its also working for me. Please see the below image !Device_results 2017-06-29 at 11.37.30 PM.png|thumbnail! Thanks
  5. Sharif AbuDarda 2017-07-03

    Hello [~eric.harms@gmail.com], We can't reproduce it on simulator and device. Can you tell us what device are you using?

JSON Source