Search results for

Xcode

92,319 results found

Post

Replies

Boosts

Views

Activity

compile CaseIterable in Xcode 9 but not in Xcode 10
Can anybody tell me a clean way to compile a Swift protocol and its implementation in Xcode 9 but not in Xcode 10?I tried various options, including some based on conditional compilation like #if swift(>=4.2), and currently use a very ugly method based on duplicating the target. I wonder if there isn't any clean way.The concrete reason is the protocol CaseIterable. I welcome the addition of this protocol to Swift 4.2 in Xcode 10, as it enables iterations over all cases of an enumeration. I look forward to removing my own implementation of that protocol, which was based on the fact that hashValue and rawValue in an enumeration used to return the same thing (described at various places, in this blog for example). This implementation does not work in Xcode 10 anymore, since hashValue has changed. That should not be a problem, I can just use the new compiler-supported implementation of CaseIterable, right? Unfortunately I cannot see a clean way of excluding my implementation
16
0
3.9k
Jun ’18
Xcode Cloud won't load from Xcode or App Store Connect
I am setting up a new app and am having problems with Xcode Cloud. From Xcode if I click on the Cloud button under the Report Navigator I get a spinner for a long time then get the message Could not load Xcode Cloud data. I also visited the Xcode Cloud tab under my app in App Store Connect and I get a spinner and nothing loads. This is a recent account and I'm setting up Xcode Cloud for the first time. Below is what I've tried and I'm out of ideas on how to get this working. In Xcode, I signed out and back in as the Account Holder Closed Xcode and reopened This occurred yesterday and today and have not seen a problem under the Apple System Status page On the latest Xcode 16.2 Checked the Signing & Capabilities tab in Xcode and my team a bundle Id is correct and it's happy with signing. At this time on my machine I am using the distribution profile.
13
0
1.5k
Feb ’25
Reply to Xcode Source Editor Extension - single character selection range
Hey! Your code logic isn't right.start.column is the offset of te cursor from the BEGGINING of the line, so column zero would be exactly the begining of the line, even if there are any spaces or tabs.Column zero would be right before the first letter of this sentence.So if you want to know if theres no selection you should instead check:start.column == end.column // No selectionOr if you want to check for only one character or n number of characters selected you should do this:start.column == (end.column - 1) // only one character selected start.column == (end.column - x) // only X number of characters selectedBTW, I finished my xcode extension two days ago and I'm still not able to use it in Xcode 8 final because of a **** bug. 😠 but that's another problem.Hope this helps 😉
Sep ’16
Error while calling NWListener in xcode 10.1
I have xcode 10.1 and using mac os development target 10.14 While calling the below line it is giving following error listener = try! NWListener(using: .tcp, on: self.port) dyld: lazy symbol binding failed: Symbol not found: nwtcpcreateoptions Referenced from: /Users/radhika/Library/Developer/Xcode/DerivedData/test2-dizzlvivbbforkeiqgrkxldrweer/Build/Products/Debug/test2 (which was built for Mac OS X 10.14) Expected in: /usr/lib/libnetwork.dylib dyld: Symbol not found: nwtcpcreateoptions Referenced from: /Users/radhika/Library/Developer/Xcode/DerivedData/test2-dizzlvivbbforkeiqgrkxldrweer/Build/Products/Debug/test2 (which was built for Mac OS X 10.14) Expected in: /usr/lib/libnetwork.dylib Program ended with exit code: 9
2
0
330
Jul ’20
Reverting Xcode 12 autocomplete to Xcode 11 style
Is there a way to revert the Xcode autocomplete style to the Xcode 11 one? In Xcode 12, when typing, for example: UIFont( The autocomplete shows: () (descriptor:size:) (name:size:) Previously, it would show: () -> UIFont (descriptor: UIFontDescriptor, size pointSize: CGFloat) -> UIFont (name fontName: String, size fontSize: CGFloat) -> UIFont? Its really inconvenient not being able to see the input type of all of them. It only shows you the full thing for the highlighted one below the table. Is there a way to show them again?
1
0
847
Aug ’20
Xcode 12.2
Where do I download the Xcode 12.2 beta for iphone or computer I can’t find it the one I seen you need a Mac but I know there’s a release for iOS I just don’t know where to download it please if anyone can help me get the Xcode and altool
1
0
232
Nov ’20
Xcode Keychain
Hi,I just startet using Xcode and tried to write one of my first little apps. By using the Xcode simulator it works just fine, but when I tried to use my own iPhone to test it, it wanted my password to get into my Keychain account. I forgot the password at that time and so to close this pop-up I hit don't allow. Unfortunately every time I try to upload may code to my iPhone the Build fails. It says:/Users/MaximilianFries/Library/Developer/Xcode/DerivedData/LED_Uhr-bqirsotpaupqywfdikvowlxmgksb/Build/Products/Debug-iphoneos/LED Uhr.app/Frameworks/libswiftCore.dylib: unknown error -1=fffffffffffffffferror: Task failed with exit 1 signal 0 { /usr/bin/codesign '--force' '--sign' '8B57842E538ECD83F378F14E79269DF3F311489A' '--verbose' '/Users/MaximilianFries/Library/Developer/Xcode/DerivedData/LED_Uhr-bqirsotpaupqywfdikvowlxmgksb/Build/Products/Debug-iphoneos/LED Uhr.app/Frameworks/libswiftCore.dylib'}I already deleted all files in the Derived folder and reinstalled Xcode
4
0
4.1k
Oct ’17