Search results for

Xcode

92,321 results found

Post

Replies

Boosts

Views

Activity

Xcode - Offline access to API documentation, class reference
Hi everyone,In Xcode I want to be able to access API docs and class reference etc even when I'm offline. However for some reason it's only available when I'm online.I'm using Xcode 6.3.2. I've already gone to Prefreences -> Downloads -> Documentations and downloaded the items iOS 8.3 and Xcode 6.3 (not doing Mac OS developmenet so left it out). However if I'm offline and go to Help -> Documentation and API Reference, I can see the content menu on the left hand side (root items are: iOS 8.3, OS X 10.10.3, Xcode 6.3), however if I click on any of the items under iOS 8.3, the right hand side remains blank and says No Content on the middle column. Items under OS X are the same but that's expected. Curiously, the items under Xcode 6.3 are accessible. Any help will be much appreciated!CK
1
0
3.1k
Jun ’15
Reply to New but excited
I haven't gone through it myself, but several people I know have recommended the Programming Methodology podcast/course from Stanford on iTunesU for beginners to programming.https://itunes.apple.com/us/itunes-u/programming-methodology/id384232896?mt=10There are a lot of other great courses on iTunes U, including Stanford's course for creating your first iOS app with Swift, but it assumes you have some programming experience in other languages.Other than that, just trying to work through some of the Swift tutorials on the web (google: swift beginner tutorial), would be a way to get started.With Swift tutorials you will need to pay attention to the version of Swift or version of Xcode recommended, since Swift has been changing rapidly and some of them will be out of date. Hopefully some other people here can give specific suggestions of good Swift tutorials that have been updated (to Swift 1.2 for XCode 6.3, or Swift 2 for Xcode 7 beta).
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Will Xcode 7 exit beta before iOS 9 is released?
Working on a new app not in the app store targeting iOS 8. We're building it with Swift 1.2, and am interested in migrating to Swift 2 to take advantage of some of the newer features of the language. However, we're hoping to release to the app store before Fall. Is Xcode 7 going to stay in beta until iOS 9 is released in the Fall, or is it likely to exit beta before then?
2
0
489
Jun ’15
Accept license agreement?
I'm trying to install Server on my 10.11 beta machine, and connect it up to Xcode 7 beta so I can use it as a build server. Xcode 7 and Server each open just fine. However when I try to point Servrer at Xcod 7 beta it won't connect with it. I get an error message asking me to open Xcode 7 and accept the licence agreement...which I did.)It's similar to this issue (https://discussions.apple.com/thread/6582858), but that solution didn't work. Any hints at how I can resolve this deadlock so I can move on and setup my build server?
7
0
1.3k
Jun ’15
Reply to New but excited
As LCS suggested, the stanford course in iTunesU is exceptional. The Winter 2015 course teaches swift and iOS 8, and is a good start on how to do iOS applications, but as LCS also pointed out, it assumes some basic programming knowledge.Do NOT start with any of the beta stuff - Swift 2.0 or XCode 7. You will have a nightmare of trying to figure out why your code won't compile using examples from a book, or online examples, etc. It is different. VERY different. Even for simple stuff. When you're ready, switching over to Swift 2.0 will not be hard, and by that time, most of the online resources will be updated to follow that work flow. There is NOTHING in Swift 2.0 or XCode 7 that you need in order to start programming in Swift. Ray Wenderlich's website - http://www.raywenderlich.com/ - is a really good site dedicated to how to do stuff within iOS. Again, assumes some level of programming knowledge.Aaron Hillegass's site - Big Nerd Ranch - https://www.bignerdranch.com/ - is also a great resour
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Xcode 7 causing problems in Xcode 6?
I installed the first Xcode 7 beta, and installed the command line tools. Now, I'm getting test failures for tests that pass on my build server (on which I didn't install the beta), and compiler warnings I didn't used to get. I've tried deleting the build folder repeatedly, and I've trashed the beta, but it doesn't make a difference.What can I do to troubleshoot this and get it working again?
3
0
1.1k
Jun ’15
Input Method Kit does not handle NSKeyUp events. Chorded keyboards are thus impossible to implement.
I was very excited to find Input Method Kit. I was planning on creating software implementations of various specialized hardware keyboards.https://developer.apple.com/library/mac/documentation/Cocoa/Reference/InputMethodKitFrameworkRef/Unfortunately I have found that Input Method Kit does not catch NSEvents of type NSKeyUp.rdar://21376535This immediately disqualifies all chorded input methods. One cannot calculate chording without knowing when keys are pressed down and (importantly) when they go back up.https://en.wikipedia.org/wiki/Chorded_keyboardBecause Input Method Kit does not catch NSKeyUp events, I cannot calculate if keys are being pressed at the same time. Chording keyboard input methods will thus not work.Other OS X technologies such as CGEventTap or [NSEvent addLocalMonitorForEventsMatchingMask:] allow for monitoring key events of NSKeyUp, in addition to NSKeyDown or other types. Input Method Kit only allows monitoring of NSKeyDown.Additionally, returning `NSKeyUpMask` from IMKStateSetting
0
0
699
Jun ’15
Error trying to build watchOS 2 app in Xcode 7
Extension error:target specifies product type 'com.apple.product-type.watchkit2-extension', but there's no such product type for the 'iphonesimulator' platformMy watch app also has this error:Xcode/DerivedData/AnxietyTracker-aabqxayllohhlydulhldvvzxqkzv/Build/Products/Debug-watchsimulator/AnxietyTracker WatchKit Extension.appex: No such file or directoryAnyone have any suggestions or insight?
8
0
14k
Jun ’15
Reply to Will Xcode 7 exit beta before iOS 9 is released?
My crystal ball is in the shop, but if the past is any guide, there will be a GM release of Xcode 7 a week or two before the public release of iOS 9. Only then would app store submission be allowed using Xcode 7. This would allow you to have your iOS 9 compatible apps in the store by the public launch.So the answer is most likely not really - it may be slightly before, but not soon enough for your purposes.
Jun ’15
Server 5 upgrade issues
Server 5 is supposed to be OS Version independent. Guess not...Upgraded my 10.10.4 beta OS from the 4.x Server to the 5.x Server => no problemThen I upgraded 10.10.4 to 10.11 and now Server won't start anymore.First signs of trouble were that launching Server.app after the 10.11 upgrade resulted in setting up Server messages, rather than in updating/upgrading Server messages, or for that matter no messages at all, since after all, if Server 5 were OS independent, there wouldn't have anything that ought to be upgraded at all.So now, each time I launch Server, it tries to set up Server again, and each time it fails with an error at the end:Creating service principalsErrorDomain:XSActionErrorDomain Code:0***?!?!?Does anyone know what this means, and how it can be fixed?
2
0
991
Jun ’15
Cannot run on device with minimum deployment target error
Hi,I recently upgraded to Xcode Version 6.3.2 (6D2105). I have 2 devices:* iPad Mini 1st generation* iPad AirBoth devices are at iOS 8.1.3. After the Xcode update, I set the iOS Deployment Target to 8.0. I can now deploy and then run/debug fine on the iPad Mini. On the iPad Air, I can select the device in Xcode and build/install an app to it, however when I try to run/debug, I get the following error:DeviceXXX runs iOS 8.1.3, which is lower than AppNameXXX's minimum deployment target. Change your project's minimum deployment target or upgrade DeviceXXX's version of iOS.This doesn't make sense to me, as I set the deployment target to 8, and that allowed me to run fine on the iPad Mini. I'm wondering if there's some cached data in Xcode that needs to be cleared out, but I've tried restarting Xcode, the iPad Air, and the computer, and I'm still experiencing the same behavior. Any ideas? Thanks in advance.
0
0
815
Jun ’15