All Questions

Tagged with
Filter by
Sorted by
Tagged with
909 votes
25 answers
554k views

Xcode error "Could not find Developer Disk Image"

When attempting to run a build on a connected iOS device in Xcode I get the error: Could not find Developer Disk Image I saw that there was a public beta for Xcode, so I installed it. One of the ...
Nathan Kramer's user avatar
530 votes
20 answers
308k views

Take screenshots in the iOS simulator

I want to take a screenshot of my iOS application when it is running in the simulator, and save the screenshot on my Mac. How can I do this?
Shreyash Mahajan's user avatar
523 votes
12 answers
281k views

Missing Compliance status in TestFlight

When I added my latest build for internal testing with TestFlight, I saw that it had a "Missing Compliance" status. Is this a major problem? Why does this appear? How can I resolve this ...
Chandan Jee's user avatar
  • 5,690
513 votes
8 answers
156k views

iPad Multitasking support requires these orientations

I'm trying to submit my universal iOS 9 apps to Apple (built with Xcode 7 GM) but I receive this error message for the bundle in iTunes Connect, just when I select Submit for Review: Invalid Bundle. ...
Cosmin's user avatar
  • 6,823
490 votes
4 answers
94k views

Ignore Xcode warnings when using Cocoapods

I use quite a lot third party libraries which have many warnings in it, after the latest Xcode updates. (for example the Facebook SDK pod) Now all these warnings are shown in my Xcode on the place I ...
KrauseFx's user avatar
  • 11.7k
435 votes
42 answers
262k views

Xcode "Device Locked" When iPhone is unlocked

When I tried to build and run, Xcode said my device was locked. I looked at my iPhone, and it's not locked at all. How do I fix this?
Faisal Syed's user avatar
  • 4,421
362 votes
48 answers
213k views

Xcode error: Failed to prepare device for development

I have updated to Xcode 12.3 beta. device version is 14.2, but Xcode complaining: Errors were encountered while preparing your device for development. Please check the Devices and Simulators Window. ...
Hashem Aboonajmi's user avatar
290 votes
10 answers
139k views

Build fat static library (device + simulator) using Xcode and SDK 4+

It appears that we can - theoretically - build a single static library that includes both simulator and iPhone and iPad. However, Apple has no documentation on this that I can find, and Xcode's ...
Adam's user avatar
  • 33k
286 votes
8 answers
166k views

Processing Symbol Files in Xcode

I was wondering if anyone could tell me what Xcode is actually doing when it says: "Processing Symbol Files" after plugging in your device?
Woodstock's user avatar
  • 22.5k
277 votes
6 answers
91k views

Warning: The Copy Bundle Resources build phase contains this target's Info.plist file

I've separated a project into two builds and given each of them a plist file. Everything works fine, but I keep getting this build warning: Warning: The Copy Bundle Resources build phase contains ...
nevan king's user avatar
  • 113k
253 votes
38 answers
134k views

Launch Screen storyboard not displaying image

I'm trying to get an image to display as the launch screen from my Launch Screen.storyboard file, however the image never displays. I have labels that show up fine, but the image doesn't appear. This ...
shadowarcher's user avatar
  • 3,413
252 votes
18 answers
197k views

iOS app 'The application could not be verified' only on one device

I have two iphone devices( 4s and 5 ) connected to my computer and i am trying to install an application in both the devices. It installs pretty well in iphone 5 but it gives an error 'The application ...
Sunil's user avatar
  • 3,434
242 votes
69 answers
622k views

Apple Mach-O Linker Error when compiling for device

I've just upgraded to xcode 4.0 and I can no longer deploy to iPhone, I get a Apple Mach-O Linker Error, it still works for the simulator though. Ld /Users/yveswheeler/Library/Developer/Xcode/...
241 votes
11 answers
99k views

Xcode 'Build and Archive' menu item disabled

I have been using the new 'Build and Archive' feature of the latest Xcode 3.2.3. I like it. Now I noticed that it is always disabled for some reason. I can't seem to figure out what I changed to ...
toofah's user avatar
  • 4,465
231 votes
20 answers
321k views

missing private key in the distribution certificate on keychain

I have the following problem which I could not find a solution for anywhere. Basically, we have a company developer account (not enterprise) and so in order to submit our app, I requested from our ...
moshikafya's user avatar
  • 3,230
226 votes
3 answers
75k views

What should Xcode 6 gitignore file include?

What should the typical .gitignore include for Xcode 6? Also for information regarding the xccheckout introduced in Xcode 5 see here
Epic Byte's user avatar
  • 33.9k
222 votes
10 answers
356k views

How to create .ipa file using Xcode?

Please tell me the complete procedure to build my app & use it on a real iPhone.
Surjit Joshi's user avatar
  • 3,357
