Skip to main content

Questions tagged [xcode7]

Xcode is an IDE by Apple for the development of iOS and OS X applications. Use this tag for version specific questions about Xcode 7.

Filter by
Sorted by
Tagged with
615 votes
27 answers
392k views

The resource could not be loaded because the App Transport Security policy requires the use of a secure connection

I am facing the Problem when I have updated my Xcode to 7.0 or iOS 9.0. Somehow it started giving me the Titled error "The resource could not be loaded because the App Transport Security policy ...
Manab Kumar Mal's user avatar
529 votes
7 answers
215k views

Is it okay to delete the macOS Xcode CoreSimulator devices folder?

My ~/Library/Developer/CoreSimulator/Devices folder is 26 GB. Is it safe to just delete all the content? Will those files be automatically regenerated?
Franck's user avatar
  • 9,139
299 votes
6 answers
150k views

How to trap on UIViewAlertForUnsatisfiableConstraints?

I'm seeing an error appear in my debugger log: Will attempt to recover by breaking constraint <NSLayoutConstraint:0x191f0920 H:[MPKnockoutButton:0x17a876b0]-(34)-[MPDetailSlider:0x17a8bc50](LTR)&...
Maury Markowitz's user avatar
285 votes
6 answers
137k views

What does ENABLE_BITCODE do in xcode 7?

I have a problem with the embedded bitcode term. What is embedded bitcode? When to enable, ENABLE_BITCODE in new Xcode? What happens to the binary when enabled, ENABLE_BITCODE in Xcode 7?
damithH's user avatar
  • 5,168
247 votes
16 answers
113k views

'Project Name' was compiled with optimization - stepping may behave oddly; variables may not be available

Trying to step into AFNetworking code generates following warning: [Project Name] was compiled with optimization - stepping may behave oddly; variables may not be available. And of course I'm not ...
Mojtaba's user avatar
  • 6,023
212 votes
22 answers
124k views

Multiline label in UIStackView

When putting multiline label (with linebreak set to Word Wrap) into a stack view, the label immediately loses the linebreak and displays the label text in one line instead. Why is this happening and ...
Boon's user avatar
  • 41.2k
198 votes
8 answers
191k views

Python in Xcode 4+?

How does one create a Python friendly environment in Xcode 4, 5, 6 or 7?
Tyler Crompton's user avatar
174 votes
24 answers
95k views

Error message '_BSMachError: (os/kern) invalid capability (20)'

Please note that this error message is pretty low level, so it crops up for different reasons in different scenarios. If you have a scenario that isn't mentioned in one of the answers below, please ...
Logicsaurus Rex's user avatar
167 votes
23 answers
60k views

ERROR ITMS - 90167 No. app bundles found in the package

Before I start writing about the error, I'm running on macOS Sierra and using Xcode 7.3.1. So I'm creating an Archive from my App, I validate the App and it passes validation, but when uploading to ...
Charlie Pico's user avatar
  • 2,036
153 votes
6 answers
167k views

Change status bar text color to light in iOS 9 with Objective-C [duplicate]

In iOS 9, how do I change the color of the status bar text to white?
reza_khalafi's user avatar
  • 6,454
149 votes
4 answers
52k views

Why Xcode 7 shows *.tbd instead of *.dylib?

Xcode 7 In Target > BuildPhases > Link Binary With Libraries > tap + button When choosing frameworks to add, you cannot find *.dylib, you'll see *.tbd instead. What is the reason for this? **For ...
Ted's user avatar
  • 23.6k
145 votes
8 answers
61k views

Xcode - There are no dSYMs available for download

I want to extract the dSYM file from but when I click on "Download dSYMs..." in the Organizer I get the follow message: "There are no dSYMs available for download.". I'm using Xcode 7.2 with a ...
Felipe Peña's user avatar
  • 2,828
138 votes
7 answers
108k views

Set deployment target for CocoaPods's pod

I use CocoaPods to manage dependencies in my project. I've written Podfile: target 'MyApp' do platform :ios, '8.0' # Uncomment this line if you're using Swift or would like to use dynamic ...
Andrew Romanov's user avatar
132 votes
9 answers
50k views

'var' parameters are deprecated and will be removed in Swift 3

Alright so I just update Xcode to 7.3 and now I get this warning: 'var' parameters are deprecated and will be removed in Swift 3 How to fix this when I need to use the var in this function: ...
SDW's user avatar
  • 1,900
125 votes
17 answers
46k views

iOS 9 Xcode 7 - Application appears with black bars on top and bottom

Installed the app on iPhone 6 iOS9 and here is what happened. Notice black bars on top and bottom. It works just fine on iOS8. How I can fix it? I've tried building with Xcode 6.4 & 7. Same result....
Mojtaba's user avatar
  • 6,023
120 votes
4 answers
50k views

Xcode 7 Library search path warning

This is the warning that it is showing: directory not found for option '-F/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/Developer/...
arwaz shaikh's user avatar
  • 1,361
118 votes
3 answers
88k views

How do I toggle between Debug and Release builds in Xcode 6 / 7 / 8?

