Xcode 5.0.1 iOS 7.0.3 Instruments dev tool is blocked when a script capture is launched - xcode-instruments

Since i upgraded to Xcode 5.0.1 Instruments dev tool is blocked when a script capture is launched.
The same workflow is working when choosing an iso6.1 simulator.
Here are some details:
My Config:
Xcode 5.0.1
Simulator configuration: iOS7.0
SDK version: 7.0
Application deployment target : 7.0
Workflow:
1- in Xcode create a new iOS project .
2- Make sure that target is iOS7, iPhone simulator .
3- Launch the product in Instruments (Click Product ->Profile choose Automation and click Profile)
4- Click stop.
5- In Script panel click Add-> Create.
6- At the bottom of the window Click Record (Button with red dot)
Result : Instruments dev tool is blocked with message "Starting capture" and spinner.
The same workflow is working when choosing an iso6.1 simulator.
I've done re-installing XCode and still get the same problem.
Anyone else have this issue?
Who can help me to resolve this issue ?
Thanks for your help !

Have the same Issue.Could not find adequate solutions ,but you can use Instruments 5.0(Xcode 5.0) and everything will work.

Related

Unity building for iOS - build succeeds but nothing happens

I have a Unity app which successfully builds for iOS with no errors in the console, but nothing happens. No errors, and nothing appears on the connected iPad/iPhone.
I have XCode installed and I created an Apple ID following the Unity Manual, but there's no other special steps listed there to follow.
How do I run my development iOS build on a connected device?
There are a few extra steps you need to take to run your app:
After the build, open the XCode project that was generated.
Select the "Unity-iPhone" root of the project, then select the "Signing & Capabilities" tab.
Enable "Automatically manage signing"
Under "Team", add an account, sign in with your Apple ID, and then select it in the dropdown.
Click the Play button to build and run your project to your device.
On your iPhone/iPad, open Settings > General > Device Management and trust the app.
It should now run.
Tested with Mac 11.2.3 (Big Sur), iOS 14.4, XCode 12.4, and Unity 2019.4 LTS.

iPhone Cannot debug any new projects on my iPhone

When I click my iPhone into the USB port, I hear the clicking sound and on my project it shows checking dd symbols and a little progress bar appears. But, when I click on the drop down list, upper right hand corner, my device does not show up, still says any iOS device. When I click debug, a box comes up saying xcode cannot run using using the selected device.
"No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination"
I checked to see what sdk version my project was using, it is 5.1.
On the organizer it says my iPhone is using software version 5.0.1.1,
Questions,
Do I have to upgrade my iPhone to 5.1?
I went to iTunes to upgrade it and they only had a option for 5.1.1, if I upgrade it to 5.1.1, will it still work with my xcode which has sdk 5.1 not 5.1.1
Any idea how to get my iPhone to work with the new projects created?
Also, the old projects are using sdk 5.1 and they run fine, could it be a different problem?
Just set the "Deployment Target" for targets and project to your device version.
To do this, click the project in the navigator -> info for project and summary for targets. There you find the deployment target.
Hope this helps
Try run a any XCode 3. And open him Organizer. Then will show a question about Collecting device. Press and reconnect a device. Must help. This helps in my case :)

Cant launch iOS app with Instruments on device

App installs, Instruments launch, but drop down in instruments says select target, and the app never launches. Console says
6/14/11 2:36:22 PM Instruments[1951] XRMobileDeviceException while performing application lookup on device : (null)
Device is iOS 4.3.3, regular build and run works and no warnings from Xcode. Profile just doesnt work. Tried cleaning the build, restarting Mac OS and the device. Still no go!
I had the same problem. I didn't solve it, but an easy workaround is to launch the app yourself and then attach to it from the Attach to Process... command in the Target menu in the Instruments window.
I had the same problem, my solution was to initiate instruments from XCODE.
Xcode 11:
Run the app on simulator
Open Debug Navigation (Command + 7)
Click on cpu
Click on “Profile in Instruments”
Xcode 3.2.5
Launch XCODE
Select Device, or Simulator
Up on top Click RUN > RUN WITH PERFORMANCE TOOL > LEAKS
This allowed me to test without giving me that error.
This is in XCODE 3.2.5 that I did this in .. it might be a little different if you are using 4.x

