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
Search results for
Xcode
92,319 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Having MacBook Pro with macOS Monterey v 12.7.2 and Xcode 13.3 (13B113) I cannot find a Xcode simulator, which could provide iPhone 6.7 display for my first app's product page' Any advice? Thanks!
How do I use numpy with Xcode?
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.
Can I continue to build my C++ library using Xcode 7.2 and have it work with an application built with Xcode 8.3.x?Xcode release notes don't mention compatibility of software built with different versions of Xcode. Is there another place to look for confirmation of compatibility (or non-compatibility!) .Thanks!quantumreality
is it possible to do without Xcode 5.1.1 ?! if so, how?
How to create python environment in Xcode
Topic:
Business & Education
SubTopic:
General
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 😉
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
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
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?
My Xcode Cloud workflows tell me the 'Latest Release' Xcode that it's using is Xcode 16.1 Release Candidate (16B40) Obviously that is well out of date at this point, plus, an RC is not a release version. How can I tell Xcode Cloud to always use the latest (non-RC) release version?
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
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
Can I download xcode without updaiting to sierra?
Can I submit swift 2.2 app with Xcode 8.2.1 ?
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