222 votes
25 answers
37k views

Xcode 4 says "finished running <my app>" on the targeted device -- Nothing happens

The app neither installs nor runs on my device. All provisioning profiles are up to date. I've already tried deleting and re-installing them. The status bar shows that Xcode is building my project, ...
D-Nice's user avatar
  • 4,802
220 votes
21 answers
82k views

Converting Storyboard from iPhone to iPad

I have an iPhone application which has a storyboard. Now I want to provide an iPad application too. So I asked me whether there is a function which helps me convert my iPhone storyboard to an iPad ...
dehlen's user avatar
  • 7,335
220 votes
7 answers
153k views

How to check if a file exists in Documents folder?

I have an application with In-App Purchase, that when the user buy something, download one html file into the Documents folder of my app. Now I must check if this HTML file exists, so if true, load ...
Obliviux's user avatar
  • 2,669
219 votes
5 answers
66k views

How do I enter RGB values into Interface Builder?

How can I enter RGB or Hex color values for backgrounds in Interface Builder? I can select predefined colors but I would like to manually enter in RGB values. Where can I do this?
Sheehan Alam's user avatar
  • 60.5k
210 votes
16 answers
235k views

Xcode 4 - "Valid signing identity not found" error on provisioning profiles on a new Macintosh install

I had a Macintosh I used to develop iPhone apps with using Xcode 4. I now have a new Macintosh with a new install of... everything. When opening Xcode projects built on the old Mac, I cannot run the ...
Oliver's user avatar
  • 23.3k
207 votes
55 answers
66k views

Xcode 4 hangs at "Attaching to (app name)"

I just upgraded to Xcode 4 and for some reason my app won't run in the simulator or iOS device. It was working perfectly in Xcode 3, but all of a sudden now when I press run the program stops at "...
195 votes
11 answers
188k views

Xcode/Simulator: How to run older iOS version?

I'm thinking of upgrading to iOS SDK 4.2. But what I'm wondering is if I'll still be able to run the simulator as iOS 3.2. This is because I'm creating iAds for iPad but I still want to check if my ...
Shai UI's user avatar
  • 51.2k
187 votes
32 answers
139k views

Certificate has either expired or has been revoked

A while ago I started coding a new iOS app. After a long break from it, I'm working on it again and have it almost complete. I tested it on the simulator but when I tried to install it on my iPhone 6 (...
user6218736's user avatar
  • 1,871
183 votes
8 answers
117k views

ViewDidAppear is not called when opening app from background

I have a View Controller in which my value is 0 (label) and when I open that View Controller from another ViewController I have set viewDidAppear to set value 20 on label. It works fine but when I ...
Zohaib's user avatar
  • 2,855
182 votes
40 answers
75k views

Cannot generate iOS App archive in xcode

I have a problem generating a iOS App archive from an application. The application compiles just fine and even works in the simulator. Now I wanted to make som ad hoc testing and cannot generate the ...
Filip Majernik's user avatar
174 votes
24 answers
76k views

Could not launch process launch failed: timed out waiting for app to launch

I am trying to launch my app on device. It is launching successfully on the simulator. List item I use 7.1 SDK Xcode 5 And the device is a 7.1 iPhone 4S I have tried: Clean Clean Build Folder ...
user317706's user avatar
  • 2,077
174 votes
30 answers
154k views

Check if my app has a new version on AppStore

I would like to manually check if there are new updates for my app while the user is in it, and prompt him to download the new version. Can I do this by checking the version of my app in the app store ...
user542584's user avatar
  • 2,691
165 votes
17 answers
132k views

iphone: Where the .dSYM file is located in crash report

According to this page here if you have proper application binary and .dSYM file then it is easy to symbolic them. But where are .dSYM and application binary files located?
shweta thakar's user avatar
165 votes
4 answers
75k views

Static table view outside UITableViewController

After the new Xcode update, my app doesn't validate and shows this error: static table views are only valid when embedded in UITableViewController instances Any chances to solve easily?
Francesco S's user avatar
  • 2,185
156 votes
9 answers
106k views

iPhone get SSID without private library

I have a commercial app that has a completely legitimate reason to see the SSID of the network it is connected to: If it is connected to a Adhoc network for a 3rd party hardware device it needs to be ...
Steve Reed Sr's user avatar
154 votes
3 answers
211k views

What is a provisioning profile used for when developing iPhone applications?

What is the purpose of a provisioning profile and why is it needed when developing an iPhone application? If I don't have a provisioning profile, what happens?
user174761's user avatar
  • 1,829
149 votes
19 answers
158k views

Detecting when the 'back' button is pressed on a navbar