iOS - 'set start-with-shell off' issue when running iPhone application in simulator

I am getting the following error when trying to debug my iPhone application in the simulator.
Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
fcntl$UNIX2003 called from function irc_connect in image KadeChat.
If you are encountering this problem running a simulator binary within gdb, make sure you 'set start-with-shell off' first.
I have done a bunch of Googling on this, and it seems that it might be a bug with the simulator. Does anyone know for sure?
I am building against the 4.2 version of the iOS SDK. Does upgrading to 4.3 fix this?
Thanks!
before this cleanAll build then
In xcode go to Project > set active executable > appname - Iphone 4.0 simulator
then open simulator then go to Hardware > version > 4.0.2
then double click urapptarget and in build tab change "ios deployment target = 4.0"
now run in simulator it will work

xcode cannot find the software image to install this version

I'm new to xCode development and struggling my way through the provisioning system trying to run a Hello World app on a real device. I went through al steps and everything seems fine but one thing:
When i click my device (Iphone 3G running IOS 4.2.1) in the xCode organizer the following message is displayed under Software Version: Xcode cannot find the software image to install this version...
Also the provisioning profiles show no status in the organizer (both in the library and on the device). On the provisioning portal they have the status active.
I hope someone can help me, thanks!!
ps. i am working with xcode 4
Update: OK, I've found the solution -> set deployment target to 4.2 in info tab: https://discussions.apple.com/thread/2780316?start=0&tstar
The message "xcode cannot find the software image to install this version" seen in the organiser window... This is just a notification rather than a problematic error.
If you want to eliminate this message anyway, I found I was able to do this by running restore within iTunes. Part of that process involves downloading some stuff, which I presume is the 'software image'.
But, as explained in Technical Q&A QA1569 "This message does not prevent you from using the device for development purposes. The only effect is the inability to reinstall the OS currently on the device using Xcode." ...and that has been my experience. Back in the main Xcode window you're still able to click 'run' and send the app to the device to run.
...and it will run assuming everything else is set-up OK, but there are various other gotchas related to Xcode 4.2 and v4 devices:
As mentioned by Overbeeke you should ensure the 'deployment target'
of your project is set down to the desired version (the minimum
version of the devices you want to support) Additionally I would
point out that the 'SDK version' should normally remain set to the
latest (it's whatever SDK Xcode on your machine is using)
As mentioned by Kenneth Lam, in the new Xcode you need to frig around
with "armv6/armv7" settings if you want to support earlier models of
iPhone. Follow these instructions to add the right "Architecture" armv6 setting. Additionally I would point out (as per this answer further down) that there is a setting called "Required device capabilities" from which you need to remove 'armv7'. This is in your app's plist file.
I'm saying all this like I'm an expert, but I still can't get it to work on a v3.1.3 device :-)
I think Xcode 4 requires that you are running the latest iOS to use that feature, but you don't need it to install apps on a device. I have run my apps on an iPod Touch 1G (which can't be upgraded to iOS 4.3) with the same iOS as you and it worked.
Have you added your device to the provisioning profile?
What I did is opened the organizer, right click on the device on the left pane and select "Add device to provisioning profile" where you will be asked for your Apple ID (within xcode) and it will add the device to your profile without you leaving xcode, much simpler than using the online portal.
Xcode 4.2 only builds armv7 targets by default. (Iphone 3G running IOS 4.2.1 is armv6) Add armv6 build targets by following these excellent instructions from Nick "Warning: iPhone apps should include an armv6 architecture" even with build config set
just an update, to update the iOS deployment target, click your project in the left pane, the one with the blue 'A' icon. click the build settings tab (not info), instead of showing "basic," show "all." iOS deployment target is in the deployment section.
There could be a number of things, but i would make sure that that your deployment taget in build settings is at or below your target . Check the "deployment section" in the build settings of your project. The default sets the deployment to the highest iOS version, if the ios version is below what is set you will not be able to run the app on that device.