Search results for

Xcode

92,321 results found

Post

Replies

Boosts

Views

Activity

Reply to Using NSCollectionView 10.11 features in 10.10 and 10.9
HI, David,I am trying to navigate the same waters as you. The properties and methods declared in the new header are definitely for 10_11 and up. However, I did attempt to run the CocoaSlideCollection sample code in Yosemite after building it with 10_10 as deployment target. It ran, but it failed to select JPEGs when browsing.My expectation is that we will have to run different code for NSCollectionView and maybe load different NIBs, depending on the outcome of a test for OS X version. I have a question in to Apple about that.Best regards,Tom McVay
Topic: UI Frameworks SubTopic: AppKit Tags:
Jun ’15
Xcode 7 view controller in embedded framework
Hi,I create a test project:Xcode7SwiftModule is main programSection1 is an embedded frameworkHere my Main.storyboard with the FirstViewControllerThe last element it's a Storyboard Reference object define like this:In Section1 (my embedded framework) I have another storyboard Section1.storyboard with the SecondViewControllerI can build my test project, display the FirstViewController but when I click on Go to Section1ViewController the application crash with the message:2015-06-16 15:05:32.920 Xcode7SwiftModule[7494:1712281] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Section' in bundle NSBundle </...../Developer/CoreSimulator/Devices/C0FD9F5E-F49E-44A8-8464-C96560ED312C/data/Containers/Bundle/Application/480FA9F7-F979-47A8-A5F6-138A5D98855E/Xcode7SwiftModule.app> (loaded)'It's like the Storyboard Reference object ignore the path in the bundle field (?!?!?)How I can create the link between my FirstViewController in the main story
2
0
1.3k
Jun ’15
Reply to Auto generate swift protocol placeholders in implementation class
Below is an example of the Xcode feature I was thinking of.protocol SomeProto { func returnInt() -> Int func returnString() -> String func returnValueType() -> CGRect func returnADT() -> [String] func returnOptionalClass() -> NSDateFormatter? func returnClass() -> NSDateFormatter}X-Code would complain it does not conform to protocol)class SomeProtoImpl : SomeProto {}Using Xcode new Fix-it feature it would generate default(dummy) implementations as depcitedbelow of the required protocol functions making SomeProtoImpl compile and then you replacethe dummy logic with the actual logic you would like to implement.class SomeProtoImpl : SomeProto { func returnInt() -> Int { return 0 } func returnString() -> String { return } func returnValueType() -> CGRect {return CGRectZero} func returnADT() -> [String] { return []} func returnOptionalClass() -> NSDateFormatter? { return nil} func returnClass() -> NSDateFormatter { return NSDateFormatter() }}
Jun ’15
Reply to .m and .h files not being added to target
If you are using the El Capitan seed, be aware that application-specific options that are added to the save sheet are now collapsed by default. There is an Options button in the bottom left of the save sheet that will disclose them. Xcode puts target membership choices and group coices in those options when creating new files.
Jun ’15
"Unable to install" on devices that have never been touched by XCode
Hello everyone,I'm having this strange issue. You see, we uploaded a new version of our application to itunes connect, and we sent it to the internal testers. However, only those where we installed some version of the application directly through XCode at some point are the ones who can install it via testflight.Our devices where the app has never been directly installed through XCode cannot install the application right now through testflight (the download gets to around 98% and the says that it was unable to install, even if they had downloaded a previous version of the application through Testflight successfully at some point).So, I'm assuming, maybe there's something in the XCode settings? It seems like something quite specific.
0
0
199
Jun ’15
Illegal Instruction: 4
With optimizations on the Swift compiler of Xcode 7 now crashes with Illegal Instruction: 4. Apparently something is not yet implemented.Not yet implemented UNREACHABLE executed at /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-700.0.38.1/src/swift/lib/SILPasses/Utils/CFG.cpp:522! 0 swift 0x0000000107d93e0b llvm::sys::PrintStackTrace(__sFILE*) + 43 1 swift 0x0000000107d9454b SignalHandler(int) + 379 2 libsystem_platform.dylib 0x00007fff9110af1a _sigtramp + 26 3 libsystem_platform.dylib 0x000000000000ffff _sigtramp + 1861243135 4 swift 0x0000000107d94346 abort + 22 5 swift 0x0000000107d4de21 llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) + 481 6 swift 0x000000010625b160 swift::splitEdge(swift::TermInst*, unsigned int, swift::DominanceInfo*, swift::SILLoopInfo*) + 2992 7 swift 0x000000010625b294 swift::splitEdgesFromTo(swift::SILBasicBlock*, swift::SILBasicBlock*, swift::DominanceInfo*, swift::SILLoopInfo*) + 212 8 swift 0x0000000106113dda (anonymous namespace)::Swif
2
0
1.5k
Jun ’15
Reply to Paired Watch not appearing in Xcode
Also: try launching the camera companion app on the watch. This typically works to jump start the watch->phone data connection.But in all honesty I think getting Xcode to recognize your watch is only the first hurdle. I still haven't been able to debug on-device with my iPhone 5 and watch. It seems like data transfer is just too slow between the phone and the watch right now, it always times out or hangs.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Xcode Server
I'm trying to setup an XCode 7 Build Server and don't have any development teams to signup for. Is this the same way to get certificates to work with the server in XCode 7?http://stackoverflow.com/questions/25913665/how-do-i-add-certificates-for-os-x-server-3-2-1-with-xcode-6-0-1
1
0
311
Jun ’15
Reply to Core Data in swift 2
Watch the What's New in Swift talk. Since `executeFetchRequest` is a throwing method (https://developer.apple.com/library/prerelease/ios/documentation/Cocoa/Reference/CoreDataFramework/Classes/NSManagedObjectContext_Class/index.html#//apple_ref/occ/instm/NSManagedObjectContext/executeFetchRequest:error:), you need to wrap it in a `do { ... } catch { ... }`. So I think it should look like this:do { ... let results = try managedContext.executeFetchRequest(request) as! [StockCode] } catch { fatalError(Fetching from the store failed) }This is based on my take away from the talk. I still haven't downloaded Xcode 7 :[
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Xcode Server 7
Trying to create a Xcode 7 server. The archive and everything are being created perfectly by the bot, however the user installable .ipa file is not. Xcode is returning the following error:exportArchive: exportOptionsPlist error for key 'uploadSymbols': expected a value of class NSNumber, but found (null)Has anyone seen this before?
8
0
4.9k
Jun ’15