How do I get Xcode to build an OS X app in release mode? I can only seem to find instructions for earlier versions and none of the screenshots match. I didn't see anything when I put "release" into ...
drewish's user avatar
  • 9,292
109 votes
12 answers
56k views

dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib

I have just updated to Xcode 7 and swift 2 and finished fixing the errors that come with the transition. I finally got the project to build, but after the launch screen I get an error saying: dyld: ...
coracora's user avatar
  • 1,337
107 votes
10 answers
37k views

Xcode UI test - UI Testing Failure - Failed to scroll to visible (by AX action) when tap on Search field "Cancel' button

I am trying to dismiss the search field by tapping 'Cancel' button in search bar. The test case is failing to find the cancel button. It was working fine in Xcode 7.0.1 I have added predicate to ...
Vinpai's user avatar
  • 1,729
100 votes
10 answers
59k views

Simulate force touch / 3D touch on iPhone 6S or iPhone 6S Plus simulators

I am trying to simulate a force touch using Xcode 7 GM on the iPhone 6S or iPhone 6S Plus simulator. In particular, I am trying to simulate the force touch on the icon of the test app which is ...
Kris Gellci's user avatar
  • 9,667
98 votes
5 answers
26k views

What is the difference between Embedded Binaries and Linked Frameworks

When using external framework Xcode now has an Embedded Binaries as well as Linked Frameworks section. When you download an external framework and Finder->drag it into Xcode, it will place the ...
Maxim Veksler's user avatar
97 votes
21 answers
55k views

UI Test deleting text in text field

In my test I have a text field with a pre-existing text. I want to delete the content and type a new string. let textField = app.textFields textField.tap() // delete "Old value" textField.typeText("...
Tomasz Bąk's user avatar
  • 6,194
96 votes
10 answers
85k views

Xcode 7 and ENABLE_BITCODE=YES setting does not work

