Questions tagged [xcode9]

This tag should only be used for questions specific to the usage and features of Xcode 9. Do not use this tag just because you are using Xcode to develop your app. General Xcode questions should use the non-version specific xcode tag. Use tags appropriate for the OS such as ios or macos.

Xcode is the complete developer toolset used to create apps for Apple TV, Apple Watch, iPad, iPhone, and Mac. The Xcode development environment bundles the Instruments analysis tool, Simulator, and the OS frameworks in the form of tvOS SDKs, watchOS SDKs, iOS SDKs, and macOS SDKs.

1766 questions
14
votes
2 answers

Interface Builder Inherit Module from Target picking wrong target

I have a project with three schemes, (Debug-MyApp, Beta-MyApp, MyApp). This project has three configurations (Debug, Beta, and AppStore). Moreover, each target builds their respective configurations. When I use a custom class in Interface Builder…
kiyoshi
  • 837
  • 1
  • 8
  • 20
14
votes
2 answers

Can you speed up Xcode's ‘folding’ animations in the code editor?

The title really says the entire question. I’m trying to find a way to speed up the “folding” animations when doing rename-refactoring. While I don’t mind the animations themselves per se, I do tend to get frustrated that they take as long as they…
Mark A. Donohoe
  • 28,442
  • 25
  • 137
  • 286
14
votes
1 answer

How to set drop shadow around a section for UITableView in iOS Swift 4?

I want to set shadow around a every section(group of cells) in iOS Swift. Like this:
reza_khalafi
  • 6,230
  • 7
  • 56
  • 82
14
votes
2 answers

How do I adjust the system settings to allow more simulated devices to boot at once?

I got the following error message when trying to boot my fourth simulator: Unable to boot device due to insufficient system resources. Please see Simulator Help for information on adjusting system settings to allow more simulated devices to boot at…
Erik B
  • 40,889
  • 25
  • 119
  • 135
14
votes
4 answers

Xcode 9 enable Server fails because "xcsd" keychain password

I currently try to setup an Xcode Server with Xcode 9 but I stuck with this Keychain Password request. I guess it has something to do with the previous Xcode/OS X Server Installation as there Xcode Server was part of OS X Server. But how do I get…
MatzeLoCal
  • 392
  • 3
  • 14
14
votes
3 answers

Swift 4 - Notification Center addObserver issue

I'm crashing and getting an unrecognized selector error every time a Notification arrives and the App tries to execute its associated method. Here's my code - which is in viewDidLoad: let notificationCenter =…
Sirab33
  • 1,247
  • 3
  • 12
  • 27
14
votes
7 answers

UIScrollView setContentOffset:animated not working in iOS11

I added a method to make the scroll view to scroll to top of it. This is working as expected in iOS10. But when I upgraded to iOS11 with Xcode 9, it is not working. Is there anything that am missing respective to iOS11. Below code was working: [self…
Jason Liu
  • 151
  • 1
  • 1
  • 5
14
votes
4 answers

Profile is not an "iOS App Store" profile

Using Xcode 9. Working on app store build validation. Created an app with app store profile. Archived successfully Trying to validate build in Organizer, I am getting the following error on selecting the profile. This is the same profile used…
Lithu T.V
  • 19,955
  • 12
  • 56
  • 101
14
votes
2 answers

How to calculate iOS 11 size in different orientation?

I calculate itemSize dependent on safe area for UICollectionView with horizontal scroll and custom layout. But for iPhone X safe area has different size for different orientation. My question is how should I calculate safe area size for landscape…
bogmila
  • 143
  • 1
  • 6
14
votes
1 answer

How to get color from Assets.xcassets?

I've created Color Set in Assets.xcassets, you can see it in screenshot below And my question is How to get this color in code ?
Tikhonov Aleksandr
  • 13,945
  • 6
  • 39
  • 53
13
votes
1 answer

Hide Navigation Bar for a View Controller

I've tried to hide the navigation controller for a single view controller with no luck, the navigation bar is hidden for the first vc, but it's not displaying for the second vc. Here's the code I've used in the first vc: override func…
Jonathan Solorzano
  • 6,812
  • 20
  • 70
  • 131
13
votes
5 answers

dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib Reason: image not found

I'm getting this error upon launch of my app. I am building under Xcode 9.0 (9A235) on MacOS High Sierra 10.13. I also tried building under Xcode 8.3.3 with the same result. The project is generally Objective C, but the framework…
drewster
  • 5,460
  • 5
  • 40
  • 50
13
votes
1 answer

iOS 11, Xcode 9 Error: NSURLConnection finished with error - code -1100

I'm getting this error when working in JS and Ionic 3. I'm testing on my iPhone 7 plus with iOS 11 and Xcode 9. NSURLConnection finished with error - code -1100 Anyone got a similar error in the past?
Dimitri
  • 2,240
  • 3
  • 21
  • 39
13
votes
4 answers

iTunes reject App Store Icon in tvOS 11 and Xcode 9

I faced with a problem in Xcode 9 (works fine in Xcode 8 before). I can't upload tvOS build because of incorrect image asset for App Store icon. But App Store icons have exactly 1280x768 size and 3 layers. I was able to upload build to iTunes before…
Vitalii Gozhenko
  • 9,220
  • 2
  • 48
  • 66
13
votes
8 answers

dyld: Library not loaded: @rpath/libswiftCore.dylib on Xcode 9 only

I recently upgraded to Xcode 9 from 8.3.3. Our project is written in Objective-C as are all the other frameworks we use. I have added a framework which is written in Swift (version 3.0). In Xcode 8, I am able to build and run the project without…
joe muoio
  • 171
  • 1
  • 6