Search results for

xcode github

91,999 results found

Post

Replies

Boosts

Views

Activity

Error running playground.
Hello,I'm getting an error when attempting to make a new iOS playground on Xcode 7 beta.The error is as follows:Error running playground.Unable to find suitable target device.I haven't found many similar cases to assume this is a bug in the beta. Has anyone else had this error or have had luck fixing it?
1
0
551
Jun ’15
Can't build and run watchOS 2
I can build, run and debug watchOS 1 apps absolutely fine. When I try and build/run watchOS 2, Xcode runs for a bit, beachballs after a while and then it eventually stops. I can usually get the app on by manually installing via the iOS Apple Watch app.No debugger or logs though..Has anyone figured out a workaround or is this just not possible in the current beta?Simulator builds are all ok but I'm experimenting with Core Motion so it only really works on device..Note.. I'm trying with a brand new project, no changes. I believe everything is correctly provisioned..
13
0
2.1k
Jun ’15
Reply to Trouble creating a bot?
Ok! So in my case, this server was used with a previous version of the Xcode Service and I had lingering legacy data after installing the new Server.app. I finally sucked it up and decided to have the Xcode Service wipe itself clean so I could start with a fresh configuration -- after doing so, I was able to get bots configured.The following command will irrevocably reset your entire Xcode Service data -- all existing configurations, repositories, existing bots, history, etc. will be removed and the service will start as though never configured:sudo xcrun xcscontrol --reset
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
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
190
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
518
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
879
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
643
Jun ’15