I need to perform some actions when the back button(return to previous screen, return to parent-view) button is pressed on a Navbar. Is there some method I can implement to catch the event and fire ...
user avatar
147 votes
36 answers
144k views

Xcode doesn't see my iOS device but iTunes does

I have a strange problem. I have an iPad with iOS 5.0.1 (9A405) and iOS SDK 5.0.1 with Xcode 4.2 (Build 4C199) installed on my Mac. Xcode doesn't see my device. It says "iOS Device" not "Sauron's ...
Vlad's user avatar
  • 2,130
147 votes
6 answers
70k views

How to programmatically display version/build number of target in iOS app?

How can I programmatically get the value of the target version, like in the image below? As seen in the Properties window of the target of my Xcode project. I want to display this in the splash ...
slim's user avatar
  • 4,030
147 votes
10 answers
262k views

How to create P12 certificate for iOS distribution

We have an iOS app whose push notification cert has expired and we're trying to create a new one. I've created new certs in the Provisioning portal (ios_developer.cer, ios_distribution.cer) and ...
RobG's user avatar
  • 1,781
142 votes
12 answers
58k views

How do I type using my keyboard on the iphone simulator?

I used to be able to type with my real mac keyboard after launching the iPhone Simulator. Typing with the on-screen simulator keyboard is just horrible when testing with large amounts of text. No ...
strange's user avatar
  • 9,684
141 votes
8 answers
78k views

How to create fixed space and flexible space bar button items programmatically?

I want to create UIBarButtonItems programmatically and place these fixed space items between buttons.
Linux world's user avatar
  • 3,750
138 votes
12 answers
32k views

You are not authorised to use this service iTunes app upload error [closed]

Since the Apple "Users & Roles" update to iTunesConnect end of november 2015 some people have been experiencing an error message "iTunes Store operation Failed" and "You are not authorized to use ...
Pradhyuman Chavda's user avatar
137 votes
35 answers
210k views

Could not load NIB in bundle

I am trying to integrate Janrain Engage as custom module with Appcelerator Titanium. I have created a sample module and dragged the JREngage folder to the sample module xcodeproj as indicated in the ...
Goje87's user avatar
  • 2,849
136 votes
31 answers
148k views

Reason: no suitable image found [closed]

dyld: Library not loaded: @rpath/libswiftCore.dylib Referenced from: /var/mobile/Containers/Bundle/Application/3FC2DC5C-A908-42C4-8508-1320E01E0D5B/Stylist.app/Stylist Reason: no suitable image ...
Satsuki's user avatar
  • 2,186
133 votes
19 answers
151k views

How to set UITextField height?

I am using a UITextField. I want to increase its height but I have not found any property to do this. How can I achieve this?
Arun's user avatar
  • 3,478
132 votes
11 answers
84k views

Storyboard warning: prototype table cells must have reuse identifiers

I am getting this warning from storyboard - prototype table cells must have reuse identifiers. I have renamed the identifier in the attributes inspector but it does not seem to have removed the ...
K.Honda's user avatar
  • 3,106
129 votes
18 answers
98k views

iPhone Simulator location

Where on my machine is the iPhone simulator installed? I'm been trying to find where a test application I run in the simulator is stored.
teepusink's user avatar
  • 28.1k
127 votes
16 answers
104k views

iOS – Run/Debug/Install builds over Wi-Fi

We have iPad and iPhone devices, but short of wires. Is there any way that we can install/debug the builds over Wi-Fi in iOS? I know the way in Android, but not of iOS.
user avatar
126 votes
14 answers
33k views

Check if UIColor is dark or bright?

I need to determine whether a selected UIColor (picked by the user) is dark or bright, so I can change the color of a line of text that sits on top of that color, for better readability. Here's an ...
Andre's user avatar
  • 4,457
125 votes
14 answers
67k views

Rounded UIView using CALayers - only some corners - How?

In my application - there are four buttons named as follows: Top - left Bottom - left Top - right Bottom - right Above the buttons there is an image view (or a UIView). Now, suppose a user taps on -...
sagarkothari's user avatar
  • 24.7k
123 votes
27 answers
51k views

SourceKitService Consumes CPU and Grinds Xcode to a Halt

This is NOT a Beta issue. I am on Xcode 6.0.1, production release. The issue I am having is that when I try to do a Build or Run the code I am working on, Xcode becomes unresponsive for large periods ...
zeeple's user avatar
  • 5,579
123 votes
4 answers
63k views

Where are ${EXECUTABLE_NAME} and ${PRODUCT_NAME} defined

Where can I find information on how to modify these ${EXECUTABLE_NAME} ${PRODUCT_NAME} These are only displayed in .plist file but where are the actual values. If we can directly modify what ever ...
Hazel Sophie's user avatar
  • 1,365

1
2 3 4 5
559