Search results for

Swift 6

49,190 results found

Post

Replies

Boosts

Views

Activity

linker command failed with exit code 1 (use -v to see invocation)
Ld /Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator/ExampleApp.app/ExampleApp normal i386 cd /Users/nathan/Desktop/Xcode App/ExampleApp1/ExampleApp export IPHONEOS_DEPLOYMENT_TARGET=9.0 export PATH=/Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator -F/Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator -f
14
0
16k
Jun ’15
WWDC Platforms State of the Union Notes
ADC account will now cover Mac, iOS and watchOSOne ADC membership covers all - $99/yeariOS 9 will take up 1.3 GBs of space. OS updates will automatically download overnight.iOS app-slicing - Developer submits an app to the App Store, App Store will deliver to the device only the component parts of the app that the device can use. Don't have the fast CPU on the device? App Store will leave out the fast-CPU dependent parts of the app.iOS passcode are now going from four digits by default to six.System Integrity ProtectionProtects system filesNo installing in system locationsProtects system processesFor developers, streamlined developer workflow to accommodate System Integrity Protection.Utility available in the Recovery partition to disable System Integrity Protection.IPv6:Use the standard networking frameworksAvoid IPv4-specific APIsAvoid hard-coding addresses in appsImproved right-to-left language support, important for languages like Arabic or Hebrew.Improved link support in iOS 9. Click on a link will open
8
0
5.8k
Jun ’15
Reply to Open-Sourcing Plan
Linux is also easier since it is much further along the road with the LLVM support. Google had been working on an LLVM implementation for Visual Studio as a plugin with compatibility, and now Microsoft is working on some LLVM implementation.... but as far as I know it is not as mature. Swift has a dependancy on the LLVM.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Mail.app keeps crashing
Mail.app seems there is a nil error somewhere. tried to delete container and library contents for mail. after mail.app begins fetching new mails crash occurs...09.06.15 02:10:10,521 Mail[5854]: An exception occurred during invocation of -[MFMessageRouter _routeQueuedMessages]09.06.15 02:10:10,522 Mail[5854]: *** setObjectForKey: key cannot be nil09.06.15 02:10:10,523 Mail[5854]: ( 0 CoreFoundation 0x00007fff83a9031c __exceptionPreprocess + 172 1 libobjc.A.dylib 0x00007fff8a069c48 objc_exception_throw + 48 2 CoreFoundation 0x00007fff8396cb78 -[__NSDictionaryM setObject:forKey:] + 2296 3 MailCore 0x00007fff81d21ca6 -[MCJunkRecorder setImageJunkInfo:forKey:] + 98 4 MailCore 0x00007fff81d45861 -[MCMimePart(StringRendering) renderString:] + 3030 5 MailCore 0x00007fff81d449cc -[MCMimeBody(StringRendering) renderStringForJunk:renderPart:] + 264 6 MailCore 0x00007fff81d44c5b -[MCMimeBody(StringRendering) renderString:] + 141 7 MailCore 0x00007fff81d4477f -[MCMessage(StringRendering) renderBody:] + 98 8 MailC
12
0
3.6k
Jun ’15
tableviewcontroller to tabbarcontroller
Having a tough time trying to push a tabbarcontroller into view from a tableviewcontroller. I don't get any errors, but the tab bar on the tabbarcontroller is empty and the view is black. If I set the tabbarcontroller as 'is initial view controller' it works as expected. So for some reason there is a problem when I try to push the tabbarcontroller into view via code.I am using swift and XCode 6.3.2.Any help would be appreciated.
Topic: UI Frameworks SubTopic: UIKit Tags:
5
0
1.2k
Jun ’15
Arrays of tuples
In Swift 2, I created an array of tuples and try to append an item such as: var foo = [(Int, String)]() foo.append((400, Bad Request))I get an error:error: missing argument for parameter #2 in call foo.append((400, Bad Request))However, if I do: var foo = [(Int, String)]() let e = (400, Bad Request) foo.append(e)It compiles.This code worked with the previous version of XCode and Swift, and the release notes don't make any mention of changes to tuples.Is this a bug or am I doing something wrong?
4
0
5.2k
Jun ’15
Reply to linker command failed with exit code 1 (use -v to see invocation)
Ld /Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator/ExampleApp.app/ExampleApp normal i386 cd /Users/nathan/Desktop/Xcode App/ExampleApp1/ExampleApp export IPHONEOS_DEPLOYMENT_TARGET=9.0 export PATH=/Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator -F/Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator -f
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Swift 2 crashing on where clause inside if-let
Converting my app to use Swift 2, and I'm getting a crash on this if-let where clause (that worked in 1.2):Used to look like this:if showFilterButton { if let dataController = dataController() as? FilteredCoreDataController, filter = dataController.filter where filter.customized { filterButton = UIBarButtonItem(image: UIImage(named: FilterFilled), style: .Plain, target: self, action: showFilters:) } else { filterButton = UIBarButtonItem(image: UIImage(named: Filter), style: .Plain, target: self, action: showFilters:) } } else { filterButton = nil }But it crashes on line 2. Finally discovered that removing the where clause doesn't crash the app (but obviously doesn't give me the behavior I want). Thought it was something weird like Apple changing how where clauses with in an if-let clause, but even separating it out into a nested if doesn't work:if showFilterButton { if let dataController = dataController() as? FilteredCoreDataController, filter = dataController.filter {//where filter.customized { if
1
0
466
Jun ’15
No Service
In the past week, my iPhone 6 (Verizon, iOS 8.4 b3) has lost the ability to connect to cellular. Restoring to 8.4b3 and 8.3 haven't helped. Sometimes shows full service but with 1x in the status bar and can't actually connect to make a call or text or any data. I believe it may be a hardware issue, but I wanted to see if anyone else was experiencing this?
1
0
434
Jun ’15