I have followed several threads around the new ENABLE_BITCODE setting in Xcode, have also tried as much as I can (admitted I'm not a xcode pro) but still cannot get the project to compile for use on ...
DirkLX's user avatar
  • 1,337
93 votes
4 answers
53k views

How do I xcodebuild a static library with Bitcode enabled?

Xcode 7 introduces Bitcode, which is some sort of LLVM intermediate binary that means Apple's servers can recompile my app for different architectures without my involvement. At Lookback, I ...
nevyn's user avatar
  • 7,102
92 votes
10 answers
65k views

"Application windows are expected to have a root view controller at the end of application launch" error when running a project with Xcode 7, iOS 9

After running function - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions there is a crash: Assertion failure in -[UIApplication ...
andrew wang's user avatar
90 votes
18 answers
61k views

Is there a way to reset the app between tests in Swift XCTest UI?

Is there an API call within XCTest that I can put into the setUP() or tearDown() to reset the app between tests? I looked in the dot syntax of XCUIApplication and all I saw was the .launch() OR is ...
Laser Hawk's user avatar
  • 2,008
88 votes
29 answers
86k views

Could not automatically select an Xcode project

When i type "pod install" in a correct directory I always get this Analyzing dependencies [!] Could not automatically select an Xcode project. Specify one in your Podfile like so: project 'path/...
kvra13's user avatar
  • 1,119
84 votes
4 answers
12k views

iOS9 storyboard what is unhandled action (handleNonLaunchSpecificActions)?

I've noticed the following error popping up in the console when running my app on iOS 9 when using a storyboard. I'm using xCode7. Is this something I need to be concerned about? -[UIApplication ...
Alex Stone's user avatar
  • 47.1k
83 votes
5 answers
15k views

Google Analytics libAdIdAccess.a does not contain bitcode

Xcode 7 beta 3 just installed some "additional components" (now Version 7.0 beta 3 (7A152u)), and now I'm getting a compiler error: ld: '/<abbreviated>/Vendor/Analytics/GoogleAnalytics/...
bdalziel's user avatar
  • 2,005
82 votes
9 answers
124k views

"Could not find Developer Disk Image"

Recently I've been getting the error: "Could not find Developer Disk Image" I think this happens since I have updated iOS to 9.1 on the iPhone. How can I fix the problem and make Xcode support iOS 9....
Pulkit sharma's user avatar
81 votes
16 answers
25k views

iOS Simulator Screenshots "Wrong Size" for iTunes Connect

I am taking screenshots from my iOS Simulator and trying to put them into iTunes Connect but it continues to tell me that I have the wrong size. They are the same size with the pictures that are ...
Amit Kalra's user avatar
  • 4,105
81 votes
24 answers
38k views

Test target X encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted

I have started working with OCMock to write test cases for the existing project that I have integrated in my project workspace. After following all the steps mentioned in this link. When I first ...
Varun Mehta's user avatar
  • 1,753
80 votes
14 answers
61k views

Refresh devices in team provisioning profile managed by Xcode 7?

It used to be that hitting the refresh arrow/loop button in preferences -> account would pull down a new provisioning profile with all ur new devices. Now it just downloads the ones you already have. ...
Will Larche's user avatar
  • 3,139
78 votes
5 answers
37k views

Xcode 7 ERROR ITMS-90474: "Invalid Bundle", can't submit to Apple

I have an app I'm trying to submit to Apple. I've already validated it. I'm using Xcode 7 and Swift 2. When I try to submit to Apple, I get the following error: ERROR ITMS-90474: "Bundle Invalid. ...
ChallengerGuy's user avatar
74 votes
15 answers
14k views

Cannot verify client 3000

I am using xcode 7.1 and trying to upload my app to the app store directly through xcode. While uploading I am getting a weird error:- cannot verify client 3000 Note:- I recently made changes in ...
pkc456's user avatar
  • 8,498
67 votes
6 answers
27k views

ITMS-90535 Unable to publish iOS app with latest Google Signin SDK

I'm using xcode 7 GM seed and installed latest Google Signin SDK through cocoapods pod "Google/SignIn . I get the attached error when I try to publish my app to apple app store. Help!! Here are ...
Guy's user avatar
  • 3,052
67 votes
4 answers
12k views

Xcode 7 iOS 9 UITableViewCell Separator Inset issue

This is not a question, rather a solution to the problem I faced. In Xcode 7, when the application is run on iOS 9 on iPad devices, the UITableViewCell leaves some margin onto the left side of the ...
stuti's user avatar
  • 751
66 votes
6 answers
34k views

Can not perform `pod install` under el capitan (15A279b)

I ran pod install with El Capitan and got this error: Errno::EPERM - Operation not permitted - /Users/../Pods/Pods.xcodeproj/xcuserdata/root.xcuserdatad Here's my environment: El Capitan (15A279b), ...
MobileDev's user avatar
  • 3,775
66 votes
7 answers
31k views

Storyboard reference in Xcode, where should we use it?

There is one new control in Xcode7 beta named as Storyboard Reference. Below is its image. It has its description as Provides a placeholder for a view controller in an external storyboard. Segues ...
Yogesh Suthar's user avatar
65 votes
7 answers
66k views

Xcode 7 how do you refresh provisioning profiles?

In Xcode 6 you would click on Xcode -> Preferences -> Account -> View Details -> then there would be a little circular arrow. That is gone and there is now a "Download All" button that when pressed ...
user2285278's user avatar
65 votes
6 answers
64k views

Xcode 7 warnings: object file was built for newer iOS version than being linked

I recently integrated Google Cloud Messaging into an app targeting iOS 7 and iOS 8. Just grabbed Xcode 7 beta 4 to get started on iOS 9 support, and now I'm getting an error from the linker: ld: ...
Jony Thrive's user avatar
65 votes
11 answers
75k views

XPC connection interrupted in Xcode 7 for iOS 9

I recently updated to Xcode 7 and upgraded my iPhone to iOS 9. I have developed and released an iOS app that had worked perfectly fine on the latest version of iOS 8 and Xcode 6. Upon trying to go ...
romero-ios's user avatar
  • 1,075
62 votes
13 answers
72k views

Xcode 7: App installation failed: A valid provisioning profile for this executable was not found

I have already searched and almost implemented max solution but it's not installing any app even though if I am creating just sample single view app. App installation failed A valid provisioning ...
Sanoj Kashyap's user avatar
61 votes
4 answers
32k views

changing property contentsGravity in transform-only layer, will have no effect

I started to create a very simple tic-tac-toe game. The main goal is to make the view proportional to all screen sizes of all iOS devices. So I put the image on a ViewController, make it full size of ...
Alex Belke's user avatar
  • 2,203
61 votes
17 answers
51k views

iOS 9 Splash screen is black

My apps' splash screens are all plain black after upgrading to iOS9. Does anybody know why this is? Some of them are using a .xib splash screen and some are using images, but they're all just black ...
andrrs's user avatar
  • 2,289
61 votes
2 answers
30k views

What is the impact of the "Requires full screen" option in Xcode for an iPhone-only app?

For an iPad-only app or a universal app, the "Requires full screen" option tells Xcode/iOS whether the app supports iPad multitasking feature introduced in iOS 9. But the "Requires full screen" ...
goodbyeera's user avatar
  • 3,199
60 votes
5 answers
32k views

Crashlytics: "We're missing a dSYM to process crashes" [closed]

Crashlytics says "We're missing a dSYM to process crashes" and when I try to download dSYMs from Xcode (7.1), I get "there are no dsyms available for download"
Ashish Awaghad's user avatar
59 votes
8 answers
26k views

_BSMachError XCode 7 Beta

I am getting the following error when I am running my code in Xcode7 with Swift2, after presenting a view controller through a push segue: _BSMachError: (os/kern) invalid capability (20) _BSMachError:...
mattgabor's user avatar
  • 2,084
58 votes
35 answers
46k views

No Assistant Results

I am having an issue where the code associated with some of my View Controllers is not showing up in the Assistant Editor window to the right of the Storyboard. It says "No Assistant Results" where ...
Ryan Cocuzzo's user avatar
  • 3,179
58 votes
5 answers
23k views

Getting Framework related warning in Xcode 7.0

error I'm receiving is this directory not found for option '-F/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/...
Sabhay Sardana's user avatar

1
2 3 4 5
79