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
11
votes
3 answers

Xcode9 iOS export archive fails on correct format

I have an iOS app that is building on both xcode8 (Sierra) and on xcode9 (High Sierra). When I'm doing exportArchive it passes on xcode8 but fails on xcode9. I have the provisioningProfiles section in my plist, and the failure in on correct…
yershalom
  • 786
  • 1
  • 8
  • 19
11
votes
1 answer

"ambiguous use" on generic method after migration to swift 4

I am trying to migrate my code from xcode 8.2 swift 3.0.2 to xcode 9 swift 4, and I have problem with this code: func test(_ fn: (T0) -> TRet) -> Void { print("foo1") print(T0.self) } func test(_ fn: (T0, T1) ->…
tal952
  • 953
  • 12
  • 18
11
votes
1 answer

Pods frameworks in red (unrecognized by Xcode)

So, first, I know this question has been asked before several times. None of the solutions seem to have helped (I think a lot of them are outdated). I'm using Cocoa Pods to include third party frameworks. For a few weeks, the integration was…
Trent Kennelly
  • 165
  • 1
  • 10
11
votes
1 answer

UIRefreshControl() in iOS 11 Glitchy effect

Every time I pull to refresh the TableView, the UIRefreshControl appears to be glitchy. Below is the code I am using. Any Ideas? In AppDelegate: UINavigationBar.appearance().isTranslucent = false UINavigationBar.appearance().barTintColor =…
lePapa
  • 357
  • 2
  • 11
11
votes
3 answers

iOS 11/Xcode 9: UITableViewCell white background flickers on delete

On iOS 11 device on deleting a UITableViewCell unexpected white background appears for some reason however all background colors are set to blue in storyboard (works fine on iOS10). - (void)tableView:(UITableView *)tableView…
Pavel Kozlov
  • 993
  • 6
  • 16
11
votes
3 answers

XCode9: code signing blocked mmap() while running on device

I encountered the following issue after upgrading to XCode9 (Well I could not completely isolate the cause because I re-generated the certificate right after upgrading for enabling Push Service) : dyld: Library not loaded:…
YANG Lei
  • 733
  • 2
  • 7
  • 23
11
votes
1 answer

Xcode 9 Apple TV4 Connect via network

I tried to remotely debug an App running on Apple TV4 (tvOS11) from Xcode 9 but I'm facing an issue as I'm not able to activate the "Connect via network" as this option still greyed/disabled in Xcode 9. I checked if something was wrong in the…
laurent68k
  • 111
  • 3
11
votes
4 answers

iOS 11 Layout guidance about safe Area for iPhone x

My application already in app store, yesterday i have updated my Xcode version to 9 and works fine except iPhone x. UI got collapsed. 1.Here I have Created Two UIView(both are fixed height) named as Header and Tab bar and I have hidden my…
karthikeyan
  • 3,821
  • 3
  • 22
  • 45
11
votes
4 answers

iPhone X - Safe Area does not achieve full-screen experience?

The new HIG for iPhone X available here, specify: "Provide a full-screen experience. Make sure backgrounds extend to the edges of the display, and that vertically scrollable layouts, like tables and collections, continue all the way to the…
Fabrizio Prosperi
  • 1,398
  • 4
  • 18
  • 32
11
votes
5 answers

How to resolve Failed to read file attributes for "/Users/path/myapp/Images.xcassets" in Xcode?

Suddenly I am getting error in Xcode 9 beta like "Failed to read file attributes for "/Users/path/myapp/Images.xcassets" in Xcode?" and unable to build as well I just dragged the "Images.Xcassets" folder to up that's it. I checked targets, Copy…
11
votes
12 answers

Xcode 9 doesn't have any simulator device

I just downloaded xcode 9 beta, but there is no simulator within it. Try to add new simulator but the create button doesn't work. Please help By "no simulator within it" I mean there is option to build with simulator. See . Also, the create button…
sahara108
  • 2,829
  • 1
  • 22
  • 41
10
votes
1 answer

Xcode stuck on "Installing components..."

Xcode keeps getting stuck on "Installing components...", it stops at around 40%. I've let it sit for a whole night, reinstalling it from the App Store and searching for solutions on the internet, but all with no succes. When I Force Quit and restart…
Vic Segers
  • 197
  • 1
  • 1
  • 11
10
votes
1 answer

How one can able to close few simulator devices instead of all opened simulators in Xcode 9

First of all apologised if this question is duplicate or making some hard to understand. As we know that Xcode 9 has feature that we can able to run the app on multiple simulators and we can able to close all of them by force quit or from other…
Gourav Joshi
  • 2,419
  • 2
  • 27
  • 45
10
votes
4 answers

How can I fix the "misplaced views" warning of collection view elements in Xcode 9?

So I use Xcode 9.2, for a month I didn't have this problem working on the project. Today, I remember I changed the navigation bar to be "NOT" translucent in the storyboard. After I unchecked it, these two warnings appeared. I have read and done…
Swift Mage
  • 135
  • 1
  • 8
10
votes
1 answer

The data couldn’t be read because it isn’t in the correct format XCode 9

After upgrading to XCode 9 i can archive the the project and i have run plutil Info.plist to verify the plist was properly but when i try to export to an ipa i receive The data couldn’t be read because it isn’t in the correct format I tried to look…
James Woods
  • 145
  • 1
  • 9