Search results for

Xcode

92,312 results found

Post

Replies

Boosts

Views

Activity

rdar://21364764 reproducible Swift crash during compilation
I had some code that compiled and its test passed under Xcode 6.3.2.I opened it with Xcode7b1 and let it convert it. The code still had a number of errors so I tried fixing them and got to a point where Swift crashes during compilation and I cannot proceed any farther.Steps to Reproduce:1. git clone https://github.com/dave256/DDRCoreDataKit2. git checkout xcode7b1radar3. open the project and build itExpected Results:Swift compiler should not crashActual Results:Swift compiler crashesIf you want to see what happens during the conversion process, you can do:git clone https://github.com/dave256/DDRCoreDataKitgit checkout swift1.2and then open it with Xcode 7.
0
0
203
Jun ’15
Reply to Download files
Unless you had some agreement where the developer owned the rights to the source code, I would think no, it is not common. You should have the full Xcode project including source code.Apple does not store anything except the generated binary so there's nowhere to download anything from except getting it from your developer.The App Store resources page has everything you need to know about marketing an app.
Jun ’15
Script to automatically upload ipa to Testflight from Xcode Server?
It use to be possible to write a script to automatically archive, sign and upload a build to testflight.My question is, with the new improvements to testflight announced in WWDC2015, is it now possible to write a script to automatically upload a build to testflight?It doesn't seem like it is, but I just wanted to confirm that before deploying a coninious integration and deployment system.Thank you
1
0
1.9k
Jun ’15
NSPersistentDocument initWithType Crashes Compiler
I have an existing document-based Core Data application that I converted to Swift 2 in Xcode 7. After converting the project, the compiler crashes every time I build the project. I narrowed the problem down to the convenience init method I override in my NSPersistentDocument subclass. If I comment out the init method, the project builds.But if I have the convenience init method in my code, the compiler crashes, even if the only thing the init method does is call self's init method.convenience init(type typeName: (String!)) { self.init() }What changes do I have to make to the convenience init method to prevent the Swift compiler from crashing when building the project?
3
0
526
Jun ’15
Test on iPhone 3GS with Xcode 6.
Hi,Is there a device/Xcode version compatibility list? I am trying to build and run an app on an iPhone 3GS to test compatibility with iOS 6 but Xcode 6 is not seeing the connected iPhone 3GS. Will I need to install Xcode 5 alongside the newer version to test on iPhone 3GS? Thank you.Also, I know that not many devices are running iOS 6 anymore so please do not say that I shouldn't support it; some users are still using that version more various reasons and iOS 6 is the earliest version supporting autolayout (which is the only requirement for my project).
4
0
898
Jun ’15
Reply to Troubleshooting the launch of local user XPC Launch Agent
wjens wrote:> I thought the XPC Service template within xcode was only for XPC Services hosted within a parent application - produces .xpc files. I'm pretty sure those don't work as standalone XPC services like you describe above.Thanks for your input.I thought that this might be the case as well. In a variant of my prior test code, not shown here, I tried it with an Launch Agent based on the .app AppKit template but this didn't really change the broken connection behaviour. Which leads me to believe it's some kind of configuration issue.Although, I haven't tried the code of the Launch Agent, as posted above, as an Mac App created with the .app AppKit Xcode template but with the GUI stuff stripped out or with the Command Line Tool template.I forgot to mention in my previous post that debugging print statements in the Launch Agent's main.m, like the fprintf() calls in the example code or NSLog() or asl_log() calls in my original test code, do not appear anywhere in the command line output
Jun ’15
compile error generated swift to objective-c header
I'm seeing two compile errors in the Objective-C header that Xcode generates for my swift class. I see this using Xcode 6.3.2 and 7.0 beta./Users/marc/Library/Developer/Xcode/DerivedData/VEO_iOS-agqlvygcyfcdvadpahyaxsamxmsp/Build/Intermediates/VEO_iPad.build/Debug-iphonesimulator/VEO_iPad.build/DerivedSources/VEO_iPad-swift.h:17:24: Typedef redefinition with different types ('uint_least16_t' (aka 'unsigned short') vs 'char16_t')/Users/marc/Library/Developer/Xcode/DerivedData/VEO_iOS-agqlvygcyfcdvadpahyaxsamxmsp/Build/Intermediates/VEO_iPad.build/Debug-iphonesimulator/VEO_iPad.build/DerivedSources/VEO_iPad-swift.h:18:24: Typedef redefinition with different types ('uint_least32_t' (aka 'unsigned int') vs 'char32_t')The problem is that uint_least16_t and uint_least32_t are defined in my generated *-Swift.h header and also in a file called __config.Any ideas?TIA,Marc
0
0
658
Jun ’15
Getting Started with Frameworks/APIs
I've read Apple's publications The Swift Programming Langauge and Using Swift with Cocoa and Objective-C.I have no clue where to start programming in Xcode. The books did a great job explaining the language but not implementing it as if creating an app.I open up Xcode and am clueless of where to begin programming.Also, I do not even know what frameworks/objects/APIs to use, where to find them, nor where to implement them.I feel as though I know the language but do not know how to use it in the context of building an app.Thanks for any suggestions in advance.
3
0
281
Jun ’15
Reply to Maze example not working
Just giving more info.The project Maze-iOS does run (after a reboot, don't know why). The OS X version does not. I haven't updated my OS to the beta 10.11. Could this be the problem or the sdk on xCode 7 should do the work?Tks.
Topic: Graphics & Games SubTopic: General Tags:
Jun ’15
Reply to Can I post source code (NDA)
I would like to know the answer to this as well. Actually I have a broader question. Are we allowed to publicly discuss prerelease APIs/software in general? It seems that last year Apple loosened its NDA, so that you could publicly talk about unreleased/still in beta APIs, so for example we started seeing tutorials/discussions/code samples for iOS 8-specific APIs show up on sites such as Ray Wenderlich, Stack Overflow, etc. months before iOS 8 actually shipped. The only restriction semeed to be that you could not post screenshots of prerelease software. Does this still hold true this year for iOS 9/WatchOS 2/El Capitan/Xcode 7?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15