Issue: During app execution, the intended method is not being called; instead, the method preceding (written above the intended method) is being executed. For Example: //In my case the ViewController class is at 3rd level of inheritance. class ViewController: UIViewController { func methodA() { print(methodA) } func methodB() { print(methodB) } } let vc = ViewController() vc.methodB() Output: //methodA Expected: //methodB Observations: Recent code changes have revealed that enabling the below Swift-6 flag leads to this linking issue. When this flag is commented out, the problem disappears. .enableUpcomingFeature(InternalImportsByDefault) Additionally, moving the intended method into an extension of the same class resolves the issue when the flag is enabled. Conclusion: To resolve the issue: Comment out the Swift-6 flag. Alternatively, move the method into an extension of the same class, which addresses the issue for this specific case. I had similar issue in other class where it crashes with
Search results for
Swift 6
49,211 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Okay I've re-tried this in Xcode 13 beta 6 and the problem appears to have fixed. Yay! swift-driver version: 1.62.3 Apple Swift version 5.7 (swiftlang-5.7.0.123.8 clang-1400.0.29.50) Target: x86_64-apple-macosx12.0
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Xcode 9.2 - Swift 4 - Alamofire 4.6.0 - PHP7 - AWS Beanstalk I'm using Alamofire to get data from a php API in my xcode project.I'm only getting part of the response back, ie 3 posts rather than 10, and I consistently get the following error.[BoringSSL] Function boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alertI've searched Stack and AppleDev for a solution, but so far nothing.Anybody ever seen or solved this problem before???
hey i hav iphone 6 and am getting 5hours of battery backup..now am wondering if i update my phone to ios 11 beta wat gonna happen..is ios11 has battery issue..??
I have a podcast player app uses NSURLConnection sendSynchronousRequest to get the episode list from the podcast feed. The URL for one of the podcast feeds has a username and password (http://username:password@hostname/path). Creating a request (NSURLRequest) with this URL, I use NSURLConnection sendSynchronousRequest. It returns with no error on all devices, but has the episode list content on iPhone 4S/5 and no content on iPhone 6/6 Plus.The URL for the other podcast feed has no username/password and works fine on all devices.Any idea what is up?alan
Read instructions carefully: https://developer.apple.com/wwdc22/swift-student-challenge/ Have graduated from high school or equivalent within the past 6 months and be awaiting acceptance or have received acceptance to an accredited academic institution. So if you got your degree less than 6 month ago, that is OK.
Topic:
Community
SubTopic:
Swift Student Challenge
Tags:
My son built a site for my wife. It's done pretty well, but doesn't work on iPhone 6 or 6+. It seems to work on previous iPhones and other brands. I get a problem repeatedly occurred. Thx
Thank you for responding ... Does your response (combined with bob133's) imply if I use current tools (xcode7) and code in Obj-C (rathern than Swift) and make my build target iOS 6 then I could make simple apps that'll run OK on iOS 6-8 devices?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
As the title mentioned, I got 'error abort trap 6' after I update xcode 9.3 to 10.1 then compile the Project. The Detail report is in the file.txt.I had upgraded my code from swift3.0 to swift 4.2, and got the error again.What's wrong with that?<unknown>:0: error: fatal error encountered while reading from module 'MyProject'; please file a bug report with your project and the crash log*** DESERIALIZATION FAILURE (please include this section in any bug report) ***could not find 'init(coder:)' in parent class0 swift PrintStackTraceSignalHandler(void*) 1 swift SignalHandler(int)2 libsystem_platform.dylib _sigtramp 3 libsystem_platform.dylib _sigtramp 4 libsystem_c.dylib abort 5 swift swift::ModuleFile::fatal(llvm::Error) 6 swift getSILDeclRef(swift::ModuleFile*, llvm::ArrayRef<unsigned long long>, unsigned int&) 7 swift swift::SILDeserializer::readSILInstruction(swift::SILFunction*, swift
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Ah...see if this SO thread applies to your example: http://stackoverflow.com/questions/24057756/import-framework-in-swift-project-xcode-6-0-beta
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Hey everyone,I need to downgrade an old iPad Mini 1 back to IOS 6 which automatically went to IOS 9. It is really important to have this version as an app tester and possibly later a coder. I have an .IPSW file of IOS 6 and am wondering if you might be able to change some code to make it think it is somthing like IOS 9 while it actually is IOS 6.Any ideas are welcome. Thanks in avance!
Hi guys,after switching to Swift 2.0 and Xcode 7 Beta 6 I'm getting a lot of EXC_BAD_ACCESS errors which make developing with that version completely impossible. Any ideas how I could fix that?
Hey there,Upon creating a new build and .ipa of our application apple pay looks to be crashing sometimes on the IPhone 6 and 6+ models. It looks to be blowing up when it tried to invoke canMakePaymentsUsingNetworks on the PKPaymentAuthorizationViewController. Our code implementaiton of this has not changes and it works fine on the 7 and X, but only after a few tries on the 6 and 6+. Our analytics tool is throwing SIGSEV crashes that look something like thisThread 3 Crashed: 0 libobjc.A.dylib 0x000000018281d7f4 objc_object::release() + 16 1 PassKitCore 0x0000000195e5bfc4 +[PKPaymentAuthorizationCoordinator canMakePaymentsUsingNetworks:webDomain:] + 76 2 SalesAndServiceApplication 0x0000000100b3b528 __45-[ApplePayImpl canMakePaymentsUsingNetworks:]_block_invoke (ApplePayImpl.m:44) 3 libdispatch.dylib 0x0000000182f36a54 _dispatch_call_block_and_release + 24 4 libdispatch.dylib 0x0000000182f36a14 _dispatch_client_callout + 16 5 libdispatch.dylib 0x0000000182f3dbc8 _dispatch_que
Hi All,I created an app that is optimized for iPhone 6+ and used autolayout to work for other sizes. When clicking the different iphone sizes within the storyboard of xCode, the buttons are layout correctly (from the assigned constraints) and looks great. However, when launching the app after downloading it from the app store with an iPhone 5 or 6, my buttons are cropped. It appears to be sized for an iPhone 6+, even though I am using Autolayout. Also, when I select the iPhone 6 size class from the storyboard of xCode, then download/run the code on iPhone 6, the layout configures correctly for the size.Any clues as to why autolayout does not enable for the deployed version for iPhone 5 and 6? Did I forget to set or configure something?Thanks, RoboChow
i am using a book to learn Xcode 6 and the Xcode 7 does not work with code on the book,give us time and publisher who wrote a book for xcode 6 and swift 1.2 ... omg ... if you can not help don't give us instruction of xcode 7 we already knowyou should tell us before we doing update which is work and which not workingwhat i do with my book ... i wait for to fix it or i burn it take 1 year for publsher to write of Swift 2, that was idiat beta ever
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: